Can we override the template deployment like this?

This commit is contained in:
Richard Freitag 2024-02-02 00:48:18 +00:00
parent 6a22d539fc
commit 428b5eaf7f
No known key found for this signature in database
GPG key ID: A218E45D3E3BE243

View file

@ -37,6 +37,22 @@ global:
SUPPORT_EMAIL: drive@sunet.se
MANUAL_URL: www.sunet.se/services/molnbaserade-tjanster/sunet-drive
storageClass: csi-sc-cinderplugin
layer1-port-openscienceframework:
spec:
template:
spec:
containers:
env:
- name: OPENSCIENCEFRAMEWORK_OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
name: osf-client
key: osf-client-id
- name: OPENSCIENCEFRAMEWORK_OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: osf-client
key: osf-client-secret
layer0-describo:
postgresql:
postgresqlDatabase: describo
@ -81,17 +97,6 @@ layer1-port-openscienceframework:
environment:
ADDRESS: https://test.accounts.test.osf.io
API_ADDRESS: https://api.test.osf.io/v2
env:
- name: OPENSCIENCEFRAMEWORK_OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
name: osf-client
key: osf-client-id
- name: OPENSCIENCEFRAMEWORK_OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: osf-client
key: osf-client-secret
layer2-metadata-service: {}
layer3-research-manager: {}
layer3-token-storage: {}