Enable use of GKEBackendConfig
This commit is contained in:
parent
7d5d20f615
commit
78d5fefd3c
1 changed files with 4 additions and 1 deletions
|
@ -1,11 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
{{- if .Values.server.service.annotations }}
|
||||
{{- if or .Values.server.GKEbackendConfig.enabled .Values.server.service.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.server.service.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.server.GKEbackendConfig.enabled }}
|
||||
cloud.google.com/backend-config: '{ "default": "{{ template "argo-cd.server.fullname" . }}" }'
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
name: {{ template "argo-cd.server.fullname" . }}
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue