Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Potential fix for issue https://github.com/Unleash/unleash/issues/9111 #180

Merged
merged 4 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions charts/unleash-edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 2.7.4

version: 3.0.0
appVersion: "v19.6.1"

maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/unleash-edge/ci/unleash-edge-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ autoscaling:
ingress:
enabled: true

existingSecrets: ""

edge:
upstreamUrl: "http://unleash:4242"

Expand Down
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 .Values.existingSecrets }}
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
Loading