Fix issue with read only configuration
This commit is contained in:
parent
b8a102bd0b
commit
7300def6dc
@ -13,12 +13,12 @@ metadata:
|
|||||||
name: minio-operator
|
name: minio-operator
|
||||||
namespace: default
|
namespace: default
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: ["communiquons.org"]
|
- apiGroups: ["communiquons.org"]
|
||||||
resources: ["minioinstances", "miniobuckets"]
|
resources: ["minioinstances", "miniobuckets"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["secrets"]
|
resources: ["secrets"]
|
||||||
verbs: ["get", "create"]
|
verbs: ["get", "create"]
|
||||||
---
|
---
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
@ -26,9 +26,9 @@ metadata:
|
|||||||
name: minio-operator
|
name: minio-operator
|
||||||
namespace: default
|
namespace: default
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: minio-operator
|
name: minio-operator
|
||||||
namespace: default
|
namespace: default
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
@ -63,6 +63,10 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
cpu: "0.01"
|
cpu: "0.01"
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /tmp
|
||||||
|
readOnly: false
|
||||||
|
name: tempdir
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
@ -70,4 +74,8 @@ spec:
|
|||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
volumes:
|
||||||
|
- name: tempdir
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: 500Mi
|
||||||
|
Loading…
Reference in New Issue
Block a user