Confused on how to use with a service principal #1111
-
Hi! I am trying to configure my cluster to use a dedicated service principal. I am using the helm chart and supplying the values in line with the --set commands. Does the chart also create the actual secret via the "adminsecret" parameters or do I need to create the secret manually? If the secret needs to be created manually, why does the ClientSecret need to be passed to the chart at all? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
As far as I know, adminsecret.clientSecret has to be manually created before you can reference it in https://github.com/Azure/aad-pod-identity/blob/master/charts/aad-pod-identity/templates/mic-secret.yaml. The reason why it needs to be passed to the chart via |
Beta Was this translation helpful? Give feedback.
As far as I know, adminsecret.clientSecret has to be manually created before you can reference it in https://github.com/Azure/aad-pod-identity/blob/master/charts/aad-pod-identity/templates/mic-secret.yaml. The reason why it needs to be passed to the chart via
--set
is that It's better not to expose the secret in plain text, and instead store it as a Kubenretes secret and let other objects reference it.