Skip to content

Commit

Permalink
Fix secret key name references in StatefulSet (#24)
Browse files Browse the repository at this point in the history
* Fix PostgreSQL password secret key name references

One instance already used the correct name (line 87) but the other three
were not.

* Fix autowizard JSON secret key name references

* Raise chart version to 1.1.2
  • Loading branch information
annismckenzie authored and monotek committed Jul 2, 2019
1 parent 06de667 commit 2ea57b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: zammad
version: 1.1.1
version: 1.1.2
appVersion: 3.0.0
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
Expand Down
14 changes: 7 additions & 7 deletions zammad/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: "POSTGRESQL_PASS"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-postgresql-pass"
name: "{{ template "zammad.fullname" . }}-postgresql-pass"
key: "postgresql-pass"
- name: "POSTGRESQL_DB"
value: "{{ .Values.envConfig.postgresql.db }}"
Expand All @@ -51,7 +51,7 @@ spec:
- name: "AUTOWIZARD_JSON"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-autowizard"
name: "{{ template "zammad.fullname" . }}-autowizard"
key: "autowizard"
{{ end }}
{{- range $key, $value := .Values.extraEnv }}
Expand Down Expand Up @@ -94,7 +94,7 @@ spec:
- name: "AUTOWIZARD_JSON"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-autowizard"
name: "{{ template "zammad.fullname" . }}-autowizard"
key: "autowizard"
{{ end }}
{{- range $key, $value := .Values.extraEnv }}
Expand Down Expand Up @@ -174,7 +174,7 @@ spec:
- name: "POSTGRESQL_PASS"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-postgresql-pass"
name: "{{ template "zammad.fullname" . }}-postgresql-pass"
key: "postgresql-pass"
- name: "POSTGRESQL_DB"
value: "{{ .Values.envConfig.postgresql.db }}"
Expand All @@ -184,7 +184,7 @@ spec:
- name: "AUTOWIZARD_JSON"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-autowizard"
name: "{{ template "zammad.fullname" . }}-autowizard"
key: "autowizard"
{{ end }}
{{- range $key, $value := .Values.extraEnv }}
Expand Down Expand Up @@ -218,7 +218,7 @@ spec:
- name: "POSTGRESQL_PASS"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-postgresql-pass"
name: "{{ template "zammad.fullname" . }}-postgresql-pass"
key: "postgresql-pass"
- name: "POSTGRESQL_DB"
value: "{{ .Values.envConfig.postgresql.db }}"
Expand All @@ -228,7 +228,7 @@ spec:
- name: "AUTOWIZARD_JSON"
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-autowizard"
name: "{{ template "zammad.fullname" . }}-autowizard"
key: "autowizard"
{{ end }}
{{- range $key, $value := .Values.extraEnv }}
Expand Down

0 comments on commit 2ea57b4

Please sign in to comment.