Skip to content

Commit

Permalink
chore: remove psp (#966)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Aug 31, 2022
1 parent 8e839e5 commit aaffbe5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 104 deletions.
@@ -1,4 +1,4 @@
{{- if .Values.rbac.pspEnabled }}
{{- if and .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down
@@ -1,4 +1,4 @@
{{- if .Values.rbac.pspEnabled }}
{{- if and .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand Down
@@ -1,4 +1,4 @@
{{- if .Values.rbac.pspEnabled }}
{{- if and .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand Down
101 changes: 0 additions & 101 deletions manifest_staging/deployment/pod-security-policy.yaml

This file was deleted.

0 comments on commit aaffbe5

Please sign in to comment.