chore(helm): enable nginx ingress annotations
This commit is contained in:
parent
8328739c27
commit
6f5d63b48d
2 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ metadata:
|
|||
name: {{ include "nginx-ingress.fullname" . }}
|
||||
labels:
|
||||
{{- include "nginx-ingress.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- with .Values.service.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")}}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ securityContext: {}
|
|||
# runAsUser: 1000
|
||||
|
||||
service:
|
||||
annotations: {}
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 80
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue