Aller au contenu principal

Administration Guides

Add zot registry rancher​

To add the kosmos zot registry as an available registry in rancher use

kubectl apply -f - <<'EOF'
apiVersion: catalog.cattle.io/v1
kind: ClusterRepo
metadata:
annotations:
field.cattle.io/description: zot
name: zot
spec:
clientSecret:
name: zot-pull-secret
namespace: kosmos-dev-restricted
insecurePlainHttp: true
url: oci://zot-registry.kosmos-dev-restricted.svc.cluster.local:5000/athea/hauler/
EOF