mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 07:28:06 +00:00
Add runAsNonRoot: true and allowPrivilegeEscalation: false to the specs
Signed-off-by: Volodymyr Zotov <volodymyr.zotov@gmail.com>
This commit is contained in:
@@ -12,6 +12,8 @@ spec:
|
|||||||
app: onepassword-connect
|
app: onepassword-connect
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: shared-data
|
- name: shared-data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
@@ -32,6 +34,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: connect-api
|
- name: connect-api
|
||||||
image: 1password/connect-api:latest
|
image: 1password/connect-api:latest
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
@@ -49,6 +53,8 @@ spec:
|
|||||||
name: shared-data
|
name: shared-data
|
||||||
- name: connect-sync
|
- name: connect-sync
|
||||||
image: 1password/connect-sync:latest
|
image: 1password/connect-sync:latest
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
@@ -8,6 +8,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
containers:
|
containers:
|
||||||
- name: kube-rbac-proxy
|
- name: kube-rbac-proxy
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@@ -6,6 +6,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
containers:
|
containers:
|
||||||
- name: manager
|
- name: manager
|
||||||
args:
|
args:
|
||||||
|
Reference in New Issue
Block a user