mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 10:18:39 +00:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user