File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ generate-capl-cluster-manifests: clusterctl
182182 yq -i e ' select(.kind == "HelmChartProxy" and .spec.chartName == "cilium").spec.valuesTemplate = load_str("tmp-cilium.yaml")' $(MANIFEST_NAME ) .yaml
183183 rm tmp-cilium.yaml
184184 yq e ' select(.kind == "HelmChartProxy" and .spec.chartName == "ccm-linode").spec.valuesTemplate' $(MANIFEST_NAME ) .yaml > tmp.yaml
185- IMG_TAG=$$ {IMG## *:} yq -i e '.image.tag = strenv(IMG_TAG) | .image.pullPolicy = "Always"' tmp.yaml
185+ IMG_TAG=$$ {IMG## *:} IMG_REPO=$${IMG%:*} yq -i e '.image.repository = strenv(IMG_REPO) | .image. tag = strenv(IMG_TAG) | .image.pullPolicy = "Always" | .env = ((.env // []) | map(select(.name != "LINODE_API_VERSION")) + [{"name": "LINODE_API_VERSION", "value": "v4beta"}]) ' tmp.yaml
186186 yq -i e ' select(.kind == "HelmChartProxy" and .spec.chartName == "ccm-linode").spec.valuesTemplate = load_str("tmp.yaml")' $(MANIFEST_NAME ) .yaml
187187 rm tmp.yaml
188188
You can’t perform that action at this time.
0 commit comments