Commit Graph
275 Commits
Author SHA1 Message Date
Devin Buhl e1e7f7416b fix(k0s): update hooks in k0sctl.yaml 2024-01-18 16:34:19 -05:00
Devin Buhl db9f6d0258 fix(k0s): update logic in k0sctl.yaml 2024-01-18 16:08:32 -05:00
Benjamin Runnels c46a70b98f fix(k0s): don't copy files to controller only role (#1193) 2024-01-18 16:06:27 -05:00
Devin Buhl d17354303e chore: remove extra line ending 2024-01-18 15:23:49 -05:00
Devin Buhl b6fdf0d8ad fix: respect pod and service cidr in k0s config
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 14:20:00 -05:00
Devin Buhl 0c4f0260d5 fix: ansible dir should only exist for k3s and k0s (#1191)
* fix: ansible dir should only exist for k3s and k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: rename partial files

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 13:52:11 -05:00
renovate[bot] bae0be1ef0 fix(container): update image docker.io/cloudflare/cloudflared to v2024.1.3 (#1185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:12:41 -05:00
renovate[bot] 7491b6f469 feat(helm): update chart ingress-nginx to 4.9.0 (#1165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:11:45 -05:00
Devin Buhl 7c43fb1db0 feat: k0s add reset hooks for cleaning up cilium (#1183)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 10:12:03 -05:00
Devin Buhl d46e7f9663 feat: add partial support, change k0s config filename, always use NLLB for k0s (#1180)
* feat: add partial support, change k0s config filename, always use NLLB for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update wording

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 08:38:03 -05:00
Devin Buhl 13a005d23d feat: k3s use 127.0.0.1:6444 for Cilium k8sServiceHost:k8sServicePort
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 06:27:58 -05:00
Devin Buhl 95094450fb feat: enable etcd monitoring for k0s (#1179)
* feat: enable etcd monitoring for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: always enable etcd on k3s

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-17 19:44:53 -05:00
Devin Buhl ca9d1818fc feat: add spegel support for k0s (#1178)
* feat: add spegel support for k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: add spegel to e2e tests

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update containerd file paths and run apply from k0s-config dir

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: move containerd files after upload

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-17 16:00:28 -05:00
Devin Buhl 528508e834 feat: add ansible lint, update taskfiles, and makejinja to not strip trailing newlines (#1172)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 14:23:08 -05:00
Devin Buhl b41ccc8145 fix: add tls sans options for k3s too (#1170)
* fix: add tls sans options for k3s too

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 10:52:48 -05:00
Devin Buhl 295f2e7eac fix: kube-vip was not rendering when enabled (#1169)
* fix: kube-vip was not rendering when enabled

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: forgot to save a file

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 09:56:41 -05:00
Devin Buhl 646f335689 feat: change jinja variable start/end delimiters to avoid conflicts with go templating (#1168)
* feat: change jinja variable start/end delimiters to avoid conflicts with go templating

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment in makejinja.toml

Signed-off-by: Devin Buhl <devin@buhl.casa>

* chore: update comment in makejinja.toml

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 09:25:12 -05:00
Devin Buhl 93c9d21581 feat: change jinja block/start delimiters for renovate support (#1163)
* feat: change jinja block/start delimiters for renovate support

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update renovate config an helm repos

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 19:31:45 -05:00
Devin Buhl e6fbc6e128 feat: remove the need for raw jinja blocks (#1158)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 00:03:41 -05:00
Devin Buhl f9481d6202 feat: replace ansible templating with makejinja (#1156) 2024-01-14 23:03:02 -05:00
Devin Buhl a4731906d9 feat: set lstrip on ansible template task and remove comments (#1155)
* feat: set lstrip on ansible template task and remove comments

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: cert-manager block was neing stripped

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-14 17:08:59 -05:00
Devin Buhl ef44ea1b2b chore: add ci tests for k0s (#1152) 2024-01-14 12:11:39 -05:00
Harald Koch 15ffff895c chore: I found minor spelling errors (#1153) 2024-01-14 12:02:33 -05:00
Devin Buhl 6428678fae fix: only remove duplicate metrics in kps if distro is k3s (#1151)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-14 09:32:41 -05:00
Devin Buhl 5ee8a8a2fa fix: remove l2 announcement from k3s role config 2024-01-13 21:48:09 -05:00
Devin Buhl 77eb03d455 feat: do not apply cilium l2 config on cluster bootstrap
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-13 20:43:09 -05:00
Devin Buhl c9630bf4b5 fix: update cluster-rollout-update to be k0s compatible (#1149)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-13 20:01:22 -05:00
Devin Buhl 03f7e02bcb fix: update homepage addon to fix vars
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-13 14:29:15 -05:00
Devin Buhl 9c2699992f fix: update homepage addon
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-13 14:05:56 -05:00
renovate[bot] 0ddfc8db3b feat(container): update image kube-prometheus-stack to v55.8.1 (#1141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 23:22:34 -05:00
Devin Buhl e34899bfe2 fix: annotations not rendering correctly and add kubeconform integration
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-12 16:58:22 -05:00
Stephen Bonnell f6136bfb3f fix: Homepage memory limits (#1140) 2024-01-12 11:12:25 -05:00
renovate[bot] 00ec522096 fix(helm): update chart external-dns to 1.14.1 (#1136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 07:03:37 -05:00
renovate[bot] 070958ecc5 fix(github-release): update k0sproject/k0s to v1.28.5+k0s.0 (#1135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 21:00:09 -05:00
renovate[bot] 18e591238e feat(helm): update chart openebs to 3.10.0 (#1133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:51:26 -05:00
renovate[bot] 72f00506ac fix(container): update image kube-prometheus-stack to v55.7.1 (#1130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:49:54 -05:00
renovate[bot] 9efe707c11 feat(container)!: Update image docker.io/cloudflare/cloudflared to v2024 (#1134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:48:26 -05:00
renovate[bot] 3776df776c feat(helm): update chart external-dns to 1.14.0 (#1132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:48:19 -05:00
renovate[bot] 65ca933238 fix(helm): update chart reloader to 1.0.62 (#1131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:48:00 -05:00
Devin Buhl e8772928e2 fix: update local path var in nuke playbook 2024-01-11 18:40:39 -05:00
Devin Buhl c8ebab7508 feat: do not template out k3s ansible when k0s is choosen
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-11 16:46:36 -05:00
Devin Buhl 8e7d36c0c5 feat: volsync is now a addon
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-11 16:01:48 -05:00
Devin Buhl f87af3fba0 fix: homepage needs raw/endraw
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-11 15:21:47 -05:00
Jory Irving ee5de426a4 Replace Hajimari with Homepage (#1127)
* feat: replace hajimari with homepage

* fix: add secret

* fix: homepage configmap kubernetes widget

Signed-off-by: Jory Irving <jory@jory.dev>

* feat: wrap annotations in blocks

* chore: homepage change ingress to internal

Signed-off-by: Jory Irving <jory@jory.dev>

---------

Signed-off-by: Jory Irving <jory@jory.dev>
2024-01-11 15:05:24 -05:00
d093d0a4e1 add k0s support (#1123)
* ignore idea

* Initial work on support for k0s

* *  Changed config param to bootstrap_distribution
*  Replaced democratic-csi with openebs
*  Added notes about system-upgrade-controller being ignored with k0s
*  Removed password for nodes

* *  Switched to single storage path for openebs
*  Removed democratic-csi helm repo
*  Added missing openebs helm repo
*  Fixed template formatting
*  Made bootstrap_private_github_repo hidden/undocumented
*  Updated flux cluster config to accommodate bootstrap_private_github_repo

* *  added the storageclass name to be declarative

* *  added newline
*  set chart wait false

* *  fixed spacing in K0sTasks
*  fixed openebs path
*  properly added openebs helm repo

* *  updated configure task to use venv
*  renamed bootstrap_kube_vip_addr to bootstrap_kubeapi_addr
*  renamed bootstrap_kube_vip_addr derived variables accordingly

* *  tweaked configure task cmd
*  started work on k0s-config.yaml template

* *  tweaked k0s task cmd
*  moved coredns under addons rather than optional
*  fixed typo in coredns task
*  normalized formatting in k0s-config
*  disabled telemetry in k0s-config
*  added renovate to k0s-config
*  removed tunnel and added routing mode in k0s-config cilium chart values
*  updated docs in config example
*  fixed issue with k0s-config controller role so it didn't default to worker+controller if more than one master

* *  fixed whitespace

* add k0sctl to brew tasks

* Update bootstrap/vars/config.sample.yaml

* Update bootstrap/vars/config.sample.yaml

* Update k0s-config.yaml.j2

* Update config.sample.yaml

* controllerManager and scheduler bind to `0.0.0.0` for metrics

* Update custom-cilium-helmchart.yaml.j2.j2

* Update helmvalues.yaml.j2

* Update bootstrap/tasks/addons/main.yaml

* first pass at readme updates

* update placement of k0sconfig options

* disable telemetry on k0sctl too

* disable k0s telemetry in env too

* update: jinja spacing in k0sconfig

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: ensure bootstrap_local_storage_path is delete on nuke

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update renovate regex for k3s/k0s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update nuke playbook and only include k3s task when k3s

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update nuke playbook and only include k3s task when k3s and include jinja comments

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
Co-authored-by: Devin Buhl <devin@buhl.casa>
2024-01-11 15:03:36 -05:00
renovate[bot] 1b73543d34 feat(container): update image kube-prometheus-stack to v55.7.0 (#1118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 15:34:31 -05:00
renovate[bot] 5820b9bb9a fix(helm): update chart reloader to 1.0.60 (#1115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 15:34:20 -05:00
Devin Buhl f9a7307f76 feat: move installing prom operator crds to taskfile
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-06 09:22:43 -05:00
Devin Buhl 270f67ab8a fix: kube vip URL changed 2024-01-05 10:36:00 -05:00
Devin Buhl 1edb159559 feat: replace stale-containers systemd timer with kubelet-args
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-04 07:50:32 -05:00