Commit Graph

314 Commits (1bf8db05be0cfea7882284880a84d6f514b6910b)

Author SHA1 Message Date
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
Brad Davidson 83ceb61b60 Update kube-proxy chart to v1.20.4-build20210302
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-03-02 12:21:57 -08:00
Jacob Blain Christen bf713e8df1
Merge pull request #52 from aiyengar2/migrate-source
[Source] Migrate to charts-build-scripts
2021-03-01 17:26:22 -07:00
Arvind Iyengar 019321a949
remove execute permissions 2021-03-01 11:16:06 -08:00
Arvind Iyengar 2ffa6c04f9
Revert "Temporarily point to fork"
This reverts commit 7b92af17fd.

Context:

The purpose behind introducing the previous change was to run a `make validate`, which checks if the `make prepare`, `make charts`, and `make sync` workflows worked as expected against the fork we plan to migrate to. This worked, as seen below:
```bash
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ make validate
./bin/charts-build-scripts validate
INFO[0000] Validating against released charts in migrate-live
... (omitted for brevity) ...
INFO[0002] Successfully validated against migrate-live!
```
2021-02-25 18:48:36 -08:00
Arvind Iyengar 7b92af17fd
Temporarily point to fork 2021-02-25 18:45:59 -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
Arvind Iyengar 4b27993510
Fixup bug with regenerate-packages
Will be tracked in https://github.com/rancher/charts-build-scripts/pull/19

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:35:30 -08:00
Arvind Iyengar 0c64e73122
make docs
Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:35:30 -08:00
Arvind Iyengar 5fa88363c2
Update workflows and configuration.yaml
Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:35:30 -08:00
Arvind Iyengar cb07ef8e36
Initialize basic template
```bash
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ curl -s https://raw.githubusercontent.com/aiyengar2/charts-build-scripts/add_init_steps/init.sh > /dev/null | sh
Pulling in charts-build-scripts version v0.0.4
charts-build-scripts version v0.0.4 (567c991)
INFO[0000] Pulling rancher/charts-build-scripts[path=templates] from upstream into templates299650162
INFO[0002] Successfully pulled new updated docs into working directory.
Pulled in basic template for source into configuration.yaml and constructed charts directory
Next Steps:
1. Modify the configuration.yaml with your expected setup and re-run make docs to automatically update the repository.
2. Modify .github/workflows/pull-request.md and .github/workflows/push.md to set up automatic pushes to another branch.
```

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:19:38 -08:00
Arvind Iyengar 64317edb58
Drop old workflows, scripts, makefile, and readme
Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 16:12:30 -08:00
Erik Wilson f1dc481c57
Merge pull request #50 from rancher/update-nginx
Upgrade ingress-nginx to 0.35
2021-02-24 14:41:46 -07:00
Erik Wilson 0b3b7e9de7
Merge pull request #49 from rancher/image-updates
Update hardened images
2021-02-24 14:41:29 -07:00
Erik Wilson 4602ead17c
Upgrade ingress-nginx to 0.35 2021-02-24 13:49:07 -07:00
Erik Wilson e276402663
Update hardened images 2021-02-24 13:32:35 -07:00
Erik Wilson f6772641d1
Update kube-proxy chart to v1.18.16 (#47) 2021-02-19 10:03:31 -07:00
Erik Wilson ace82859b2
Merge pull request #48 from rancher/kube-proxy-v1.19.8
Update kube-proxy chart to v1.19.8
2021-02-19 09:11:10 -07:00
Erik Wilson 27cdcaa16a
Update kube-proxy chart to v1.19.8 2021-02-19 03:33:04 -07:00
Erik Wilson b40561ff50
Merge pull request #45 from erikwilson/main-source
Remove kube-proxy default featureGates
2021-01-25 16:00:51 -07:00
Erik Wilson 1acfb1d290
Remove kube-proxy default featureGates 2021-01-25 15:32:23 -07:00
Erik Wilson 768a019a97
Merge pull request #44 from erikwilson/main-source
Update kube-proxy chart to v1.20.2
2021-01-22 14:48:08 -07:00
Brad Davidson 07e578cebd Fix metricsBindAddress variable typo
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-22 13:35:19 -08:00
Erik Wilson fb521464ad
Update kube-proxy chart to v1.20.2 2021-01-22 13:50:55 -07:00
Brian Downs 4a85e6822a
Merge pull request #43 from briandowns/update_kube_proxy_v1.19
update kube proxy chart for 1.19 release
2021-01-14 12:57:49 -07:00
Brian Downs 73382aef57 update kube proxy chart for 1.19 release
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-01-14 12:02:07 -07:00
Brian Downs 6189fa0f3f
Merge pull request #42 from briandowns/update_k8s_v1.18
Update Kube-Proxy
2021-01-14 11:05:09 -07:00
Brian Downs f0c9e5ed74 update kube-proxy k8s version
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-01-13 16:14:56 -07:00
Brad Davidson 576c3194d7 Fix CoreDNS CriticalAddonsOnly toleration
The scheduler annotation has been unsupported since Kubernetes 1.6 so
this is long overdue.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-12 16:41:36 -08:00
Brad Davidson 17ceb0a979 Revert changes for coredns v1.7.1 but keep priorityClassName
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-08 16:58:10 -08:00
Brad Davidson cf3ffd959f Update stable charts repo URL and set priorityClassName
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-08 10:11:40 -08:00
Brad Davidson 53a28fdcc2 Honor data-dir when templating kubeconfig volumeMount and path
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-17 11:20:30 -08:00
Brad Davidson f0b07424c8 Allow customizing rke2 data-dir path for kube-proxy
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-16 16:40:43 -08:00
Jacob Blain Christen 64c9237b65
Merge pull request #35 from dweomer/coredns-v1.7.1-again
coredns v1.7.1 but correct this time
2020-12-14 16:50:30 -07:00
Jacob Blain Christen e5784e99f8 coredns v1.7.1 but correct this time
Had duplicated deployment somehow.
2020-12-14 16:49:12 -07:00
Jacob Blain Christen 80e93d8bd3
Merge pull request #30 from dweomer/coredns-v1.7.1
coredns: v1.7.1
2020-12-14 14:50:25 -07:00
Jacob Blain Christen 67c631846a coredns: v1.7.1
Part of rancher/rke2#345
2020-12-14 14:32:40 -07:00
Jacob Blain Christen 040f662edf
Merge pull request #34 from dweomer/kube-proxy-1.19.5-no-deprecated-feature-gates
kube proxy 1.19.5 no deprecated feature gates
2020-12-11 17:22:36 -07:00
Jacob Blain Christen 319be28781 kube-proxy: remove reference to deprecated FGs
This removes the final feature gate mentioned at
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
as being depreated in 1.19.
2020-12-11 17:20:34 -07:00
Jacob Blain Christen be7831b3b5
Merge pull request #33 from dweomer/kube-proxy-1.19.5-no-dynamic-auditing
kube-proxy: remove DynamicAuditing feature gate
2020-12-11 17:02:54 -07:00
Jacob Blain Christen f311fc7216 kube-proxy: remove DynamicAuditing feature gate
This was removed in 1.19

Part of rancher/rke2#485 (updates #32)
2020-12-11 17:00:43 -07:00
Jacob Blain Christen bb8f594ca4
Merge pull request #32 from dweomer/kube-proxy-1.19.5
kube-proxy: v1.19.5
2020-12-11 14:01:43 -07:00
Jacob Blain Christen f2cc3f14d8 kube-proxy: v1.19.5 2020-12-11 13:35:31 -07:00
Brian Downs bf4429d2e2
Merge pull request #31 from briandowns/upgrade_rke2
update kube-proxy for rke2 upgrade
2020-12-10 15:07:23 -07:00
Brian Downs df9d0a34b8 update kube-proxy for rke2 upgrade
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-12-10 14:40:42 -07:00
Brian Downs 5340061506
Merge pull request #29 from briandowns/coredns_create_service_account
Update coredns to create a service account
2020-12-07 14:17:08 -07:00
Brian Downs c2f5c81940 update coredns to create a service account
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-12-07 13:56:07 -07:00
Chris Kim 3601aa8c21
Merge pull request #27 from Oats87/issues/rke2/509
kube-proxy v1.18.12
2020-11-16 09:05:53 -08:00
Chris Kim 4000184fd7 Bump rke2-kube-proxy to v1.18.12
Signed-off-by: Chris Kim <oats87g@gmail.com>
2020-11-16 08:58:10 -08:00