github.com/rohankumardubey/draft-classic@v0.16.0/packs/javascript/charts/templates/deployment.yaml (about) 1 apiVersion: extensions/v1beta1 2 kind: Deployment 3 metadata: 4 name: {{ template "fullname" . }} 5 labels: 6 draft: {{ default "draft-app" .Values.draft }} 7 chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" 8 spec: 9 replicas: {{ .Values.replicaCount }} 10 template: 11 metadata: 12 annotations: 13 buildID: {{ .Values.buildID }} 14 labels: 15 draft: {{ default "draft-app" .Values.draft }} 16 app: {{ template "fullname" . }} 17 spec: 18 containers: 19 - name: {{ .Chart.Name }} 20 image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" 21 imagePullPolicy: {{ .Values.image.pullPolicy }} 22 ports: 23 - containerPort: {{ .Values.service.internalPort }} 24 resources: 25 {{ toYaml .Values.resources | indent 12 }}