Skip to content

Conversation

@stephenfin
Copy link
Contributor

Follow-ups addressing comments on #275. This should not merge before #275 does.

These are taken from the existing openstack-cinder-csi-driver-operator
like so:

  openstack-cinder-csi-driver-operator csi-operator
  ==================================== ==============================================================
  assets/csidriver.yaml                assets/overlays/openstack-cinder/base/csidriver.yaml
  assets/storageclass.yaml             assets/overlays/openstack-cinder/base/storageclass.yaml
  assets/volumesnapshotclass.yaml      assets/overlays/openstack-cinder/base/volumesnapshotclass.yaml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This file will be combined with 'assets/base/controller.yaml' to yield
something that looks like 'assets/controller.yaml' [1] from
openstack-cinder-csi-driver-operator.

[1] https://github.com/openshift/openstack-cinder-csi-driver-operator/blob/release-4.17/assets/controller.yaml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This file will be combined with 'assets/base/node.yaml' to yield
something that looks like 'assets/node.yaml' [1] from
openstack-cinder-csi-driver-operator.

[1] https://github.com/openshift/openstack-cinder-csi-driver-operator/blob/release-4.17/assets/node.yaml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
The controller currently uses host networking, meaning it needs the
privileged role.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This file will be combined with
'assets/common/sidecars/provisioner.yaml' to yield something that looks
like the 'csi-provisioner' sidecar container definition in
'assets/controller.yaml' [1] from openstack-cinder-csi-driver-operator.

[1] https://github.com/openshift/openstack-cinder-csi-driver-operator/blob/release-4.17/assets/controller.yaml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
We intentionally do not merge in our Cinder-specific (read:
non-library-go-derived) controllers yet, seeking instead to keep this
change as simple as possible. Most of the other controllers are already
used in one form or another for other drivers.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is simply:

  mkdir pkg/openstack-cinder
  cp -r legacy/openstack-cinder-csi-driver-operator/pkg/controllers/config pkg/openstack-cinder/config
  cp -r legacy/openstack-cinder-csi-driver-operator/pkg/util pkg/openstack-cinder/util

...followed by updating imports in the copied files along with amending
'go.mod' to add gophercloud and gophercloud/utils. Nothing uses this yet
since we need to do some more minor surgery first which is kept separate
to yield a readable diff.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Allow us to run this via the new shiny. The changes needed are
surprisingly small.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
The important change here is to 'cmd/generator'. The rest of the change
was auto-generated (surprise!) using 'make update'.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Now that we have a "native" Cinder CSI Operator here, we can start using
it.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
We will add a quick start guide eventually but there's some more work to
do first.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Trivial nit.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This won't appear in the generated assets, but that's okay: this is most
relevant to OpenShift devs.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 9, 2024
@openshift-ci-robot
Copy link

@stephenfin: This pull request explicitly references no jira issue.

Details

In response to this:

Follow-ups addressing comments on #275. This should not merge before #275 does.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from bertinatto and tsmetana October 9, 2024 09:58
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 9, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: stephenfin
Once this PR has been reviewed and has the lgtm label, please assign mpatlasov for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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
Copy link
Contributor

openshift-ci bot commented Oct 9, 2024

@stephenfin: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-azure-csi-extended 2c314fa link false /test e2e-azure-csi-extended
ci/prow/security 2c314fa link false /test security
ci/prow/smb-operator-e2e-extended 2c314fa link false /test smb-operator-e2e-extended
ci/prow/e2e-azure 2c314fa link true /test e2e-azure
ci/prow/e2e-azurestack-csi 2c314fa link false /test e2e-azurestack-csi

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@stephenfin
Copy link
Contributor Author

We're going to do this via #275 after all.

@stephenfin stephenfin closed this Oct 9, 2024
@stephenfin stephenfin deleted the add-cinder-csi-step2-addons branch October 9, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants