Skip to content

Commit

Permalink
Added seccompProfile to dashboard spec (#6615)
Browse files Browse the repository at this point in the history
* Added seccompProfile to dashboard spec

* added securityContext to head.yaml

* added securityContext to alternative.yaml
  • Loading branch information
Garima-Negi authored Nov 29, 2021
1 parent 28ae913 commit 274c5e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aio/deploy/alternative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ spec:
labels:
k8s-app: kubernetes-dashboard
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.4.0
Expand Down
3 changes: 3 additions & 0 deletions aio/deploy/head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ spec:
labels:
k8s-app: kubernetes-dashboard-head
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: kubernetes-dashboard-head
image: kubernetesdashboarddev/dashboard:head
Expand Down
3 changes: 3 additions & 0 deletions aio/deploy/recommended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ spec:
labels:
k8s-app: kubernetes-dashboard
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.4.0
Expand Down

0 comments on commit 274c5e5

Please sign in to comment.