Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PSS to contrib/baseline and contrib/restricted as kustomize components #2757

Merged
merged 5 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions contrib/security/PSS/static/baseline/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ../../../../../common/kubeflow-namespace/base
- ../../../../../common/istio-1-22/istio-namespace/base

patches:
- path: patches/kubeflow-labels.yaml
- path: patches/istio-labels.yaml
4 changes: 0 additions & 4 deletions contrib/security/PSS/static/restricted/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ../../../../../common/kubeflow-namespace/base
- ../../../../../common/istio-1-22/istio-namespace/base

patches:
- path: patches/kubeflow-labels.yaml
- path: patches/istio-labels.yaml
6 changes: 6 additions & 0 deletions example/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,9 @@ resources:
# KServe
- ../contrib/kserve/kserve
- ../contrib/kserve/models-web-app/overlays/kubeflow

#Pod Security Standarards enabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the spelling

#uncomment below to enable baseline level standards
# - ../contrib/security/PSS/static/baseline
#uncomment below to enable restricted level standards
# - ../contrib/security/PSS/static/restricted