зеркало из https://github.com/Azure/k8s-actions.git
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:
Родитель
62c33dee04
Коммит
37677d1d7c
10
README.md
10
README.md
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче