Skip to content

Commit

Permalink
Add helm parameters for argocd application (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo authored Dec 3, 2024
1 parent a886194 commit ea15787
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dp-terraform/helm/rhacs-terraform/templates/fleetshard-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ spec:
value: {{ .Values.fleetshardSync.printCentralUpdateDiff | quote }}
- name: ARGOCD_NAMESPACE
value: {{ .Values.fleetshardSync.argoCdNamespace | quote }}
{{- if .Values.fleetshardSync.gitops.tenantDefaultAppSourceRepoUrl }}
- name: TENANT_DEFAULT_ARGOCD_APP_SOURCE_REPO_URL
value: {{ .Values.fleetshardSync.gitops.tenantDefaultAppSourceRepoUrl | quote }}
{{- end }}
{{- if .Values.fleetshardSync.gitops.tenantDefaultAppSourceTargetRevision }}
- name: TENANT_DEFAULT_ARGOCD_APP_SOURCE_TARGET_REVISION
value: {{ .Values.fleetshardSync.gitops.tenantDefaultAppSourceTargetRevision | quote }}
{{- end }}
{{- if .Values.fleetshardSync.gitops.tenantDefaultAppSourcePath }}
- name: TENANT_DEFAULT_ARGOCD_APP_SOURCE_PATH
value: {{ .Values.fleetshardSync.gitops.tenantDefaultAppSourcePath | quote }}
{{- end }}
volumeMounts:
- mountPath: /var/run/secrets/tokens
name: tokens
Expand Down
3 changes: 3 additions & 0 deletions dp-terraform/helm/rhacs-terraform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ fleetshardSync:
memory: "512Mi"
gitops:
enabled: false
tenantDefaultAppSourceRepoUrl: ""
tenantDefaultAppSourceTargetRevision: ""
tenantDefaultAppSourcePath: ""
targetedOperatorUpgrades:
enabled: false
affinity: {}
Expand Down

0 comments on commit ea15787

Please sign in to comment.