Skip to content

Commit

Permalink
chore: add django superuser secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Jun 11, 2024
1 parent cf887ff commit 8972291
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 hasPrefix .Values.namespacePrefixes.obps .Release.Namespace}}
kind: Secret
apiVersion: v1
metadata:
name: django-superuser
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 }}
{{- end }}

0 comments on commit 8972291

Please sign in to comment.