Closed papanito closed 8 months ago
Apparently you should not use the same user for manual testing and for the terraform plan. Based on the AD docu
The AD user pertaining to the credentials entered in this step will be mapped to the local principal account and assigned administrator privileges in Rancher.
Hence, while I do a test with a different user (myself) for the AD config in the UI, I then can apply the changes with the desired user in terraform.
You also can check with
kubectl get userattributes.management.cattle.io -ocustom-columns='NAME:.metadata.name,GENERATION:.metadata.generation,LASTREFRESH:.LastRefresh,EXTRABYPROVIDER:.ExtraByProvider'
Rancher Server Setup
Information about the Cluster
I manually configure the AD using a specific test user. This works fine. When I want to do the same setup using the rancher2 provider I get
To Reproduce
This is my config
Actual Result
AD config is not applied and the following error is thrown
Expected Result
AD config is applied
Screenshots
N/A
Additional context
Username and passwords are encrypted using sops, so the un-encrypted version of
./secrets/secrets.enc.json
is something like