Skip to content
Snippets Groups Projects
  • Max Gautier's avatar
    8e254ec1
    kubeadm: allow to provide patch inline in inventories · 8e254ec1
    Max Gautier authored
    Specifying one directory for kubeadm patches is not ideal:
    1. It does not allow working with multiples inventories easily
    2. No ansible templating of the patch
    3. Ansible path searching can sometimes be confusing
    
    Instead, provide the patch directly in a variable, and add some quality
    of life to handle components targeting and patch ordering more
    explicitly (`target` and `type` which are translated to the kubeadm
    scheme which is based on the file name)
    kubeadm: allow to provide patch inline in inventories
    Max Gautier authored
    Specifying one directory for kubeadm patches is not ideal:
    1. It does not allow working with multiples inventories easily
    2. No ansible templating of the patch
    3. Ansible path searching can sometimes be confusing
    
    Instead, provide the patch directly in a variable, and add some quality
    of life to handle components targeting and patch ordering more
    explicitly (`target` and `type` which are translated to the kubeadm
    scheme which is based on the file name)