github.com/rohankumardubey/draft-classic@v0.16.0/packs/rust/charts/templates/deployment.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: {{ template "fullname" . }}
     5    labels:
     6      chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
     7      draft: {{ default "draft-app" .Values.draft }}
     8  spec:
     9    replicas: {{ .Values.replicaCount }}
    10    template:
    11      metadata:
    12        labels:
    13          app: {{ template "fullname" . }}
    14          draft: {{ default "draft-app" .Values.draft }}
    15      spec:
    16        containers:
    17        - name: {{ .Chart.Name }}
    18          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
    19          imagePullPolicy: {{ .Values.image.pullPolicy }}
    20          ports:
    21          - containerPort: {{ .Values.service.internalPort }}
    22          resources:
    23  {{ toYaml .Values.resources | indent 12 }}