Created
November 24, 2025 18:43
-
-
Save quiiver/913ab49cd6940dcfc5f63d28952f5292 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git i/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml w/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml | |
| index 8d59fcac..e232d7c7 100644 | |
| --- i/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml | |
| +++ w/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml | |
| @@ -190,7 +190,8 @@ spec: | |
| ignoreMissingValueFiles: true | |
| {{- end }} | |
| destination: | |
| - name: "{{ $tenant.globals.function }}-{{ $tenant.globals.risk_level }}-{{ ($tenant.globals).cluster_type | default "private" }}-{{ $realm }}-{{ $region }}" | |
| + # Enable environment level cluster type override | |
| + name: "{{ $tenant.globals.function }}-{{ $tenant.globals.risk_level }}-{{ "{{" }} dig "cluster_type" "{{ ($tenant.globals).cluster_type | default "private" }}" . {{ "}}" }}-{{ $realm }}-{{ $region }}" | |
| namespace: "{{ $tenant.globals.app_code }}-{{ "{{" }} .name {{ "}}" }}" | |
| info: | |
| {{- if $multiChart }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment