aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files/mock_charts/mockv3/templates/deployment.yaml
blob: b901e337af684a2da742a472a998f46fdaee0a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion: apps/v1
kind: Deployment
metadata:
  name: dummy
  labels:
    dummy: yes
spec:
  replicas: {{ .Values.replicaCount }}
  selector:
    matchLabels:
      dummy: yes
  template:
    metadata:
      labels:
        dummy: yes
    spec:
      containers:
        - name: {{ .Chart.Name }}
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          ports:
            - name: http
              containerPort: 80
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /
              port: http
          readinessProbe:
            httpGet:
              path: /
              port: http