Skip to content

Commit e6fe8b5

Browse files
Handle trusted proxies properly:
When multiple cidrs are defined they need to be comma delimited. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent 9e4534c commit e6fe8b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capt/tasks/Taskfile-create.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tasks:
108108
LB_IP2:
109109
sh: yq eval '.tinkerbell.hookosVip' {{.STATE_FILE_FQ_PATH}}
110110
TRUSTED_PROXIES:
111-
sh: KUBECONFIG={{.KUBECONFIG}} kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}'
111+
sh: KUBECONFIG={{.KUBECONFIG}} kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}' | tr ' ' ','
112112
STACK_CHART_VERSION:
113113
sh: yq eval '.versions.chart' {{.STATE_FILE_FQ_PATH}}
114114
NAMESPACE:
@@ -124,8 +124,8 @@ tasks:
124124
- artifactsFileServer=http://{{.LB_IP2}}:7173
125125
ISO_VARS:
126126
- deployment.envs.smee.dhcpEnabled=false
127-
- optional.hookos.extension=both
128127
- deployment.envs.smee.isoUpstreamURL=http://{{.LB_IP2}}:7173/hook-latest-lts-x86_64-efi-initrd.iso
128+
- optional.hookos.extension=both
129129
EXTRA_VARS:
130130
sh: yq eval '.chart.extraVars | .[]' {{.STATE_FILE_FQ_PATH}} | xargs
131131
cmds:

0 commit comments

Comments
 (0)