Skip to content
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

Merged
merged 6 commits into from
Oct 10, 2023

Conversation

kovayur
Copy link
Contributor

@kovayur kovayur commented Oct 10, 2023

Description

Introduce the addon script to deploy the data plane with OCM.

Checklist (Definition of Done)

  • Unit and integration tests added
  • Added test description under Test manual
  • Documentation added if necessary (i.e. changes to dev setup, test execution, ...)
  • CI and all relevant tests are passing
  • Add the ticket number to the PR title if available, i.e. ROX-12345: ...
  • Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.
  • Add secret to app-interface Vault or Secrets Manager if necessary
  • RDS changes were e2e tested manually
  • Check AWS limits are reasonable for changes provisioning new resources

Test manual

./install_addon.sh dev acs-dev-yury

@kovayur kovayur requested a review from ebensh October 10, 2023 13:56
@kovayur kovayur temporarily deployed to development October 10, 2023 13:57 — with GitHub Actions Inactive
@kovayur kovayur temporarily deployed to development October 10, 2023 13:57 — with GitHub Actions Inactive
Copy link
Collaborator

@ebensh ebensh left a 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


if [[ $# -ne 2 ]]; then
echo "Usage: $0 [environment] [cluster]" >&2
echo "Known environments: integration stage prod"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev too

Copy link
Contributor Author

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
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 10, 2023

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot removed the lgtm label Oct 10, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 10, 2023

New changes are detected. LGTM label has been removed.

@kovayur kovayur temporarily deployed to development October 10, 2023 14:50 — with GitHub Actions Inactive
@kovayur kovayur temporarily deployed to development October 10, 2023 14:50 — with GitHub Actions Inactive
@kovayur kovayur merged commit 594dfe3 into main Oct 10, 2023
4 checks passed
@kovayur kovayur deleted the yury/install-addon branch October 10, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants