Skip to content

Commit

Permalink
Potential fix for issue Unleash/unleash#9111
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrambindal authored Jan 17, 2025
1 parent e1ae6b0 commit b186f86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 5 additions & 3 deletions charts/unleash-edge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,18 @@ spec:
- name: RUST_LOG
value: "{{ .Values.edge.logLevel }}"
{{- end }}
{{- if .Values.existingSecrets }}
{{- toYaml .Values.existingSecrets | nindent 12 }}
{{- end }}
{{- if .Values.edge.logFormat }}
- name: LOG_FORMAT
value: "{{ .Values.edge.logFormat }}"
{{- end }}
{{- if .Values.env }}
{{- toYaml .Values.env | nindent 12 }}
{{- end }}
{{- if not (quote .Values.existingSecrets | empty) }}
envFrom:
- secretRef:
name: {{ .Values.existingSecrets }}
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down
6 changes: 1 addition & 5 deletions charts/unleash-edge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,7 @@ extraObjects: []
# adds environmentvars for existing secrets to the container via tpl function
existingSecrets:
""
# - name: TOKENS
# valueFrom:
# secretKeyRef:
# name: secretname
# key: secretkey
# Name of the secret containing key value pairs

edge:
upstreamUrl: "http://unleash.unleash:4242"
Expand Down

0 comments on commit b186f86

Please sign in to comment.