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

✨ Add admin battery to kcp server and enable it by default #3041

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

embik
Copy link
Member

@embik embik commented Nov 3, 2023

Summary

This is a follow-up to #3033 and the discussion it created. This new approach adds a new battery called admin and enables it by default. Without this battery, admin.kubeconfig will not be generated and no admin token will be created to be injected into a new authenticator.

I've also added a check to make sure that the user battery is not enabled when admin is not.

Related issue(s)

Fixes #

Release Notes

Add new `admin` battery which is enabled by default

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@embik embik requested review from sttts and mjudeikis November 3, 2023 12:07
@embik embik self-assigned this Nov 3, 2023
@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/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 3, 2023
@embik embik changed the title ✨ Add 'admin' battery to kcp server and enable it by default ✨ Add admin battery to kcp server and enable it by default Nov 3, 2023
@mjudeikis
Copy link
Contributor

/lgtm
/approve
/retest

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 5, 2023
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: b906b3e3e89b5364ff07f73bd9a999dd39f57ebb

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mjudeikis

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 Nov 5, 2023
@embik
Copy link
Member Author

embik commented Nov 6, 2023

/retest

1 similar comment
@embik
Copy link
Member Author

embik commented Nov 6, 2023

/retest

@embik
Copy link
Member Author

embik commented Nov 6, 2023

I guess this might not be a flake.

@mjudeikis
Copy link
Contributor

/retest

1 similar comment
@embik
Copy link
Member Author

embik commented Nov 13, 2023

/retest

@kcp-ci-bot kcp-ci-bot merged commit f83e600 into kcp-dev:main Nov 13, 2023
17 checks passed
@embik embik deleted the admin-battery branch November 13, 2023 11:34
@embik
Copy link
Member Author

embik commented Jan 24, 2024

/kind feature

@kcp-ci-bot kcp-ci-bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 24, 2024
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. kind/feature Categorizes issue or PR as related to a new feature. 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants