feat: add option to patch kubernetes resources #1

Merged
xoxys merged 2 commits from patch-resources into main 2022-10-25 07:58:53 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 1346207062 - Show all commits

View File

@ -44,4 +44,4 @@ k3s_server_admission_configuration:
qps: 10 qps: 10
burst: 50 burst: 50
k3s_resource_patches: [] k3s_server_resource_patches: []

View File

@ -45,7 +45,7 @@
kubeconfig: "{{ __k3s_config_dir }}/k3s.yaml" kubeconfig: "{{ __k3s_config_dir }}/k3s.yaml"
state: patched state: patched
definition: "{{ item.definition }}" definition: "{{ item.definition }}"
loop: "{{ k3s_resource_patches }}" loop: "{{ k3s_server_resource_patches }}"
loop_control: loop_control:
label: "{{ item.kind }}/{{ item.name }}" label: "{{ item.kind }}/{{ item.name }}"
when: k3s_server | bool when: k3s_server | bool