github.com/rohankumardubey/draft-classic@v0.16.0/pkg/draft/testdata/good/chart/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 }}"
     7  spec:
     8    replicas: {{ .Values.replicaCount }}
     9    strategy:
    10      type: Recreate
    11    template:
    12      metadata:
    13        labels:
    14          app: {{ template "fullname" . }}
    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: 80
    22            hostPort: 44144
    23          livenessProbe:
    24            httpGet:
    25              path: /
    26              port: 80
    27          readinessProbe:
    28            httpGet:
    29              path: /
    30              port: 80