Commit Graph

23 Commits (58d5cc6e608a3a18f271a66e333f2105eb53b7e2)

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 019321a949
remove execute permissions 2021-03-01 11:16:06 -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
Erik Wilson e276402663
Update hardened images 2021-02-24 13:32:35 -07:00
Brian Downs b18a786a27 change hardenedflannel image version
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-10-05 11:26:33 -07:00
Brad Davidson 92a0565b52 Add command for flexvol-driver initcontainer
Related to https://github.com/rancher/rke2/issues/234

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-18 15:28:11 -07:00
Brian Downs 7c6b908bd6 update repository names to point to new hardened repositories
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-11 19:31:33 -07:00
Chris Kim 308e2ed97a Disable XDP in canal
Signed-off-by: Chris Kim <oats87g@gmail.com>
2020-08-26 16:20:52 -07:00
Chris Kim e4c89e5290 Add FELIX_IPTABLESBACKEND=auto
Signed-off-by: Chris Kim <oats87g@gmail.com>
2020-08-25 17:30:54 -07:00
Menna Elmasry 38b0316832
add private registry support for rke2-charts (#13)
* allow private registry

* add pull image from private registry

* delete old assets

* add newline at the end of _helpers.tpl files

* standardize image fields

* add system default registry to ingress-nginx
2020-08-21 20:56:13 +02:00
Menna Elmasry acd272dd7c
remove_spaces (#12)
* remove_spaces

* delete .tgz file
2020-08-19 20:26:49 +02:00
Menna Elmasry 53cbc86e9c
Enable prometheus metrics (#9)
* Enable prometheus metrics
2020-08-19 19:07:58 +02:00
Brian Downs 60a5b2d50c
Merge pull request #7 from briandowns/update_image_location
update image repository
2020-08-17 14:01:56 -07:00
Brian Downs e6f0b74393 pr comment remediation
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-08-17 12:20:49 -07:00
Brian Downs 938a98530e update image repository
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-08-17 12:14:21 -07:00
Jacob Blain Christen 74eb43e5ad canal: fix configmap reference
Fixes #4
2020-08-17 10:46:15 -07:00
Menna 4f6fb63640 add rke2 packages 2020-08-12 20:08:12 +02:00