summaryrefslogtreecommitdiff
path: root/astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml')
-rw-r--r--astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml b/astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml
new file mode 100644
index 0000000..515e6d7
--- /dev/null
+++ b/astroshop-platform/argocd-helmchart/templates/argocd-server/gke/backendconfig.yaml
@@ -0,0 +1,13 @@
+{{- 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 }}