Commit Graph
184 Commits
Author SHA1 Message Date
Devin Buhl 84a913e350 chore: housekeeping
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-23 07:55:18 -05:00
Devin Buhl 83118cfec3 chore: improvements to e2e workflow (#1235)
* chore: improvements to e2e workflow

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

* chore: improve taskfiles

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

* chore: update taskfiles

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-22 17:06:01 -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
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
Benjamin Runnels 4bcbd75164 feat: added csi_driver_smb addon (#1213) 2024-01-20 20:23:33 -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
renovate[bot] 63fe978117 feat(github-action)!: Update actions/cache action to v4 (#1190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 07:34: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 91d8b84f3c feat: add talos support (#1192)
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-19 05:36:25 -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 edbcf28139 feat: add python version check (#1176)
* feat: add python version check

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

* chore: formatting

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

* test python 3.10

* chore: taskfile formating

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

* chore: python 3.11 is minimum

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 21:13:58 -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 b0ea9afbfd fix: bump makejinja and add force flag to Taskfile (#1166)
* fix: bump makejinja and add force flag to Taskfile

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

* chore: Run configure again to ensure idempotency

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-16 08:12:07 -05:00
Devin Buhl 4a8e762fc6 chore: update labels and labeler configs
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 20:02:47 -05:00
Devin Buhl 5a0e90f561 chore: add distro to labels
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-15 19:48:35 -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 ea31a49817 feat: add kubeconform workflow and make kubeconform/kustomize required (#1159) 2024-01-15 09:42:50 -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 ef44ea1b2b chore: add ci tests for k0s (#1152) 2024-01-14 12:11:39 -05:00
Devin Buhl a21cadb06f feat: update e2e test to account for testing ipv6 (#1150) 2024-01-13 20:30:12 -05:00
Devin Buhl 3b1ea970b1 fix: Updates to taskfiles and e2e workflow (#1144) 2024-01-13 12:04:44 -05:00
Devin Buhl 0363af873e fix: do not limit e2e workflow on folder changed 2024-01-12 23:14:14 -05:00
Devin Buhl 2f9e6068d3 feat: attempt to add a e2e workflow (#1143)
* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

* feat: attempt to add a e2e workflow

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

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-12 22:41:03 -05:00
Devin Buhl 1ff3c252ca feat: add repo taskfile for cleaning up repo
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-12 08:55:27 -05:00
Devin Buhl 7513f4544e chore: update renovate to find the k0sconfig file
Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-01-11 20:58:46 -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 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
Jory Irving a19d7083b5 Change back to output file (#1113)
* Change back to output file

This was recently fixed in the new v1.9.0 action

* fix: indent

* remove token

* revert to secret token

* fix delete

* remove extra lines
2024-01-05 17:38:23 -05:00
Devin Buhl 494951efb1 chore: rename job steps in flux-diff
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-28 09:24:45 -05:00
Devin Buhl fa274a0682 fix: lychee workflow results filepath
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-28 09:06:58 -05:00
Devin Buhl d02e7bf039 fix: pin mshick/add-pr-comment to v2
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-28 08:57:28 -05:00
Devin Buhl b045b12e36 fix: update flux-diff workflow to use container
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-28 08:56:43 -05:00
Devin Buhl e44005ca26 chore: update workflows and remove token ref
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-27 20:14:52 -05:00
renovate[bot] 7058b3c896 fix(github-action): update allenporter/flux-local action to 4.2.1 2023-12-27 19:33:19 +00:00
Devin Buhl 15fe145abc chore: update renovate config
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-27 14:32:13 -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 100002e236 chore: update lychee gh workflow to use CLI tool directly
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-27 14:00:42 -05:00
Devin Buhl eb4832d01a chore: update the lychee workflow to be more smarter about finding the link checker issue 2023-12-24 14:41:06 -05:00
Devin Buhl 80e95eb7ee chore: rename label related workflows
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-24 09:32:54 -05:00
Devin Buhl a3fca06139 chore: unpin gha in renovate and update link checker workflow
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-12-24 09:31:43 -05:00