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

[release-1.14] fix: do not build OIDC config unless enabled (#4021) #4056

Conversation

Cali0707
Copy link
Member

Manual cherry pick of #4021 so that we only rebuild the OIDC Discovery config when needed

* fix: do not build OIDC config unless enabled

Signed-off-by: Calum Murray <cmurray@redhat.com>

* feat: receiver redeploys verticles when oidc feature changes

Signed-off-by: Calum Murray <cmurray@redhat.com>

* feat: the control plane ensures receiver restarts

When config-features changes, the control plane
sets a annotation on the receiver pods so that
the configmap update is reconciled by k8s

Signed-off-by: Calum Murray <cmurray@redhat.com>

* mvn spotless:apply

Signed-off-by: Calum Murray <cmurray@redhat.com>

* cleanup: goimports

Signed-off-by: Calum Murray <cmurray@redhat.com>

* fix: do not re-deploy verticles

Signed-off-by: Calum Murray <cmurray@redhat.com>

* fix: features config paths are now correct

Signed-off-by: Calum Murray <cmurray@redhat.com>

* fix java unit tests

Signed-off-by: Calum Murray <cmurray@redhat.com>

* mvn spotless:apply

Signed-off-by: Calum Murray <cmurray@redhat.com>

* address review comments

Signed-off-by: Calum Murray <cmurray@redhat.com>

---------

Signed-off-by: Calum Murray <cmurray@redhat.com>
@Cali0707
Copy link
Member Author

/cc @creydr

@knative-prow knative-prow bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/control-plane area/data-plane approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 12, 2024
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Copy link
Contributor

@creydr creydr left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2024
Copy link

knative-prow bot commented Aug 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, creydr

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

@knative-prow knative-prow bot merged commit 98d4277 into knative-extensions:release-1.14 Aug 14, 2024
34 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. area/control-plane area/data-plane lgtm Indicates that a PR is ready to be merged. 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.

2 participants