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

✨ Allow to configure an authorization webhook #35

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Feb 4, 2025

Summary

This adds a new Authorization field to the CommonShardSpec, similar to the audit webhook. I then generalized applying the CommonShardSpec onto a Deployment by having a ApplyCommonShardConfiguration function, which now also (since it's configured in it) takes care of setting up etcd and the image. That image part feels a bit weird at first, but IMHO it's at least consistent: all CommonShardSpec things are handled in a single place.

Release Notes

Allow to configure an authorization webhook in Shard/RootShard objects

xrstf added 2 commits February 4, 2025 21:18
… the shard reconcile which accidentally used the rootshard's etcd tls secret ref

On-behalf-of: @SAP [email protected]
@kcp-ci-bot kcp-ci-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 signed the DCO. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 4, 2025
@xrstf xrstf requested a review from embik February 10, 2025 15:55
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

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

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: a94aa00605fd03663c1c1462877af2d3caebd766

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

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

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 10, 2025
@kcp-ci-bot kcp-ci-bot merged commit 915b39c into kcp-dev:main Feb 10, 2025
11 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. dco-signoff: yes Indicates the PR's author has signed the DCO. 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/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants