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

openshift: Ensure new webhook secret #1268

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

qinqon
Copy link
Member

@qinqon qinqon commented Sep 30, 2024

The non openshift secret is not compatible with openshift generated version, this change a different one so they don't collide and also remove the old one.

Use different webhook secret name for openshift.

@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Sep 30, 2024
@qinqon qinqon force-pushed the openshift-cert-manager-follow-up branch from 0ac9bd4 to 9dbefbb Compare September 30, 2024 09:41
The non openshift secret is not compatible with openshift generated
version, this change a different one so they don't collide and also
remove the old one.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
@qinqon qinqon force-pushed the openshift-cert-manager-follow-up branch from 9dbefbb to 4bd135b Compare September 30, 2024 11:07
@qinqon
Copy link
Member Author

qinqon commented Sep 30, 2024

/retest

@@ -391,7 +395,7 @@ metadata:
name: {{template "handlerPrefix" .}}nmstate-webhook
namespace: {{ .HandlerNamespace }}
annotations:
service.beta.openshift.io/serving-cert-secret-name: {{template "handlerPrefix" .}}nmstate-webhook
service.beta.openshift.io/serving-cert-secret-name: {{template "handlerPrefix" .}}openshift-nmstate-webhook
Copy link
Member

Choose a reason for hiding this comment

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

This line also around {{- if not .IsOpenShift }}, I guess

Copy link
Member Author

Choose a reason for hiding this comment

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

Not needed, this annotation is only used by openshift, so it's ok to have it there like this upstream.

@qinqon
Copy link
Member Author

qinqon commented Oct 1, 2024

/retest

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 1, 2024
@mkowalski
Copy link
Member

/test pull-kubernetes-nmstate-e2e-handler-k8s

@kubevirt-bot
Copy link
Collaborator

kubevirt-bot commented Oct 1, 2024

@qinqon: 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
pull-kubernetes-nmstate-e2e-handler-k8s-future 4bd135b link false /test pull-kubernetes-nmstate-e2e-handler-k8s-future

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.

@mkowalski
Copy link
Member

/test pull-kubernetes-nmstate-e2e-handler-k8s

@qinqon
Copy link
Member Author

qinqon commented Oct 1, 2024

/approve

@kubevirt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qinqon

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2024
@kubevirt-bot kubevirt-bot merged commit 8506e7b into nmstate:main Oct 1, 2024
7 of 8 checks passed
mkowalski pushed a commit to mkowalski/kubernetes-nmstate that referenced this pull request Oct 2, 2024
The non openshift secret is not compatible with openshift generated
version, this change a different one so they don't collide and also
remove the old one.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
mkowalski pushed a commit to mkowalski/kubernetes-nmstate that referenced this pull request Oct 2, 2024
The non openshift secret is not compatible with openshift generated
version, this change a different one so they don't collide and also
remove the old one.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants