mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
🐛 Wrap SERVICE_PRINCIPAL_SECRET in double quotes
This helps prevent special characters in the password from being interpreted by the shell. Doesn't handle when the password contains double-quotes.
This commit is contained in:
parent
26f7c9c37f
commit
bbf9ee299d
@ -79,7 +79,7 @@ az aks create -n aks-getting-started \
|
||||
--ssh-key-value ./id_rsa.pub \
|
||||
--network-plugin kubenet \
|
||||
--service-principal $SERVICE_PRINCIPAL \
|
||||
--client-secret $SERVICE_PRINCIPAL_SECRET \
|
||||
--client-secret "$SERVICE_PRINCIPAL_SECRET" \
|
||||
--output none
|
||||
|
||||
# if your SP key is invalid, generate a new one:
|
||||
@ -126,4 +126,4 @@ kubectl apply -n example-app -f services/service.yaml
|
||||
```
|
||||
az group delete -n $RESOURCEGROUP
|
||||
az ad sp delete --id $SERVICE_PRINCIPAL
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user