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

external: add a new configmap to store external cluster script #729

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

Nikhil-Ladha
Copy link
Member

Added a new static configmap to store the external cluster script and ship it as part of the rook bundle.

add a new static configmap to store the external cluster script
and ship it as part of the rook bundle

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
add generated configmap changes

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
@Nikhil-Ladha
Copy link
Member Author

cc @parth-gr

Copy link

@travisn travisn left a comment

Choose a reason for hiding this comment

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

Let's ensure the Rook CI will fail a gen-csv check so when the auto-sync PRs update the branch, we can detect when this needs to be refreshed.

@Nikhil-Ladha
Copy link
Member Author

Let's ensure the Rook CI will fail a gen-csv check so when the auto-sync PRs update the branch, we can detect when this needs to be refreshed.

We already have this check introduced when we created a separate CSV/bundle for rook long back.

@@ -6,3 +6,4 @@ resources:
- common.yaml
- operator-openshift.yaml
- csi/nfs/rbac.yaml
- external-cluster-script-configmap.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Have you tested the csv is actually creating cm in the cluster

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, just tested it out. The cm is getting created when the rook bundle is installed on the cluster.

Copy link
Member

Choose a reason for hiding this comment

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

Please update the result in the PR

Copy link
Member Author

Choose a reason for hiding this comment

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

nikhil_ladha@nladha ~ % oc get csv                                     
NAME                         DISPLAY     VERSION   REPLACES   PHASE
rook-ceph-operator.v4.17.0   Rook-Ceph   4.17.0               Succeeded
nikhil_ladha@nladha ~ % oc get pods
NAME                                                              READY   STATUS      RESTARTS      AGE
0b7f16e6bac1a7b476544fbc3b65ccb25224106192898231caa871d2bdwb9kc   0/1     Completed   0             9m31s
quay-io-nladha-rook-ceph-operator-bundle-external                 1/1     Running     0             9m40s
rook-ceph-operator-6b9b56c958-k5qv7                               1/1     Running     3 (96s ago)   8m50s
nikhil_ladha@nladha ~ % oc get cm
NAME                                                              DATA   AGE
0b7f16e6bac1a7b476544fbc3b65ccb25224106192898231caa871d2bdab5b7   22     9m37s
kube-root-ca.crt                                                  1      79m
ocs-operator-config                                               7      8m10s
openshift-service-ca.crt                                          1      79m
rook-ceph-external-cluster-script-config                          1      9m14s
rook-ceph-operator-catalog-configmap-partition-1                  1      9m47s

Copy link

openshift-ci bot commented Sep 17, 2024

@parth-gr: changing LGTM is restricted to collaborators

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@parth-gr
Copy link
Member

/lgtm

Copy link

openshift-ci bot commented Sep 17, 2024

@parth-gr: changing LGTM is restricted to collaborators

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Nikhil-Ladha
Copy link
Member Author

@travisn if everything looks good can we merge this PR?

@travisn
Copy link

travisn commented Sep 19, 2024

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 19, 2024
Copy link

openshift-ci bot commented Sep 19, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Nikhil-Ladha, parth-gr, travisn

The full list of commands accepted by this bot can be found 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

@travisn travisn merged commit c45b7f5 into red-hat-storage:master Sep 19, 2024
51 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants