Provide sample service principal json (#32)

Update the usage instructions to provide a sample json fragment for service principal to be used in GitHub secrets
This commit is contained in:
Pieter de Bruin 2019-10-14 12:56:50 +02:00 коммит произвёл Deepak Sattiraju
Родитель 62c33dee04
Коммит 37677d1d7c
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -33,6 +33,16 @@ In the above example the secret name is `REGISTRY_USERNAME` and `REGISTRY_PASSWO
container-registry-username: ${{ secrets.REGISTRY_USERNAME }}
```
To use an Azure Service Principal, create a secret called AZURE_CREDENTIALS that contains:
```json
{
"tenantId": "<yourtenantid>",
"clientId": "<yourclientid>",
"clientSecret": "<yourclientsecret>",
"subscriptionId": "<yoursubscriptionid>"
}   
```
## End to end workflow for building container images and deploying to an Azure Kubernetes Service cluster
```yaml