[extra] ingress: rm spaces from external ip list (#1652)
## What this PR does Remove spaces while processing exposed-external-ips list in cozystack configmap as they 1) are user-specified and 2) lead to an incorrect resource being created from it. ### Release note ```release-note Remove spaces while processing exposed-external-ips list in cozystack configmap ```
This commit is contained in:
commit
cbc6cd2567
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{- $cozyConfig := lookup "v1" "ConfigMap" "cozy-system" "cozystack" }}
|
||||
{{- $exposeIngress := index $cozyConfig.data "expose-ingress" | default "tenant-root" }}
|
||||
{{- $exposeExternalIPs := (index $cozyConfig.data "expose-external-ips") | default "" }}
|
||||
{{- $exposeExternalIPs := (index $cozyConfig.data "expose-external-ips") | default "" | nospace }}
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue