14 lines
540 B
YAML
14 lines
540 B
YAML
|
{{- if and .Values.server.ingress.enabled (eq .Values.server.ingress.controller "gke") .Values.server.ingress.gke.backendConfig }}
|
||
|
apiVersion: cloud.google.com/v1
|
||
|
kind: BackendConfig
|
||
|
metadata:
|
||
|
name: {{ include "argo-cd.server.fullname" . }}
|
||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||
|
labels:
|
||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||
|
{{- with .Values.server.ingress.gke.backendConfig }}
|
||
|
spec:
|
||
|
{{- toYaml . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|