-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added PSS profile seccompProfile to pods of istio (#2787)
* Added PSS profile seccompProfile to pods of istio Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> * Added seccompProfile to istio as kustomize component Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> * Undone changes made to istio/base Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> * Added seccomp files to common/istio-1-22/kubeflow-istio-resources/ Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> * Moved the seccompProfile patches to istio/base/patches Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> * Added newline character to a file Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com> --------- Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
- Loading branch information
1 parent
ea91efc
commit a0468b8
Showing
7 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
common/istio-1-22/istio-install/base/patches/seccomp-istio-ingressgateway.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited. | ||
# According to https://kubernetes.io/docs/concepts/security/pod-security-standards/#:~:text=undefined/null-,Seccomp%20(v1.19%2B),-Seccomp%20profile%20must | ||
# This is done to enable 'restricted' level security standards for the pods. | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: istio-ingressgateway | ||
namespace: istio-system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: istio-proxy | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault |
16 changes: 16 additions & 0 deletions
16
common/istio-1-22/istio-install/base/patches/seccomp-istiod.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited. | ||
# According to https://kubernetes.io/docs/concepts/security/pod-security-standards/#:~:text=undefined/null-,Seccomp%20(v1.19%2B),-Seccomp%20profile%20must | ||
# This is done to enable 'restricted' level security standards for the pods. | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: istiod | ||
namespace: istio-system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: discovery | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
common/istio-cni-1-22/istio-install/base/patches/seccomp-istio-ingressgateway.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited. | ||
# According to https://kubernetes.io/docs/concepts/security/pod-security-standards/#:~:text=undefined/null-,Seccomp%20(v1.19%2B),-Seccomp%20profile%20must | ||
# This is done to enable 'restricted' level security standards for the pods. | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: istio-ingressgateway | ||
namespace: istio-system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: istio-proxy | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault |
16 changes: 16 additions & 0 deletions
16
common/istio-cni-1-22/istio-install/base/patches/seccomp-istiod.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited. | ||
# According to https://kubernetes.io/docs/concepts/security/pod-security-standards/#:~:text=undefined/null-,Seccomp%20(v1.19%2B),-Seccomp%20profile%20must | ||
# This is done to enable 'restricted' level security standards for the pods. | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: istiod | ||
namespace: istio-system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: discovery | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters