*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 7b7ddafb authored by entlein's avatar entlein
Browse files

moving logging into kube-system to test if it ll run in unrestricted mode at least

parent 592286fd
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -3,7 +3,7 @@
kind: Namespace
apiVersion: v1
metadata:
name: cattle-logging-system
name: kube-system
---
......@@ -16,7 +16,7 @@ spec:
repo: {{ item.value.repo | default("https://charts.rancher.io") }}
chart: rancher-logging-crd
version: {{ item.value.version | default("3.15.0") }}
targetNamespace: cattle-logging-system
targetNamespace: kube-system
---
......@@ -30,7 +30,7 @@ spec:
repo: {{ item.value.repo | default("https://charts.rancher.io") }}
chart: rancher-logging
version: {{ item.value.version | default("3.15.0") }}
targetNamespace: cattle-logging-system
targetNamespace: kube-system
valuesContent: |-
createCustomResource: true
global:
......@@ -39,16 +39,9 @@ spec:
additionalLoggingSources:
rke2:
enabled: true
podSecurityContext:
runAsNonRoot: true
runAsUser: 1000
fsGroup: 2000
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
debug: true
# Moving it into kube-system as a last resort cause there it can run unrestricted, this might not work due to network, lets try
# Need for fluentd statefulset the Security Context RunasUser
# when running it runAsUser it needs perms /usr/lib/ruby/2.7.0/logger/log_device.rb:103:in `initialize': Permission denied @ rb_sysopen - /fluentd/log/out (Errno::EACCES)
---
......@@ -62,7 +55,7 @@ spec:
repo: {{ item.value.repo | default("https://grafana.github.io/helm-charts") }}
chart: loki
version: {{ item.value.lokiversion | default("2.11.1") }}
targetNamespace: cattle-logging-system
targetNamespace: kube-system
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment