Skip to content

Fix Webhook configuration creation bug on K8s#536

Merged
tekton-robot merged 1 commit intotektoncd:mainfrom
nikhil-thomas:fix/k8s/webhook-installerset
Dec 1, 2021
Merged

Fix Webhook configuration creation bug on K8s#536
tekton-robot merged 1 commit intotektoncd:mainfrom
nikhil-thomas:fix/k8s/webhook-installerset

Conversation

@nikhil-thomas
Copy link
Member

Removes duplicate definition of the webhook secret from kodata

The installerset was stuck in error status as the same secret resource
was being created by 2 entities (make apply and later by webhook
deployment). This was correctly handled on OpenShift kodata.

Signed-off-by: Nikhil Thomas nikthoma@redhat.com

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

Removes duplicate definition of the webhook secret from kodata

The installerset was stuck in error status as the same secret resource
was being created by 2 entities (make apply and later by webhook
deployment). This was correctly handled on OpenShift kodata.

Signed-off-by: Nikhil Thomas <nikthoma@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Nov 30, 2021
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 30, 2021
@sm43
Copy link
Member

sm43 commented Nov 30, 2021

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2021
Comment on lines -15 to -24
apiVersion: v1
kind: Secret
metadata:
name: tekton-operator-webhook-certs
labels:
name: tekton-operator-webhook
app: tekton-operator
# The data is populated at install time.

---
Copy link
Contributor

@savitaashture savitaashture Nov 30, 2021

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

yes : 👍

Copy link
Contributor

@savitaashture savitaashture left a comment

Choose a reason for hiding this comment

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

🎉

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: savitaashture

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 1, 2021
@tekton-robot tekton-robot merged commit e4ca6e1 into tektoncd:main Dec 1, 2021
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. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants