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

Create Playbook for developing and testing sample helm based operator using operator-sdk #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SurajGudaji
Copy link
Contributor

No description provided.

@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 15, 2024
- name: Validate Operator development and installation
include_role:
name: ocp-operator-api

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove the space char.


- Login to a quay.io account
```
docker login -u='' -p='' quay.io
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
docker login -u='' -p='' quay.io
docker login -u='<quay_username>' -p='<quay_password>' quay.io

|--------------------------------------------|----------|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| op_api_role_enable | no | false | Set it to true to run this playbook |
| op_cleanup | no | false | Set it to true to do operator cleanup. |
| build_operator_image | no | true | Set it to true to build the operator image |
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the default is true.

Suggested change
| build_operator_image | no | true | Set it to true to build the operator image |
| build_operator_image | no | true | Set it to false to not build the operator image |

Comment on lines +9 to +10
ocp_version: "418"
quay_username: ""
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. These are marked as required, so don't set in defaults.
  2. Setting empty quay_username does not make sense, won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants