Add Volume
This commit is contained in:
@@ -15,6 +15,11 @@ spec:
|
||||
labels:
|
||||
app: oc-scheduler
|
||||
spec:
|
||||
volumes:
|
||||
- name: oc-pem
|
||||
secret:
|
||||
secretName: oc-peer-pem
|
||||
optional: true
|
||||
serviceAccountName: scheduler-sa
|
||||
{{- if or (eq .Values.env "prod") (eq .Values.env "staging") }}
|
||||
imagePullSecrets:
|
||||
@@ -23,6 +28,10 @@ spec:
|
||||
containers:
|
||||
- image: "{{ .Values.ocScheduler.image }}"
|
||||
name: oc-scheduler
|
||||
volumeMounts:
|
||||
- name: oc-pem
|
||||
mountPath: /app/pem
|
||||
readOnly: true
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: opencloud-config
|
||||
|
||||
Reference in New Issue
Block a user