Skip to content

Commit

Permalink
chore: move the condition dev namespace to line 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Jun 11, 2024
1 parent 3bbb398 commit f5d69a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/cas-provision/templates/djangoSuperUser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if hasSuffix "-dev" .Release.Namespace }}
{{- if hasPrefix .Values.namespacePrefixes.obps .Release.Namespace}}
kind: Secret
apiVersion: v1
Expand All @@ -6,7 +7,6 @@ metadata:
labels: {{ include "cas-provision.labels" . | nindent 4 }}
type: Opaque
stringData:
{{- if hasSuffix "-dev" .Release.Namespace }}
username: {{ .Values.djangoSuperUser.obps.dev.username }}
password: {{ .Values.djangoSuperUser.obps.dev.password }}
{{- end }}
Expand Down

0 comments on commit f5d69a9

Please sign in to comment.