-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[minor] Added HMAC to COS role (#1228)
Co-authored-by: unnati-solanki-git <[email protected]>
- Loading branch information
1 parent
b0035d3
commit 8b6b7c6
Showing
8 changed files
with
37 additions
and
3 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
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
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 |
---|---|---|
|
@@ -32,6 +32,8 @@ spec: | |
type: string | ||
- name: ibmcloud_apikey | ||
type: string | ||
- name: use_hmac | ||
type: string | ||
|
||
stepTemplate: | ||
name: gitops-cos | ||
|
@@ -62,17 +64,19 @@ spec: | |
value: $(params.ibmcloud_resourcegroup) | ||
- name: IBMCLOUD_APIKEY | ||
value: $(params.ibmcloud_apikey) | ||
- name: USE_HMAC | ||
value: $(params.use_hmac) | ||
steps: | ||
- args: | ||
- |- | ||
git config --global user.name "MAS Automation" | ||
git config --global user.email "[email protected]" | ||
git config --global user.password $GITHUB_PAT | ||
|
||
export MAS_CONFIG_DIR=/workspace/configs/$MAS_INSTANCE_ID-cos | ||
mkdir -p /workspace/configs/$MAS_INSTANCE_ID-cos | ||
mkdir -p /tmp/init-cos | ||
|
||
mas gitops-cos -a $ACCOUNT -c $CLUSTER_NAME \ | ||
--dir /tmp/init-cos \ | ||
--secrets-path $SECRET_PATH | ||
|
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