Use secrets for osf and zenodo
This commit is contained in:
parent
dca54826c0
commit
479b5e7b64
|
@ -23,6 +23,17 @@ spec:
|
|||
- name: {{ .Chart.Name }}
|
||||
image: {{ template "layer1_port_openscienceframework.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: OAUTH_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: osf-client
|
||||
key: osf-client-id
|
||||
- name: OAUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: osf-client
|
||||
key: osf-client-secret
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: mservice
|
||||
|
|
|
@ -23,6 +23,17 @@ spec:
|
|||
- name: {{ .Chart.Name }}
|
||||
image: {{ template "layer1_port_zenodo.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: OAUTH_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: zenodo-client
|
||||
key: zenodo-client-id
|
||||
- name: OAUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: zenodo-client
|
||||
key: zenodo-client-secret
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: mservice
|
||||
|
|
Loading…
Reference in a new issue