fix(storage): add PodSecurity privileged labels for minio
Minio operator requires privileged securityContext. Without these labels, StatefulSet stuck at 0/0 replicas (PodSecurity admission blocks pod creation).
This commit is contained in:
@@ -53,6 +53,10 @@ metadata:
|
||||
name: storage
|
||||
labels:
|
||||
name: storage
|
||||
# REQUIRED: minio operator needs privileged securityContext
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
pod-security.kubernetes.io/audit: privileged
|
||||
pod-security.kubernetes.io/warn: privileged
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
|
||||
Reference in New Issue
Block a user