github.com/replicatedcom/ship@v0.50.0/integration/init/git-root-directory/expected/.ship/upstream/templates/deployment.yaml (about)

     1  apiVersion: apps/v1beta2
     2  kind: Deployment
     3  metadata:
     4    name: deployment
     5    labels:
     6      app: my-app
     7      chart: {{ .Chart.Name }}
     8      release: {{ .Release.Name }}
     9      heritage: {{ .Release.Service }}
    10  spec:
    11    replicas: {{ .Values.replicaCount }}
    12    selector:
    13      matchLabels:
    14        app: my-app
    15        release: {{ .Release.Name }}
    16    template:
    17      metadata:
    18        labels:
    19          app: my-app
    20          release: {{ .Release.Name }}
    21      spec:
    22        containers:
    23          - name: {{ .Chart.Name }}
    24            image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
    25            imagePullPolicy: Always
    26            ports:
    27              - name: http
    28                containerPort: 80
    29                protocol: TCP
    30            livenessProbe:
    31              httpGet:
    32                path: /
    33                port: http
    34            readinessProbe:
    35              httpGet:
    36                path: /
    37                port: http