blob: 0539cfb401d941714438dd46633b5537d0252581 (
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
33
34
|
---
apiVersion: v1
kind: ConfigMap
metadata:
name: dummy
data:
key1: value1
---
{{ if .Values.goingEmpty }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: dummy
spec:
template:
metadata:
labels:
app: dummy
spec:
container:
- name: dummy
image: dummy
{{ end }}
---
apiVersion: v1
kind: Service
metadata:
name: dummy
spec:
ports:
- port: 80
protocol: TCP
selector:
app: dummy
|