acs-engine-terraform icon indicating copy to clipboard operation
acs-engine-terraform copied to clipboard

Microsoft changed servicePrincipalProfile interface. k8s.json needs to be updated.

Open rberlind opened this issue 7 years ago • 1 comments

It seems that Microsoft changed the servicePrincipalProfile interface used by acs-engine on 8/23/2017. This causes errors when running "acs-engine generate k8s_rendered.json". k8s.json needs to be updated.

Instead of: "servicePrincipalClientID": "${service_principle_client_id}", "servicePrincipalClientSecret": "${service_principle_client_secret}" this now needs to be: "clientId": "${service_principle_client_id}", "secret": "${service_principle_client_secret}"

See the following: https://github.com/Azure/acs-engine/blob/master/examples/kubernetes.json https://github.com/Azure/acs-engine/commit/9dcaf23533f1e2306c2ecae98aab3c338a0a0a02#diff-b5112cc64d795c4b3621d99f732fb79e https://github.com/Azure/acs-engine/pull/1332

rberlind avatar Oct 28 '17 01:10 rberlind

After making this change, I was able to get past the "acs-engine generate" command and successfully run the "az group deployment create" command (with Terraform). The expected k8s resources were created in my Azure resource group.

rberlind avatar Oct 28 '17 02:10 rberlind