-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROX-19904: Introduce the addon script to deploy the data plane with OCM #1332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, assuming this is the parameter list from before - it may need tweaking but this looks great to test
dp-terraform/ocm/install_addon.sh
Outdated
|
||
if [[ $# -ne 2 ]]; then | ||
echo "Usage: $0 [environment] [cluster]" >&2 | ||
echo "Known environments: integration stage prod" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
EOF | ||
) | ||
|
||
if ! GET_ADDON_BODY=$(ocm get "/api/clusters_mgmt/v1/clusters/$CLUSTER_ID/addons/acs-fleetshard" 2>&1); then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would add a comment to aid the reader either here or above at the PATCH explaining it's for the idempotency of applying/reapplying the addon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few comments
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ebensh, kovayur The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New changes are detected. LGTM label has been removed. |
Description
Introduce the addon script to deploy the data plane with OCM.
Checklist (Definition of Done)
Test manual
ROX-12345: ...
Test manual