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

feat: add securityContext for o11y.prometheus #290

Merged
merged 4 commits into from Feb 26, 2024

Conversation

OnlyPiglet
Copy link
Contributor

alibaba/higress/issues/727 fix #289

Ⅰ. Describe what this PR did

fix alibaba/higress#727

fix #289

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Feb 25, 2024

CLA assistant check
All committers have signed the CLA.

helm/values.yaml Outdated
@@ -80,6 +80,9 @@ o11y:
limits:
cpu: 500m
memory: 2Gi

securityContext:
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里感觉直接让用户传入一个对象就好了,是不是不用卡太死?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

have changed, thanks for your advice

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

@CH3CHO CH3CHO merged commit feced8e into higress-group:main Feb 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants