diff --git a/roles/k3s/tasks/registries_cache_mysetup.yaml b/roles/k3s/tasks/registries_cache_mysetup.yaml index d8db0af..59e6c27 100644 --- a/roles/k3s/tasks/registries_cache_mysetup.yaml +++ b/roles/k3s/tasks/registries_cache_mysetup.yaml @@ -1,6 +1,7 @@ # requires host/group vars # oci_cache: -# address: https://xxxx.xxx.xx/v2 +# address: https://cache.oci.test.com/v2 +# domain: cache.oci.test.com # auth_username: xxxxx # auth_password: Ixxxx diff --git a/roles/k3s/templates/registries_cache_mysetup.j2 b/roles/k3s/templates/registries_cache_mysetup.j2 index 33ec29f..aed8dee 100644 --- a/roles/k3s/templates/registries_cache_mysetup.j2 +++ b/roles/k3s/templates/registries_cache_mysetup.j2 @@ -57,7 +57,7 @@ mirrors: configs: - oci.limbosolutions.com: + {{oci_cache.domain}}: auth: username: {{oci_cache.auth_username }} password: {{oci_cache.auth_password }}