Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use ServiceAccountName for impersonation #180

Merged
merged 3 commits into from
Nov 20, 2020
Merged

Use ServiceAccountName for impersonation #180

merged 3 commits into from
Nov 20, 2020

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Nov 20, 2020

Drop the ServiceAccount field in favour of ServiceAccountName to prevent privilege escalation in multi-tenancy environments.

Breaking change, from:

spec:
  serviceAccount:
    name: webapp-reconciler
    namespace: webapp

to:

spec:
  serviceAccountName: webapp-reconciler

Fix: #179

Drop the ServiceAccount field in favour of ServiceAccountName to prevent privilege escalation in multi-tenancy environments.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the area/kustomize Kustomize related issues and pull requests label Nov 20, 2020
@stefanprodan stefanprodan requested a review from hiddeco November 20, 2020 09:02
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan merged commit 59b1134 into main Nov 20, 2020
@stefanprodan stefanprodan deleted the sa branch November 20, 2020 10:13
relu added a commit to relu/flux2 that referenced this pull request Nov 20, 2020
Supporting changes in fluxcd/kustomize-controller#180

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/kustomize Kustomize related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restrict service account impersonation
2 participants