Skip to content

Commit

Permalink
Merge pull request #121 from qpoint-io/marc-barry/environment-variabl…
Browse files Browse the repository at this point in the history
…es-from-secrets

Support extra environment variables from secrets and move to Qpoint v0.4.7
  • Loading branch information
marc-barry authored Oct 22, 2024
2 parents 7af8da8 + 56aa798 commit 371c5ab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/qpoint-tap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.9
version: 0.0.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.4.5"
appVersion: "v0.4.7"
5 changes: 5 additions & 0 deletions charts/qpoint-tap/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ spec:
{{- if .Values.extraEnv }}
{{- range .Values.extraEnv }}
- name: {{ .name }}
{{- if .value }}
value: {{ .value | quote }}
{{- else if .valueFrom }}
valueFrom:
{{- toYaml .valueFrom | nindent 16 }}
{{- end }}
{{- end }}
{{- end }}
ports:
Expand Down
7 changes: 7 additions & 0 deletions charts/qpoint-tap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,10 @@ config: ""
# extraEnv:
# - name: BPF_TRACE
# value: "mod:openssl,mod:protocol,exe.contains:curl"
# - name: SOME_ENV_VAR
# valueFrom:
# secretKeyRef:
# name: some-secret
# key: some-key
# - name: TLS_PROBES
# value: "openssl"

0 comments on commit 371c5ab

Please sign in to comment.