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 securityContext for o11y.prometheus #289

Closed
OnlyPiglet opened this issue Feb 25, 2024 · 1 comment · Fixed by #290
Closed

add securityContext for o11y.prometheus #289

OnlyPiglet opened this issue Feb 25, 2024 · 1 comment · Fixed by #290

Comments

@OnlyPiglet
Copy link
Contributor

Why do you need it?

Is your feature request related to a problem? Please describe in details

alibaba/higress#727

How could it be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

add new field for o11y.prometheus to set securityContext for prometheus

o11y:
  prometheus:
    securityContext:
      enabled: true
      runAsUser: 0
      fsGroup: 0

Other related information

Add any other context or screenshots about the feature request here.

@OnlyPiglet
Copy link
Contributor Author

OnlyPiglet commented Feb 25, 2024

changed for more flex , thanks @CH3CHO

o11y:
  prometheus:
    securityContext: {}
      securityContext:
        {{- toYaml .Values.o11y.prometheus.securityContext | nindent 8 }}

OnlyPiglet added a commit to OnlyPiglet/higress-console that referenced this issue Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant