Skip to content

Commit

Permalink
trifid: add extra env
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Aug 16, 2023
1 parent d7ae9f0 commit 3e12235
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions appuio/trifid/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
secretKeyRef:
name: {{ if $endpoint.secretName }}{{ $endpoint.secretName }}{{ else }}{{ include "trifid.fullname" . }}{{ end }}
key: password
{{- range $key, $value := .Values.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
9 changes: 7 additions & 2 deletions appuio/trifid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ podSecurityContext:
securityContext:
capabilities:
drop:
- ALL
- ALL
runAsNonRoot: true
runAsUser: 1000
readOnlyRootFilesystem: true
Expand All @@ -46,7 +46,8 @@ service:

ingress:
enabled: false
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand All @@ -68,3 +69,7 @@ resources:
nodeSelector: {}

tolerations: []

extraEnv:
{}
# VARIABLE_NAME: value

0 comments on commit 3e12235

Please sign in to comment.