adamant-kite-43734
09/04/2024, 2:17 PMhundreds-evening-84071
09/04/2024, 2:36 PMcreamy-pencil-82913
09/04/2024, 4:59 PMhandsome-oil-82912
09/05/2024, 8:12 PMresource "rancher2_cluster_v2" "mycluster"
rke_config {
registries {
configs {
hostname = "<http://my.registry.com|my.registry.com>"
auth_config_secret_name = "k8s-secret-name"
}
configs {
hostname = "<http://docker.io|docker.io>"
auth_config_secret_name = "k8s-secret-name"
}
}
Then what was a bit unclear in the docs is that you have to create this auth_config_secret_name in the fleet-default
namespace on the admin cluster and the secret should be created with --type="<http://rke.cattle.io/auth-config|rke.cattle.io/auth-config>"