Configure inotify limits;Filter updating image references
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-26 16:58:15 +01:00
parent 907ec8bf3b
commit 79b794dba2
4 changed files with 22 additions and 19 deletions

View File

@ -52,7 +52,7 @@
version: "{{ components.clusterapi.workload.version.k8s }}"
vip: "{{ vapp['workloadcluster.vip'] }}"
- name: Update image references to use local registry
- name: WORKAROUND - Update image references to use local registry
ansible.builtin.replace:
dest: "{{ item.root ~ '/' ~ item.path }}"
regexp: '([ ]+image:[ "]+)(?!({{ _template.pattern }}|"{{ _template.pattern }}))'
@ -65,7 +65,7 @@
label: "{{ item.path }}"
when:
- item.path is search('.yaml')
- item.path is not search("clusterctl.yaml|metadata.yaml")
- item.path is not search("cert-manager.yaml|clusterctl.yaml|components.yaml|metadata.yaml")
- name: Generate kustomization template
ansible.builtin.template: