Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joe Mayer
system-charts
Commits
1beff94f
Commit
1beff94f
authored
Oct 22, 2019
by
gitlawr
Committed by
Alena Prokharchyk
Oct 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update securityContext for monitoring containers
To make monitoring work when hardening rules are applied.
parent
1d95df5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
charts/rancher-monitoring/v0.0.5/charts/operator-init/templates/job-install-crds.yaml
....0.5/charts/operator-init/templates/job-install-crds.yaml
+4
-0
charts/rancher-monitoring/v0.0.5/values.yaml
charts/rancher-monitoring/v0.0.5/values.yaml
+4
-1
No files found.
charts/rancher-monitoring/v0.0.5/charts/operator-init/templates/job-install-crds.yaml
View file @
1beff94f
...
@@ -16,6 +16,10 @@ spec:
...
@@ -16,6 +16,10 @@ spec:
tolerations
:
tolerations
:
{{
- include "linux-node-tolerations" . | nindent 8
}}
{{
- include "linux-node-tolerations" . | nindent 8
}}
serviceAccountName
:
{{
template "app.fullname" .
}}
serviceAccountName
:
{{
template "app.fullname" .
}}
securityContext
:
runAsUser
:
65534
runAsNonRoot
:
true
fsGroup
:
65534
containers
:
containers
:
-
name
:
operator-init-crds
-
name
:
operator-init-crds
image
:
{{
template "system_default_registry" .
}}{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
image
:
{{
template "system_default_registry" .
}}{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
...
...
charts/rancher-monitoring/v0.0.5/values.yaml
View file @
1beff94f
...
@@ -198,7 +198,10 @@ exporter-kube-state:
...
@@ -198,7 +198,10 @@ exporter-kube-state:
## Already exist ServiceAccount
## Already exist ServiceAccount
##
##
serviceAccountName
:
"
"
serviceAccountName
:
"
"
securityContext
:
{}
securityContext
:
runAsUser
:
65534
runAsNonRoot
:
true
fsGroup
:
65534
alertmanager
:
alertmanager
:
enabled
:
false
enabled
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment