-
Notifications
You must be signed in to change notification settings - Fork 98
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
Introduce custom ConfigMap for system-probe and move built-in configuration to ENV vars #316
Conversation
c98f6d6
to
6eb9880
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs review
@@ -3464,6 +3464,30 @@ spec: | |||
to connect to the netlink/conntrack subsystem to add NAT | |||
information to connection data. See also: http://conntrack-tools.netfilter.org/' | |||
type: boolean | |||
customConfig: | |||
description: Allow to put custom configuration for system-probe, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Allow to put custom configuration for system-probe, | |
description: Enable custom configuration for system-probe, |
file content. | ||
type: string | ||
configMap: | ||
description: ConfigMap name of a ConfigMap used to mount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: ConfigMap name of a ConfigMap used to mount | |
description: The name of a ConfigMap used to mount |
content. | ||
type: string | ||
name: | ||
description: Name the ConfigMap name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Name the ConfigMap name. | |
description: The name the ConfigMap name. |
@@ -3334,6 +3334,29 @@ spec: | |||
to connect to the netlink/conntrack subsystem to add NAT information | |||
to connection data. See also: http://conntrack-tools.netfilter.org/' | |||
type: boolean | |||
customConfig: | |||
description: Allow to put custom configuration for system-probe, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Allow to put custom configuration for system-probe, | |
description: Enable custom configuration for system-probe, |
file content. | ||
type: string | ||
configMap: | ||
description: ConfigMap name of a ConfigMap used to mount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: ConfigMap name of a ConfigMap used to mount | |
description: The name of a ConfigMap used to mount |
content. | ||
type: string | ||
name: | ||
description: Name the ConfigMap name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Name the ConfigMap name. | |
description: The name the ConfigMap name. |
6eb9880
to
c6d2dab
Compare
@ruthnaebeck I've integrated 2 of your suggestions and entirely rephrased the other one as the pre-existing doc phrase was not clear enough. Let me know if it's good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few small nits, otherwise looks good
c6d2dab
to
2ee6032
Compare
…ration to ENV vars
12acb47
to
78de192
Compare
What does this PR do?
Currently the Operator uses config file instead of ENV vars, which means users cannot use a custom configuration file.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Deploy the Operator with:
CustomConfig
or using a custom ConfigMap name.