Merge branch 'develop/v.1.0.1'
This commit is contained in:
commit
352aa78a8f
1 file changed
+4
-1
@@ -52,9 +52,12 @@ spec:
|
|||||||
value: {{ .Values.k3sRestartOnIpChange | quote }}
|
value: {{ .Values.k3sRestartOnIpChange | quote }}
|
||||||
securityContext:
|
securityContext:
|
||||||
# 只需 root + D-Bus socket,无需 privileged
|
# 只需 root + D-Bus socket,无需 privileged
|
||||||
|
# NET_ADMIN: 清除切换静态后残留的动态地址(ip addr del 需要此能力)
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: false
|
capabilities:
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/network/health
|
path: /api/network/health
|
||||||
|
|||||||
Reference in new issue
Block a user