apiVersion: apps/v1 kind: Deployment metadata: name: cms spec: replicas: 1 selector: matchLabels: app: cms template: metadata: labels: app: cms spec: containers: - name: cms image: regis/openedx:hawthorn env: - name: SERVICE_VARIANT value: cms ports: - containerPort: 8000 volumeMounts: - mountPath: /openedx/edx-platform/lms/envs/tutor/ name: settings-lms - mountPath: /openedx/edx-platform/cms/envs/tutor/ name: settings-cms - mountPath: /openedx/config name: config - mountPath: /openedx/scripts name: scripts - mountPath: /openedx/data name: data #imagePullPolicy: Always volumes: - name: settings-lms configMap: name: openedx-settings-lms - name: settings-cms configMap: name: openedx-settings-cms - name: config configMap: name: openedx-config - name: scripts configMap: name: openedx-scripts - name: data persistentVolumeClaim: claimName: cms-data