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

added role ocp_operator_deployment and playbook deploy-ocp-operators #52

Merged

Conversation

kononovn
Copy link
Collaborator

@kononovn kononovn commented Mar 8, 2025

No description provided.

@openshift-ci openshift-ci bot requested review from cplacani and shaior March 8, 2025 02:05
@kononovn kononovn force-pushed the ocp_operator_deployment branch 6 times, most recently from fb53a82 to e63e58b Compare March 8, 2025 03:05
@@ -0,0 +1,3 @@
- name: Todo - Brew
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we should merge this once its set up.

install_approval: "{{ item.install_approval | default('Automatic') }}"
kubeconfig: /home/telcov10n/project/generated/kni-qe-92/auth/kubeconfig

- name: Apply default operator configuration if exist
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this task installing operators that have templates, regardless of whether they are needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well this task starts operator on cluster Without operator's configuration we have only operator's pod running. Refer for more info:
https://docs.openshift.com/container-platform/4.17/networking/networking_operators/sr-iov-operator/installing-sriov-operator.html#install-operator-cli_installing-sriov-operator Step 4
https://docs.openshift.com/container-platform/4.10/networking/metallb/metallb-operator-install.html#nw-metallb-operator-initial-config_metallb-operator-install

This actually deploy some 'hardcoded' resource that are required in order to lauch operators on cluster.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think that if we want to make this role generic, we should make this step optional

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added deploy_default_config parameter.

---
# defaults file for ocp_operator_deployment
ocp_operator_deployment_default_label:
workload.openshift.io/allowed: management
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we always need this label or just in specific cases?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As far as I see yes it's like an default label.

@kononovn kononovn force-pushed the ocp_operator_deployment branch from e63e58b to e8ee688 Compare March 9, 2025 19:20
@shaior
Copy link
Contributor

shaior commented Mar 10, 2025

lgtm

@kononovn kononovn force-pushed the ocp_operator_deployment branch from e8ee688 to 985926e Compare March 10, 2025 13:46
@kononovn kononovn force-pushed the ocp_operator_deployment branch from 985926e to e3ad82d Compare March 10, 2025 13:51
@natifridman
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 10, 2025
@kononovn
Copy link
Collaborator Author

/lgtm

Copy link

openshift-ci bot commented Mar 10, 2025

@kononovn: you cannot LGTM your own PR.

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.

@kononovn
Copy link
Collaborator Author

/approve

Copy link

openshift-ci bot commented Mar 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kononovn

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 55d91a1 into openshift-kni:main Mar 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. 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