From 621085f6e9a4fac5b5b26073bbcefba8468cccb4 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 22 Sep 2024 05:16:37 +0100 Subject: [PATCH] ???????? --- infrastructure/kube-sphere/installer.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/infrastructure/kube-sphere/installer.yaml b/infrastructure/kube-sphere/installer.yaml index d0cf9e9..564656a 100644 --- a/infrastructure/kube-sphere/installer.yaml +++ b/infrastructure/kube-sphere/installer.yaml @@ -288,6 +288,8 @@ spec: - name: installer image: kubesphere/ks-installer:v3.4.0 imagePullPolicy: "Always" + securityContext: + privileged: true resources: limits: cpu: "1" @@ -295,12 +297,12 @@ spec: requests: cpu: 20m memory: 100Mi - # volumeMounts: - # - mountPath: /etc/localtime - # name: host-time - # readOnly: true - # volumes: - # - hostPath: - # path: /etc/localtime - # type: "" - # name: host-time + volumeMounts: + - mountPath: /etc/localtime + name: host-time + readOnly: true + volumes: + - hostPath: + path: /etc/localtime + type: "" + name: host-time