Skip to content

Commit 3cb15f8

Browse files
committed
Increment GLAuth Helm chart version to 0.3.8 and update existingSecretName in values.yaml to an empty string. Adjust deployment and PVC templates to conditionally include storage based on backend type, ensuring proper template rendering and consistency across configurations.
1 parent 5b10bae commit 3cb15f8

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

charts/glauth/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.7
18+
version: 0.3.8
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/glauth/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
initialDelaySeconds: 5
3939
periodSeconds: 5
4040
volumeMounts:
41-
{{- if .Values.config.storage }}
41+
{{- if and .Values.config.storage (ne .Values.config.backend.type "config") }}
4242
- name: {{ .Chart.Name }}-data
4343
mountPath: /app/config
4444
{{- end}}
@@ -54,7 +54,7 @@ spec:
5454
initialDelaySeconds: 5
5555
periodSeconds: 5
5656
volumes:
57-
{{- if .Values.config.storage }}
57+
{{- if and .Values.config.storage (ne .Values.config.backend.type "config") }}
5858
- name: {{ .Chart.Name }}-data
5959
persistentVolumeClaim:
6060
claimName: {{ .Chart.Name }}-data

charts/glauth/templates/pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.config.storage }}
1+
{{- if and .Values.config.storage (ne .Values.config.backend.type "config") }}
22
{{- if not .Values.config.storage.existingClaim | default false }}
33
kind: PersistentVolumeClaim
44
apiVersion: v1

charts/glauth/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ config:
184184
# Actual secret name created by the PostgreSQL operator (if different from secretName)
185185
# Set this to the actual secret name if the operator creates a different name
186186
# Example: "postgres-user-glauth"
187-
existingSecretName:
187+
existingSecretName: ""
188188

189189
service:
190190
name: glauth

0 commit comments

Comments
 (0)