Generate config for portal
This commit is contained in:
parent
70c3f1537b
commit
32afc32ebb
|
@ -17,11 +17,36 @@ spec:
|
||||||
creationTimestamp:
|
creationTimestamp:
|
||||||
labels:
|
labels:
|
||||||
app: portal-node
|
app: portal-node
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- metadata:
|
||||||
|
name: init-config
|
||||||
|
spec:
|
||||||
|
storageClassName: csi-sc-cinderplugin
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: portal
|
- name: portal
|
||||||
image: docker.sunet.se/drive/portal:0.1.0-2
|
image: docker.sunet.se/drive/portal:0.1.0-3
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
volumeMounts:
|
||||||
|
- name: config-volume
|
||||||
|
mountPath: /config
|
||||||
|
subPath: config
|
||||||
resources: {}
|
resources: {}
|
||||||
|
initContainers:
|
||||||
|
- image: docker.sunet.se/drive/portal:0.1.0-3
|
||||||
|
name: init-config
|
||||||
|
volumeMounts:
|
||||||
|
- name: config-volume
|
||||||
|
mountPath: /config
|
||||||
|
subPath: config
|
||||||
|
env:
|
||||||
|
- name: DRIVE_DOMAIN
|
||||||
|
value: "https://drive.test.sunet.se"
|
||||||
|
command: ["/bin/bash", "-c", "/app/metadata.py > /config/config.yaml"]
|
||||||
strategy: {}
|
strategy: {}
|
||||||
status: {}
|
status: {}
|
||||||
|
|
Loading…
Reference in a new issue