feat(k3s): add deployment rules for Helm and OpenTofu projects
This commit is contained in:
parent
b317cabe65
commit
e33c3718bf
7 changed files with 112 additions and 8 deletions
|
@ -42,3 +42,16 @@
|
|||
debug: msg="Not supported yet"
|
||||
when: k3s_cluster_type is match("ha")
|
||||
failed_when: true
|
||||
|
||||
- name: install Helm charts
|
||||
connection: local
|
||||
kubernetes.core.helm: '{{ item }}'
|
||||
loop: '{{ k3s_cluster_additional_helm_charts }}'
|
||||
loop_control:
|
||||
label: '{{ item.release_name }}'
|
||||
|
||||
- name: install OpenTofu resources
|
||||
include_tasks: opentofu.yml
|
||||
loop: '{{ k3s_cluster_additional_tf_resources }}'
|
||||
loop_control:
|
||||
label: '{{ item.name }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue