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

Disable ServiceAccount automount when --disable-etcd-serviceaccount-automount=true #277

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

rfranzke
Copy link
Member

How to categorize this PR?

/area security
/kind enhancement

What this PR does / why we need it:
This PR introduces a new CLI flag --disable-etcd-serviceaccount-automount (default: false) which sets the .automountServiceAccountToken=false in the ServiceAccount for etcds if set to true. This can be used in conjunction with

Which issue(s) this PR fixes:
Part of gardener/gardener#4659
Part of gardener/gardener#4878

Special notes for your reviewer:
/cc @timuthy

Release note:

When `--disable-etcd-serviceaccount-automount` is set to `true` then the `.automountServiceAccountToken` will be set to `false` for the `ServiceAccount` created for etcd.

@rfranzke rfranzke requested a review from a team as a code owner December 17, 2021 16:24
@gardener-robot gardener-robot added area/security Security related kind/enhancement Enhancement, improvement, extension needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Dec 17, 2021
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 17, 2021
@gardener-robot-ci-3 gardener-robot-ci-3 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 17, 2021
Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Dec 20, 2021
@timuthy timuthy merged commit 953b2f1 into gardener:master Dec 20, 2021
@rfranzke rfranzke deleted the enh/tr branch December 20, 2021 19:24
@rfranzke rfranzke changed the title Disable ServiceAccount automount when --disable-etcd-serviceaccount-automount=true` Disable ServiceAccount automount when --disable-etcd-serviceaccount-automount=true Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/security Security related kind/enhancement Enhancement, improvement, extension needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/m Size of pull request is medium (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants