release-argus / helm Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
deployment.yaml
does not include a reference to the values.yaml
key extraSecretEnvironmentVars
The workaround I did was:
{{- if or (.Values.argus.extraEnvironmentVars) (.Values.argus.extraSecretEnvironmentVars) }}
env:
{{- if .Values.argus.extraEnvironmentVars }}
{{ toYaml .Values.argus.extraEnvironmentVars | nindent 12 }}
{{- end }}
{{- if .Values.argus.extraSecretEnvironmentVars }}
{{ toYaml .Values.argus.extraSecretEnvironmentVars | nindent 12 }}
{{- end }}
{{- end }}
If this is an acceptable solution, I can submit an MR.
Thanks,
Hello,
I am trying to use a k8s secret into an env variable that argus will use in the config. It does not appear to be working.
I setup a secret:
apiVersion: v1
kind: Secret
metadata:
name: argus-secrets
type: Opaque
data:
GITHUB_API_KEY: $GITHUB_API_KEY
Passed in the Secret to the values file:
# List of Secrets to use as env var
extraSecretEnvironmentVars:
- name: GITHUB_API_KEY
valueFrom:
secretKeyRef:
name: argus-secrets
key: GITHUB_API_KEY
Setup the config to use the environment variable:
config: |
service:
app[argus]:
latest_version:
type: github
access_token: $GITHUB_API_KEY
url: release-argus/argus
deployed_version:
url: http://localhost:8080/api/v1/version
json: version
dashboard:
icon: https://github.com/release-argus/Argus/raw/master/web/ui/static/favicon.svg
web_url: https://github.com/release-argus/Argus/blob/master/CHANGELOG.md
The secret is in the container:
GITHUB_API_KEY=REDACTED
The logs say I have an invalid token:
ERROR: app[argus], github access token is invalid
ERROR: app[argus], tag_name not found at release-argus/argus
When I put the API key in the values file directly, it works, but that is not something I will do.
Does Argus config process env variables or do I have something setup wrong?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.