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

feat: Admission Controller in OpenShift #637

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

rollandf
Copy link
Member

  • Add 'openshift' kustomize dir under config/manifests
  • Add Admission Controller yamls to CSV
  • Fix Mellanox CRD finalizers permission
  • Add Env variable to skip validations if needed

@rollandf
Copy link
Member Author

Note that relatedImages are deleted when running make bundle.
For now I have updated the CSV manually.
I have opened an issue in operator-sdk: operator-framework/operator-sdk#6590

@rollandf
Copy link
Member Author

/retest-nic_operator_helm

@rollandf
Copy link
Member Author

/retest-nic_operator_kind


patchesStrategicMerge:
- manager_webhook_patch.yaml
- webhookservicecainjection_patch.yaml
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit:newline

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

nvidia-network-operator-v23-7-0-sub nvidia-network-operator nvidia-network-operator-catalog v23.7.0
```

Edit the `Subscription`, and add a section `config\env` under `spec` with needed vars and values.
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: config/env -> spec.config.env ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

- image: nvcr.io/nvidia/cloud-native/network-operator@sha256:7005fa24a1ae52d927e76d50d90fddf6b6c7b08885a2dad3c7e5e2c2ac21c834
name: network-operator
version: 23.7.0
name: network-operator
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: newline

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Collaborator

@adrianchiris adrianchiris left a comment

Choose a reason for hiding this comment

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

minor nits, once addressed LGTM !

- Add 'openshift' kustomize dir under config/manifests
- Add Admission Controller yamls to CSV
- Fix Mellanox CRD finalizers permission
- Add Env variable to skip validations if needed

Signed-off-by: Fred Rolland <frolland@nvidia.com>
@adrianchiris adrianchiris merged commit 82e3b8e into Mellanox:master Oct 18, 2023
13 of 15 checks passed
@rollandf rollandf deleted the webhook-ocp branch February 28, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants