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

Make securityContext configurable for jmx exporter init container #670

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

bianchi2
Copy link
Collaborator

@bianchi2 bianchi2 commented Sep 18, 2023

#667 is merged. This PR adds values and a few unit tests.

Checklist

  • I have added unit tests
  • I have applied the change to all applicable products
  • The E2E test has passed (use e2e label)

@bianchi2 bianchi2 added kind and removed kind labels Sep 18, 2023
jmxExporterInitContainer:

# -- Whether to run jmx exporter init container as root to be able to copy jmx exporter binary to shared home volume.
# Set to false if running containers as root is not allowed in the cluster
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Set to false if running containers as root is not allowed in the cluster
# Set to false if running containers as root is not allowed in the cluster.

#
jmxExporterInitContainer:

# -- Whether to run jmx exporter init container as root to be able to copy jmx exporter binary to shared home volume.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# -- Whether to run jmx exporter init container as root to be able to copy jmx exporter binary to shared home volume.
# -- Whether to run JMX exporter init container as root to copy JMX exporter binary to shared home volume.

#
runAsRoot: true

# -- Custom SecurityContext for the jmx exporter init container
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# -- Custom SecurityContext for the jmx exporter init container
# -- Custom SecurityContext for the JMX exporter init container

@bianchi2
Copy link
Collaborator Author

thanks @nanux comments updated

@bianchi2 bianchi2 merged commit c9b373a into main Sep 18, 2023
2 checks passed
@bianchi2 bianchi2 deleted the configurable-security-context-jmx-init-container branch September 18, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants