Closed Jonaprince closed 2 years ago
Fix the issue of bad indentation in rewrite rules when using registry pull through cache
Fixes #197
Deploy k3s with this values into your inventory:
k3s_registries: mirrors: docker.io: endpoint: - "http://registry.example.com" rewrite: "(.*)": "docker-hub/$1"
Produced file /etc/rancher/k3s/registries.yaml contains following content:
mirrors: docker.io: endpoint: - http://registry.example.com rewrite: (.*): docker-hub/$1
Fix the issue of bad indentation in rewrite rules when using registry pull through cache
Fix length indentation in registry.yaml
Summary
Fixes #197
Issue type
Test instructions
Deploy k3s with this values into your inventory:
Acceptance Criteria
Produced file /etc/rancher/k3s/registries.yaml contains following content: