File tree 1 file changed +71
-0
lines changed
charts/cluster-api-runtime-extensions-nutanix/templates
1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : cert-manager.io/v1
2
+ kind : Issuer
3
+ metadata :
4
+ name : mindthegap-selfsigned
5
+ namespace : {{ .Release.Namespace }}
6
+ spec :
7
+ selfSigned : {}
8
+ ---
9
+ apiVersion : cert-manager.io/v1
10
+ kind : Certificate
11
+ metadata :
12
+ name : mindthegap-example-tls
13
+ namespace : {{ .Release.Namespace }}
14
+ spec :
15
+ dnsNames :
16
+ - mindthegap.default.svc
17
+ - mindthegap.default.svc.cluster.local
18
+ issuerRef :
19
+ name : mindthegap-selfsigned
20
+ kind : Issuer
21
+ secretName : mindthegap-tls
22
+ ---
23
+ apiVersion : apps/v1
24
+ kind : Deployment
25
+ metadata :
26
+ name : mindthegap
27
+ namespace : {{ .Release.Namespace }}
28
+ labels :
29
+ app : mindthegap
30
+ spec :
31
+ replicas : 1
32
+ strategy :
33
+ type : Recreate
34
+ selector :
35
+ matchLabels :
36
+ app : mindthegap # deployment will track pods it generates because of this
37
+ template :
38
+ metadata :
39
+ labels :
40
+ app : mindthegap # pods have this label, and Service and Deployment depend on it
41
+ spec :
42
+ containers :
43
+ - name : mindthegap
44
+ ports :
45
+ - name : serve
46
+ protocol : TCP
47
+ containerPort : 5000
48
+ image : " {{ .Values.mindthegapImage.repository }}:{{ .Values.mindthegapImage.tag | default $.Chart.AppVersion }}"
49
+ imagePullPolicy : " {{ .Values.image.pullPolicy }}"
50
+ volumeMounts :
51
+ - name : certs-vol
52
+ mountPath : " /certs"
53
+ readOnly : true
54
+ env :
55
+ volumes :
56
+ - name : certs-vol
57
+ secret :
58
+ secretName : mindthegap-tls
59
+ ---
60
+ apiVersion : v1
61
+ kind : Service
62
+ metadata :
63
+ name : mindthegap
64
+ namespace : {{ .Release.Namespace }}
65
+ spec :
66
+ selector :
67
+ app : mindthegap
68
+ ports :
69
+ - port : 80
70
+ targetPort : 5000
71
+ type : NodePort
You can’t perform that action at this time.
0 commit comments