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

StatefulSet of Alertmanager is created without Service Account #1186

Closed
FaKod opened this issue Apr 6, 2018 · 5 comments
Closed

StatefulSet of Alertmanager is created without Service Account #1186

FaKod opened this issue Apr 6, 2018 · 5 comments
Assignees
Labels

Comments

@FaKod
Copy link
Contributor

FaKod commented Apr 6, 2018

What did you do?

Used the HELM chart: alertmanager together with PodSecurityPolicy Admission Controller

What did you expect to see?

A alertmanager-kube-prometheus StatefulSet with a ServiceAccount, that I am able to bind to a PodSecurityPolicy

What did you see instead? Under which circumstances?

I had to bind my PodSecurityPolicy to SA default

Environment

  • Kubernetes version information:
~ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T12:22:21Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3+coreos.0", GitCommit:"f588569ed1bd4a6c986205dd0d7b04da4ab1a3b6", GitTreeState:"clean", BuildDate:"2018-02-10T01:42:55Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
  • Kubernetes cluster kind:

    my own Ansible scripts

@brancz
Copy link
Contributor

brancz commented Apr 6, 2018

That's fair, I think every application should have it's own ServiceAccount.

@gianrubio
Copy link
Contributor

Will #1187 fix this issue?

@crandles
Copy link
Contributor

@gianrubio It will apply the required PodSecurityPolicy to the default service account, instead of an account specific to the alertmanager instance.

@stale
Copy link

stale bot commented Aug 15, 2019

This issue has been automatically marked as stale because it has not had any activity in last 60d. Thank you for your contributions.

@stale stale bot added the stale label Aug 15, 2019
@paulfantom
Copy link
Member

All helm-related issues should be targetted towards https://github.com/prometheus-community/helm-charts as this is were the development of those charts take place. Please open a new issue in the said repository if you feel this problem is still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants