https://rancher.com/ logo
Title
w

wonderful-shampoo-61843

01/30/2023, 12:21 PM
Hi guys, I'm trying to use the terraform resource in order to create rancher cluster and i have a private registry already existing and i want to point at it. But i'm stuck with the
auth_config_secret_name
, how can i create this type of secret in order to deploy the cluster with that private registry ? https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster_v2#auth_config_secret_name Thank you !
c

cuddly-restaurant-47972

02/27/2023, 11:21 PM
The auth_config_secret is for a secret that contains details to connect to an authorization endpoint like Active Directory, freeIPA, github, okta, etc. Look here: https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster_v2 Under chart_values = <<<EOF You probably want to provide imagePullSecrets configuration there.