apiVersion: apps/v1 kind: Deployment metadata: {{- include "common.resourceMetadata" . | nindent 2 }} spec: replicas: {{ .Values.replicaCount }} selector: {{- include "common.selectors" . | nindent 4 }} template: metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: containers: - name: {{ include "common.containername" . }} image: "{{ .Values.image.repository }}/{{ .Values.image.name}}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} tty: true stdin: true envFrom: - configMapRef: name: {{ include "common.name" . }}-configmapenv volumeMounts: - name: oru-app-config-volume subPath: o-ru-to-o-du-map.txt mountPath: /usr/src/app/o-ru-to-o-du-map.txt securityContext: capabilities: add: - SYS_ADMIN - SYS_PTRACE volumes: - name: oru-app-config-volume configMap: name: {{ include "common.name" . }} items: - key: o-ru-to-o-du-map.txt path: o-ru-to-o-du-map.txt