github.com/rohankumardubey/draft-classic@v0.16.0/pkg/draft/pack/testdata/pack-python/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  spec:
     8    replicas: {{ .Values.replicaCount }}
     9    template:
    10      metadata:
    11        labels:
    12          app: {{ template "fullname" . }}
    13      spec:
    14        containers:
    15        - name: {{ .Chart.Name }}
    16          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
    17          imagePullPolicy: {{ .Values.image.pullPolicy }}
    18          ports:
    19          - containerPort: {{ .Values.service.internalPort }}
    20          livenessProbe:
    21            httpGet:
    22              path: /
    23              port: {{ .Values.service.internalPort }}
    24          readinessProbe:
    25            httpGet:
    26              path: /
    27              port: {{ .Values.service.internalPort }}
    28          resources:
    29  {{ toYaml .Values.resources | indent 12 }}