--- apiVersion: apps/v1 kind: Deployment metadata: name: usma-ui namespace: {{ .Release.Namespace }} labels: {{ include "usma-ui.labels" . | indent 4 }} app: usma-ui versoin: {{ .Values.tag }} spec: replicas: 1 selector: matchLabels: {{ include "usma-ui.matchLabels" . | indent 6 }} app: usma-ui version: {{ .Values.tag }} template: metadata: labels: {{ include "usma-ui.labels" . | indent 8 }} app: usma-ui version: {{ .Values.tag }} spec: volumes: - name: localtime hostPath: path: /etc/localtime containers: - name: usma-ui image: {{ .Values.global.hub }}/{{ .Values.image }}:{{ .Values.tag }} envFrom: - configMapRef: name: "usma" resources: {{- toYaml .Values.resources | nindent 12 }} imagePullPolicy: Always ports: - name: http containerPort: 80 livenessProbe: httpGet: path: /usma/ui port: 80 scheme: HTTP volumeMounts: - name: localtime mountPath: "/etc/localtime"