Skip to content

Commit

Permalink
Merge pull request #97 from bcgov/add-django-superuser-secrets
Browse files Browse the repository at this point in the history
Add django superuser secrets
  • Loading branch information
Sepehr-Sobhani authored Jun 11, 2024
2 parents cf887ff + 2bd5c51 commit 725f50a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helm/cas-provision/templates/djangoSuperUser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if hasSuffix "-dev" .Release.Namespace }}
{{- if hasPrefix .Values.namespacePrefixes.obps .Release.Namespace}}
kind: Secret
apiVersion: v1
metadata:
name: django-superuser
labels: {{ include "cas-provision.labels" . | nindent 4 }}
type: Opaque
stringData:
username: {{ .Values.djangoSuperUser.obps.dev.username }}
password: {{ .Values.djangoSuperUser.obps.dev.password }}
{{- end }}
{{- end }}

0 comments on commit 725f50a

Please sign in to comment.