Skip to content

Commit

Permalink
fix: Secrets fullname and add CI test for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkwr committed Dec 27, 2023
1 parent 3bbf47e commit b3823ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ sources:
- https://github.com/Unleash/unleash
- https://github.com/Unleash/helm-charts
type: application
version: 3.1.1
version: 3.1.2
3 changes: 3 additions & 0 deletions charts/unleash/ci/unleash-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 4

secrets:
TEST_KEY: TEST_VALUE
2 changes: 1 addition & 1 deletion charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
- name: {{ $key }}
valueFrom:
secretKeyRef:
name: {{ include "unleash.fullname" . }}
name: {{ include "unleash.fullname" $ }}
key: {{ $key }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit b3823ab

Please sign in to comment.