Added additional OAuth variable + refactored so that OAuth variables are now in template function
All checks were successful
Deploy the Helm Chart / build (push) Successful in 16s
All checks were successful
Deploy the Helm Chart / build (push) Successful in 16s
This commit is contained in:
parent
c181d7c4ea
commit
21cfbf79dc
4 changed files with 38 additions and 26 deletions
33
templates/_oauth.tpl
Normal file
33
templates/_oauth.tpl
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{{- define "oauth.envVars" -}}
|
||||
# OAuth Implementation Stuff
|
||||
- name: BASE_APP_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: base-app-url
|
||||
- name: APP_ABBRV
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: app-abbreviation
|
||||
- name: APP_NAME
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: app-name
|
||||
- name: SERVICE_NAME
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: service-name
|
||||
- name: DEV_PORT
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: dev-port
|
||||
- name: APP_REG_CONTACT_EMAIL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-oauth-credentials
|
||||
key: app-reg-contact-email
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue