Skip to content

Commit

Permalink
Manually set cluster name for migrated clusters (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Starefossen authored Jan 16, 2025
1 parent 3a320a4 commit 63d63dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions charts/unleasherator/Feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ environmentKinds:
values:
controllerManager.manager.env.apiTokenNameSuffix:
computed:
template: '"{{ .Env.name }}"'
template: |
{{ if and (eq .Tenant.Name "nav") (eq .Env.name "dev") }}dev-gcp{{ else if and (eq .Tenant.Name "nav") (eq .Env.name "prod") }}prod-gcp{{ else }}{{ .Env.name }}{{ end }}
config:
type: string
# Federation
controllerManager.manager.env.clusterName:
computed:
template: '"{{ .Env.name }}"'
template: |
{{ if and (eq .Tenant.Name "nav") (eq .Env.name "dev") }}dev-gcp{{ else if and (eq .Tenant.Name "nav") (eq .Env.name "prod") }}prod-gcp{{ else }}{{ .Env.name }}{{ end }}
config:
type: string
controllerManager.manager.env.federationPubsubGcpProjectId:
Expand Down

0 comments on commit 63d63dc

Please sign in to comment.