Staging instance, all changes can be removed at any time

Skip to content

rancher: configure container registry cache

Nicolas Dandrimont requested to merge mr/registry-cache into production

This tells rancher to configure containerd to use the appropriate caches.

Implements swh/infra/sysadm-environment#5247

ocd output

*** Running octocatalog-diff on host rancher-node-test-rke2-mgmt1.internal.staging.swh.network
I, [2024-02-23T14:40:43.010715 #247595]  INFO -- : Catalogs compiled for rancher-node-test-rke2-mgmt1.internal.staging.swh.network
I, [2024-02-23T14:40:43.214133 #247595]  INFO -- : Diffs computed for rancher-node-test-rke2-mgmt1.internal.staging.swh.network
diff origin/production/rancher-node-test-rke2-mgmt1.internal.staging.swh.network current/rancher-node-test-rke2-mgmt1.internal.staging.swh.network
*******************************************
+ File[/etc/rancher/rke2/registries.yaml] =>
   parameters =>
      "group": "root"
      "mode": "0600"
      "owner": "root"
      "content": >>>
# File managed by puppet - modifications will be lost
mirrors:
  docker.io:
    endpoint:
    - https://docker-cache.internal.admin.swh.network/docker.io/v2
  container-registry.softwareheritage.org:
    endpoint:
    - https://docker-cache.internal.admin.swh.network/swh/v2
  quay.io:
    endpoint:
    - https://docker-cache.internal.admin.swh.network/quay.io/v2
  ghcr.io:
    endpoint:
    - https://docker-cache.internal.admin.swh.network/ghcr.io/v2
  registry.k8s.io:
    endpoint:
    - https://docker-cache.internal.admin.swh.network/registry.k8s.io/v2
<<<
*******************************************
*** End octocatalog-diff on rancher-node-test-rke2-mgmt1.internal.staging.swh.network

Merge request reports

Loading