feat: add BackendConfig configuration for GKE (#314)
* add BackendConfig configuration * update chart version * modify sample secretName
This commit is contained in:
parent
6c32fbac27
commit
c2d9c81258
4 changed files with 28 additions and 1 deletions
15
charts/argo-cd/templates/argocd-server/backendconfig.yaml
Normal file
15
charts/argo-cd/templates/argocd-server/backendconfig.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{- if .Values.server.GKEbackendConfig.enabled }}
|
||||
apiVersion: cloud.google.com/v1beta1
|
||||
kind: BackendConfig
|
||||
metadata:
|
||||
name: {{ template "argo-cd.server.fullname" . }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/part-of: argocd
|
||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||
spec:
|
||||
{{- toYaml .Values.server.GKEbackendConfig.spec | nindent 2 }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue