apiVersion: apps/v1 kind: Deployment metadata: name: console spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: app: console template: metadata: labels: app: console spec: containers: - name: nginx image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" ports: - containerPort: 80 volumeMounts: - name: html mountPath: /usr/share/nginx/html/index.html subPath: index.html volumes: - name: html secret: secretName: console-html