Commit Graph
165 Commits
Author SHA1 Message Date
Devin Buhl 8339d142b7 feat: move various config options to advanced flags (#1217)
* feat: move various config options to advanced flags

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

* fix: remove lp refs

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 09:53:25 -05:00
Devin Buhl db21ea82fa feat: rename addon vars to addon_ prefix and simplify logic in jinja templates (#1216)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 09:05:23 -05:00
Devin Buhl b89b7b3ed9 feat: migrate to python for data validation (#1214)
* feat: migrate to python for data validation

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

* fix: address PR comments

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

* fix: add unused kwargs to validate functions

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

* chore: update renovate pip and ansible regex

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

* feat: add bootstrap_nodes test

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

* fix: update taskfiles

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 08:35:21 -05:00
Benjamin Runnels 7456164df0 feat: add pre-defined secrets to csi-driver-smb addon (#1215)
* added ability to use pre-defined secrets

* renamed variables to existing_secret_name and existing_secret_namespace
2024-01-21 07:39:13 -05:00
renovate[bot] ef8af23093 fix(container): update image kube-prometheus-stack to v56.0.1 (#1210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 06:55:49 -05:00
Benjamin Runnels 4bcbd75164 feat: added csi_driver_smb addon (#1213) 2024-01-20 20:23:33 -05:00
Devin Buhl 1ec59d1559 feat: add advanced features to config (#1208)
* feat: add advanced features to config

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

* fix: only enable longhorn if distro is k3s or k0s

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

* fix: update ansible lint

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-20 12:27:20 -05:00
renovate[bot] 0fda1f6a56 feat(helm): update chart k8s-gateway to 2.3.0 (#1157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:31:12 -05:00
renovate[bot] 55781b751f feat(helm): update chart csi-driver-nfs to v4.6.0 (#1189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:29:56 -05:00
renovate[bot] 5b411b9a43 fix(helm): update chart reloader to 1.0.63 (#1186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:28:58 -05:00
renovate[bot] 7a52a990bd feat(helm): update chart grafana to 7.2.3 (#1164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:28:50 -05:00
renovate[bot] 52aa4b5c89 fix(helm): update chart cilium to 1.14.6 (#1198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:28:37 -05:00
renovate[bot] f6466d4815 fix(container): update image docker.io/cloudflare/cloudflared to v2024.1.4 (#1206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:28:26 -05:00
renovate[bot] 3564958e49 feat(container)!: Update image kube-prometheus-stack to v56 (#1207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 21:28:09 -05:00
Benjamin RunnelsandDevin Buhl 8a840e1f2e feat: added longhorn addon (#1204)
* added longhorn addon

* enabled longhorn in the tests

* fix: move longhorn to longhorn-system namespace

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

* fix: move longhorn to longhorn-system namespace

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

* fix: move longhorn to longhorn-system namespace

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

* fix: move longhorn to longhorn-system namespace

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
Co-authored-by: Devin Buhl <devin@buhl.casa>
2024-01-19 21:27:47 -05:00
Devin Buhl 965bfcdcb9 feat: k0s remove isolated controllers support and ansible prepare playbook (#1205)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 17:35:33 -05:00
Devin Buhl 7c259abe44 fix: add talos docs to root readme (#1203)
* fix: add talos docs to root readme

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 10:45:21 -05:00
Devin Buhl 064fa3bed5 fix: add kubelet-csr-approver as partial
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 09:44:26 -05:00
Devin Buhl 8359f49dcc fix: talos update providerRegex
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 09:38:35 -05:00
renovate[bot] a7c9827c46 feat(container): update image app-template to v2.5.0 (#1187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 07:38:27 -05:00
Devin Buhl 79d849f0ac feat: add custom dns server support (#1199)
* feat: add custom dns server support

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

* fix: jinja tmpl

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 07:22:21 -05:00
Devin Buhl eed4faa9e6 fix: keep included k3s coredns (#1197)
* Delete bootstrap/templates/kubernetes/apps/kube-system/coredns directory

* Update kustomization.yaml.j2

* Delete bootstrap/templates/ansible/playbooks/templates/custom-coredns-helmchart.yaml.j2.j2

* Update cluster-installation.yaml.j2

* Delete bootstrap/templates/ansible/playbooks/tasks/coredns.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update main.yaml.j2

* Update cluster-installation.yaml.j2
2024-01-19 06:13:39 -05:00
Devin Buhl 91d8b84f3c feat: add talos support (#1192)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 05:36:25 -05:00
Devin Buhl cec32120db fix(k0s): clean up local path storage on reset 2024-01-18 23:44:16 -05:00
Devin Buhl f355b52326 fix(k0s): update network settings in config 2024-01-18 21:41:08 -05:00
Devin Buhl 08ed800e6c fix(k0s): update reboot command in reset hook 2024-01-18 21:03:35 -05:00
Devin Buhl 4e0941422c fix(k0s): reset hook wait one minute 2024-01-18 20:56:12 -05:00
Devin Buhl b8e09d5b52 fix: remove maxHistory from HelmReleases since the default is now 5
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-18 20:16:03 -05:00
brunnels 117af5a1bf fixed regression with controller only role and anchors 2024-01-18 16:43:20 -06:00
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 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 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
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