Another templating issue
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
63a063e552
commit
1c897d727b
|
@ -3,9 +3,10 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.ingress.name }}
|
name: {{ .Values.ingress.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.ingress.annotations }}
|
{{- with .Values.ingress.annotations }}
|
||||||
annotations: {{ toYaml .Values.ingress.annotations | nindent 4 }}
|
annotations:
|
||||||
{{- end}}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: {{ .Values.ingress.className }}
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
{{- if .Values.ingress.tls }}
|
{{- if .Values.ingress.tls }}
|
||||||
|
|
|
@ -3,9 +3,10 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.service.name }}
|
name: {{ .Values.service.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.service.annotations }}
|
{{- with .Values.service.annotations }}
|
||||||
annotations: {{ toYaml .Values.service.annotations | nindent 4}}
|
annotations:
|
||||||
{{- end}}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: {{ .Values.name }}
|
app: {{ .Values.name }}
|
||||||
|
|
Loading…
Reference in New Issue