Commit Graph
50 Commits
Author SHA1 Message Date
Devin Buhl 90ca5f026f fix: address talos comments (#1253)
* fix: update cni to cilium in taskfile

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

* fix: more updates

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

* fix: more cleanup

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

* chore: housekeeping

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-26 14:59:11 -05:00
Devin Buhl ab93b0e44e chore: update vars gitignore file
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-26 07:51:12 -05:00
Devin Buhl e321b148a6 feat: removal of all addons (#1247)
* feat: removal of all addons

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

* fix: update the mj script

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

* fix: remove the default namespace

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

* fix: remove descheduler and move reloader into flux-system

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-25 11:09:00 -05:00
Devin Buhl a5cb9b8d39 feat: implement SUC for talos (#1246)
* feat: implement SUC for talos

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

* fix: double ---

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

* fix: update formatting

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

* fix: address PR comments

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-25 08:42:57 -05:00
Grant Henderson 04a6e36281 Update addons.sample.yaml with correct namespace for kubernetes-dashboard (#1243) 2024-01-23 18:59:07 -05:00
Devin Buhl a7f6d6a094 chore: update addons and config file comments
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 19:28:33 -05:00
Devin Buhl afbf097dac feat: update kube-vip ansible playbook for k0s and k3s - ipv6 config changes (#1234)
* feat: update kube-vip ansible playbook for k0s and k3s

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

* fix: update renovate

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

* fix: move ipv6 to advanced options

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

* feat: kube-vip manifests to partials

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

* feat: kube vip samesies

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

* fix: update config sample

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 15:28:21 -05:00
Devin Buhl 9373065338 feat: implement kube-vip for k0s & k3s in daemonset mode (#1230)
* feat: implement kube-vip for k0s

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

* feat: implement kube-vip for k0s

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

* fix: k3s to ds as well

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

* fix: no j2j2 nonsense

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

* upadte: readme and taskfile

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

* update: renovate config

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 12:45:11 -05:00
Devin Buhl d9c7fd44ba feat: Do not rely on k0s file uploads - instead use curl (#1229)
* feat: Do not rely on k0s file uploads - instead use curl

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

* fix: add bootstrap_advanced_flags to validation

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

* fix: only skip tests for non-static config

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

* fix: only skip tests for non-static config

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

* fix: issues in k0s scripts

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

* update: readme

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

* update: taskfile

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

* update: taskfile

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

* update: k0s config and remove ansible hook

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 10:14:49 -05:00
Devin Buhl ba83e9a3c3 feat: add spegel to core components (#1225)
* feat: add spegel to core components

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

* downgrade: csi-smb-driver

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

* more: change to smb

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 19:24:38 -05:00
Benjamin Runnels 8265c80909 fix: updated csi-drivers for k0s and simplified smb (#1220)
* updated csi-drivers for k0s and simplified smb

* Update addons.yaml

* fixed spegel variable typos

* Removed extra line ending
2024-01-21 17:34:34 -05:00
Devin Buhl e1330d734c feat: more changes to templating (#1218)
* feat: clean up more jinja default references

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

* feat: add additional tls sans force kube-vip on k3s

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-21 11:39:12 -05:00
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
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
Benjamin Runnels 4bcbd75164 feat: added csi_driver_smb addon (#1213) 2024-01-20 20:23:33 -05:00
Benjamin Runnels bc0d8e1261 fix: resolved several issues with flux tasks (#1209)
* fixed several issues with flux tasks

* removed unnecessary default

* added note for longhorn addon

* added note for longhorn addon
2024-01-20 18:18:56 -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
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 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 91d8b84f3c feat: add talos support (#1192)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 05:36:25 -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 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 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 f9481d6202 feat: replace ansible templating with makejinja (#1156) 2024-01-14 23:03:02 -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
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
Devin Buhl ec8c19a24e feat!: for a single master node do not use etcd and add option to not use kube-vip
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-29 19:21:26 -05:00
Devin Buhl 44da0c1022 feat!: replace rancher/local-path-provisioner with democratic-csi in local-hostpath mode
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-27 14:23:29 -05:00
Devin Buhl ebaccf69bb chore: update bootstrap_cilium_loadbalancer_mode description comments 2023-12-11 17:45:10 -05:00
Devin Buhl ab7a99abbe feat: add bootstrap_cilium_loadbalancer_mode config option and default to dsr
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-11 16:07:57 -05:00
Devin Buhl 311863e017 feat: allow overriding the default local-path-provisioner path for PVC data
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-07 18:06:15 -05:00
Skyler MäntysaariandDevin Buhl 4bf9724afd Allow the usage of external address (#938)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-09-13 09:25:08 -04:00
Oscar RomeuandDevin Buhl 78746180bc feat(ansible): add branch reference as variable in gitrepository (#919)
* feat: add branch reference as variable in gitrepository

* Update bootstrap/vars/config.sample.yaml

---------

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-08-27 12:10:02 -04:00
Devin Buhl ea0cda5561 chore: update config sample to explain config for no worker nodes
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-08-21 11:47:27 -04:00
Manuel Rüger 2b07190d91 Rename internal/external nginx to ingress (#910) 2023-08-20 19:47:40 -04:00
AumerandDevin Buhl 3af392c008 feat: addon rss forwarder (#876)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-08-05 09:55:34 -04:00
Devin Buhl 0cc281e7c9 chore: update readme
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-08-05 09:21:44 -04:00
Devin Buhl 377bdb3d72 feat!: Separate out internal and external nginx controllers (#880) 2023-07-31 13:40:35 -04:00
Devin Buhl 34b87d6a52 fix: rename bootstrap_acme_enable_production_certs var
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-17 20:11:25 -04:00
Skyler MäntysaariandDevin Buhl 1d911f6821 feat: IPv6 support 🚀 (#855)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-07-17 16:42:25 -04:00
Devin Buhl 42e4de3eac feat: add bootstrap_acme_enable_production_certs config var
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-15 15:25:27 -04:00
Devin Buhl 983ba00cc6 chore: clean up readme
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-15 14:58:00 -04:00
Devin Buhl 027d3b2dbd feat: move system-upgrade-controller to addons
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-15 14:44:06 -04:00
Devin Buhl 802f390f61 chore: apply feedback on readme and vars
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-07-15 14:30:26 -04:00
Devin Buhl c9d988a66f feat!: template all ansible dir and rename template to bootstrap (#847) 2023-07-12 11:44:23 -04:00