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

Makefile: Support http & insecure registry in opm #54

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

Conversation

Akrog
Copy link
Contributor

@Akrog Akrog commented Oct 11, 2022

In a previous patch we added the USE_TLS environmental variable to our Makefile to allow pushing to insecure local registries during development.

This patch extends this functionality to support the catalog building as well, which is convenient when using the registry container image for local development.

With podman/docker push using the VERIFY_TLS=false will not only disable the TLS verification but will also allow HTTP connections, which is not the case of the opm command.

The opm command has 2 different options --skip-tls-verify and --use-http, so we'll use the existing VERIFY_TLS for the first and a new USE_HTTP for the second.

In a previous patch we added the USE_TLS environmental variable to our
Makefile to allow pushing to insecure local registries during
development.

This patch extends this functionality to support the catalog building as
well, which is convenient when using the `registry` container image for
local development.

With podman/docker push using the VERIFY_TLS=false will not only disable
the TLS verification but will also allow HTTP connections, which is not
the case of the `opm` command.

The `opm` command has 2 different options `--skip-tls-verify` and
`--use-http`, so we'll use the existing `VERIFY_TLS` for the first and a
new `USE_HTTP` for the second.
@openshift-ci openshift-ci bot requested review from abays and dprince October 11, 2022 14:18
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 11, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Akrog
Once this PR has been reviewed and has the lgtm label, please assign olliewalsh for approval by writing /assign @olliewalsh in a comment. 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

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

+1 from me

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 17, 2023

@Akrog: The following test 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/cinder-operator-build-deploy-kuttl 6e3b9e7 link true /test cinder-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

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

ASBishop pushed a commit to ASBishop/cinder-operator that referenced this pull request Mar 11, 2024
…ple-update

Update config sample for new format (service subset deployment)
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.

2 participants