This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to use 'app' instead of 'client' for service principal
- Loading branch information
Showing
4 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,15 @@ This must be executed on a machine with an existing Spinnaker instance. | |
| Name | Description | | ||
|---|---| | ||
| --registry<br/>-rg | The Azure Container Registry url, for example 'sample-microsoft.azurecr.io'. | | ||
| --client_id<br/>-ci | The Service Principal client id used to access your registry. | | ||
| --client_key<br/>-ck | The Service Principal client key used to access your registry. | | ||
| --app_id<br/>-ai | The Service Principal app id used to access your registry. | | ||
| --app_key<br/>-ak | The Service Principal app key used to access your registry. | | ||
| --repository<br/>-rp | (optional) The docker repository if targeting a repo from 'index.docker.io'. If targeting an Azure Container Registry, the repository does _not_ need to be explicitly specified. | | ||
| --artifacts_location<br/>-al | (optional) The url for referencing other scripts/artifacts. The default is this github repository. | | ||
| --sas_token<br/>-st | (optional) A sas token needed if the artifacts location is private. | | ||
|
||
## Example usage | ||
```bash | ||
./configure_k8s.sh --registry "sample-microsoft.azurecr.io" --client_id "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" --client-key "password" | ||
./configure_k8s.sh --registry "sample-microsoft.azurecr.io" --app_id "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" --app-key "password" | ||
``` | ||
|
||
## Questions/Comments? [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters