Open lukasmrtvy opened 7 months ago
Would be great to support env vars in Pyrra, for example:
apiVersion: apps/v1 kind: Deployment metadata: name: pyrra-api namespace: monitoring spec: template: spec: containers: - name: pyrra env: - name: PASSWORD valueFrom: secretKeyRef: name: secrets key: password args: - api - --log-level=info - --prometheus-url=http://mimir-gateway.mimir:80/prometheus - --prometheus-basic-auth-password=$PASSWORD - --prometheus-basic-auth-username=mimir - --api-url=http://pyrra-kubernetes:9444
We could implement something like that, however, just like Prometheus, I'm in favour to use files containing passwords. Do you think using files would work too?
Would be great to support env vars in Pyrra, for example: