Commit Graph

8 Commits (02ea411afdcf46c35ce45d923c18a78327a4046b)

Author SHA1 Message Date
Manuel Buil 81102df041 Upgrade flannel and calico images
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-14 12:13:25 +02:00
Jacob Blain Christen 80271b67d4
rke2-canal: fix use of coalesce (#85)
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-12 17:28:42 -07:00
Jacob Blain Christen 98bae75a63
rke2-canal: fix for templated config (#84)
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>
2021-05-12 17:02:02 -07:00
Brad Davidson 68f04dcf40 Honor .Values.global.clusterCIDR in rke2-canal
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-12 14:11:03 -07:00
Jonas Falck 22324fa3fc Add ability to configure calico failsafe ports
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
2021-04-28 17:14:54 -07:00
Brad Davidson 491707bbeb Update flexvol path
Update flex volume plugin dir to match new RKE2 default; make it a Value
so that it can be changed by users to match the kubelet setting if
necessary.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-03-10 11:18:48 -08:00
Arvind Iyengar d4bda1833c
Bump all packageVersions and introduce comment
Why do we need to bump all the packageVersions?

The new charts-build-scripts treat Chart.yaml and requirements.yaml as "managed files", which means that the scripts themselves can make changes to those files.

When the scripts touch those files (e.g. to add a new dependency based on the contents of generated-changes/dependencies or to patch a rcVersion or packageVersion to the chart), dumping back out the YAML results in slight changes due to the unmarshalling process, such as the re-ordering of annotations.

Since these minor changes comprise a change introduced by Rancher and the scripts refuse changes that modify already released packages, the simple fix for this is just to universally bump the packageVersion as part of the migration process.

As part of creating this PR, I generated these minor changes in https://github.com/aiyengar2/charts-diff/tree/rke2-charts/diff so that we can sign off that these are indeed inconsequential to the migration. For context, the process used to generate these files was:
- Pull in the current branch. Run make charts with the old scripts
- Pull in the migration branch. Run make charts with the new scripts
- Dump the diff between them in a patch file

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 18:45:59 -08:00
Arvind Iyengar 36569143f0
Migrate all packages
Just needed to run:
```bash
REPOSITORY=https://github.com/rancher/rke2-charts BRANCH=main-source ./scripts/regenerate-packages
```

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:35:31 -08:00