Seeing this error at runtime:
```
Error: parse error at (rke2-canal/templates/config.yaml:63): function "Values" not defined
```
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
Made FailsafeOutboundHostPorts and FailsafeInboundHostPorts configurable
to allow users to have custom network policy for example SSH (22)
Previously failsafe rules would always have opened 22 even if user had
custom GlobalNetworkPolicy applied on the node.
Fixes https://github.com/rancher/rke2/issues/921
* Update coredns and kube-proxy charts to use passthrough values
* bump kube-proxy versions back to v1.21.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This reverts commit 4ecd0f7203.
Context:
The purpose behind introducing the previous two change was to run a `make sync`, which tries to pull in new charts *only* from the source branch. This step would fail if the packageVersion was not modified.
This worked, as seen below:
```bash
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ make sync
./bin/charts-build-scripts sync
INFO[0000] Synchronizing with charts that will be generated from migrate-source
... (omitted for brevity) ...
INFO[0002] Found the following latest release candidate versions: {
"rke2-canal/v3.13.300-build2021022301": "rke2-canal/v3.13.300-build2021022301-rc00",
"rke2-coredns/1.10.101-build2021022302": "rke2-coredns/1.10.101-build2021022302-rc00",
"rke2-ingress-nginx/3.3.001": "rke2-ingress-nginx/3.3.001-rc00",
"rke2-kube-proxy/v1.19.801": "rke2-kube-proxy/v1.19.801-rc00",
"rke2-metrics-server/2.11.100-build2021022301": "rke2-metrics-server/2.11.100-build2021022301-rc00"
}
... (omitted for brevity) ...
INFO[0003] Sync was successful!
INFO[0003] Successfully synchronized with migrate-source!
INFO[0003] Creating or updating the Helm index with the newly added assets...
INFO[0003] Your working directory is ready for a commit.
```
This seems to be an issue with the regenerate-assets script, most likely introduced due to the weird naming scheme for this chart which was allowed in the old build scripts.
The new build scripts expects the chart version to always end with the packageVersion, e.g. this should be `rke2-canal-v3.13.3-build2021022300`, but since this is already released I'm not going to tamper with it.
Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>