Devin Buhl
21afc0baa2
feat!: Remove support for k3s and go full-on Talos ( #1482 )
2024-05-21 08:29:59 -04:00
Devin Buhl
914ecadbd3
fix(taskfile): add warnings if KUBECONFIG and SOPS Age are not the expected values
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-04-05 15:32:40 -04:00
Devin Buhl
79b3de005e
chore: housekeeping
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-04-05 15:08:47 -04:00
Wasurerarenai
54259b4524
Add optional user tasks to Taskfile.yaml ( #1354 )
2024-03-01 06:57:52 -05:00
Devin Buhl
eab63476b7
feat(k0s): unsupport it ( #1291 )
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-02-02 18:02:14 -05:00
Devin Buhl
889ca07692
feat: refactor config file ( #1267 )
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-28 12:41:31 -05:00
Devin Buhl
e4427a8325
fix: update kubeconform script location and fix github workflow
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-27 17:09:55 -05:00
Devin Buhl
7fc4250ef2
fix: update taskfiles and validation logic ( #1264 )
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-26 20:34:04 -05:00
Devin Buhl
3b0fcb7ba5
feat: update network and cert-manager ns ( #1263 )
...
* feat: update network and cert-manager ns
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: update sops var name to be consistent with env
Signed-off-by: Devin Buhl <devin@buhl.casa >
---------
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-26 18:48:35 -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
5d849727d8
feat: implement mjfilter file for templates ( #1244 )
...
* feat: implement mjfilter file for templates
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: use data.get in mjfilters
Signed-off-by: Devin Buhl <devin@buhl.casa >
---------
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-24 14:52:50 -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
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
4be97f78e8
feat: update makejinja to 2.5.0 ( #1221 )
...
* feat: update makejinja to 2.5.0 and implement mjfilter
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: move logic for skip tests
Signed-off-by: Devin Buhl <devin@buhl.casa >
* feat: update makejinja to 2.5.0
Signed-off-by: Devin Buhl <devin@buhl.casa >
---------
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-21 17:37:48 -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
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
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
9317007e7f
chore: remove comment in main Taskfile
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-16 08:24:31 -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
b602a7a1f5
fix: update makeninja - rename Archfile - check for k0sctl ( #1161 )
...
* fix: update makeninja
* Update Taskfile.yaml
* fix: check for k0sctl when k0s is choosen
Signed-off-by: Devin Buhl <devin@buhl.casa >
---------
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-15 15:39:37 -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
3b1ea970b1
fix: Updates to taskfiles and e2e workflow ( #1144 )
2024-01-13 12:04:44 -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
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
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
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
a7eadd34b1
feat!: refactor taskfiles and update README
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2024-01-06 13:46:32 -05:00
Devin Buhl
9d9c0bf67c
chore: update devcontainer
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-12-01 19:46:44 -05:00
Devin Buhl
c749ff8f90
fix: add task for updating from the upstream template
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-11-29 16:07:50 -05:00
Devin Buhl
fe56fa0653
chore: fix task prompt spelling
2023-11-29 11:17:36 -05:00
Devin Buhl
ee81349379
chore: add a task prompt on task configure
2023-11-29 11:03:52 -05:00
Devin Buhl
b2352b3679
fix(ansible): enable sops vars plugin
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-07-19 15:31:39 -04:00
Devin Buhl
571a7454c0
refactor: install ansible with Python venv ( #863 )
2023-07-19 11:03:59 -04:00
Devin Buhl
c9d988a66f
feat!: template all ansible dir and rename template to bootstrap ( #847 )
2023-07-12 11:44:23 -04:00
Arthur Zapparoli
eb9c00bc8a
Fix cp command on OSX ( #843 )
...
The `--no-clobber` option is non-POSIX, but GNU-specific. `-n` should do the same in Linux and OSX.
2023-07-11 09:58:41 -04:00
Devin Buhl
2b5c1b1c98
chore: update taskfile to have guidance on next steps after init
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-07-06 17:00:44 -04:00
Devin Buhl
0d17e11709
feat!: change some task names for better user experiance
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-07-06 16:29:17 -04:00
Devin Buhl
34527bd3e2
feat(ansible): Add addon support ( #836 )
2023-07-06 14:21:32 -04:00
Devin Buhl
8af4377aa3
chore: update readme
...
Signed-off-by: Devin Buhl <devin@buhl.casa >
2023-07-06 10:58:59 -04:00
Devin Buhl
fe41cf6ea5
feat: move kubernetes dir into templates to support jinja2 across all files ( #831 )
2023-07-05 21:17:10 -04:00
Devin Buhl
39643241f9
chore: use cmd in root taskfile
2023-07-04 20:21:11 -04:00
Devin Buhl and Manuel Rüger
de0ed1c70a
feat!: Rewrite configure script in ansible ( #822 )
...
* feat: smol changes
Signed-off-by: Devin Buhl <devin@buhl.casa >
* feat!: Rewrite configure script in ansible
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: add comment for real path
Signed-off-by: Devin Buhl <devin@buhl.casa >
* feat: verification is done
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: do not need net common
Signed-off-by: Devin Buhl <devin@buhl.casa >
* chore: clean up old comments
Signed-off-by: Devin Buhl <devin@buhl.casa >
* chore: clean up old comments
Signed-off-by: Devin Buhl <devin@buhl.casa >
* feat: finish up ansible host generation and more
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: backup/restore sops config between tasks
Signed-off-by: Devin Buhl <devin@buhl.casa >
* chore: clean up test comments
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: use ansible template on template
Signed-off-by: Devin Buhl <devin@buhl.casa >
* Update template/vars/config.sample.yaml
Co-authored-by: Manuel Rüger <manuel@rueg.eu >
* Update template/tasks/verify_cli.yaml
* chore: update readme
Signed-off-by: Devin Buhl <devin@buhl.casa >
* chore: update readme
Signed-off-by: Devin Buhl <devin@buhl.casa >
* Update README.md
Co-authored-by: Manuel Rüger <manuel@rueg.eu >
* fix: move bcrypt logic to template
Signed-off-by: Devin Buhl <devin@buhl.casa >
* fix: derp
Signed-off-by: Devin Buhl <devin@buhl.casa >
---------
Signed-off-by: Devin Buhl <devin@buhl.casa >
Co-authored-by: Manuel Rüger <manuel@rueg.eu >
2023-07-04 11:36:58 -04:00