Azure Service Principal
Azure Service Principal is used to create the image pull secrets and download images from
ACR. When creating the Service Principal
- Set the expiration to never
- Assign the ACR pull access role
A summary of steps are as follows:
- To derive the service principal id and the password execute the helper script
provided by AppViewX. To use this script follow the steps below.
-
Download the artifact Managed-Kubernetes_helper_scripts.tar.gz to the bastion host and extract using the command:
tar -xf Managed-Kubernetes_helper_scripts.tar.gz -
Navigate to the extracted directory mk8s_helper_scripts.
cd mk8s_helper_scripts -
Edit the file acr_reg_config.sh and replace ACR_NAME with the actual value.
-
Execute the acr_reg_config.sh file.
bash acr_reg_config.sh
-
Note: After the script execution, capture the outputs as they
are required in the global utility config.
