mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Changing policyType to podSecurityStandard
Signed-off-by: Raj Babu Das <mail.rajdas@gmail.com>
This commit is contained in:
parent
bb9e73a316
commit
5d7d7157ad
16 changed files with 18 additions and 17 deletions
|
@ -99,7 +99,7 @@ Parameter | Description | Default
|
|||
`service.type` | type of service | `ClusterIP`
|
||||
`tolerations` | list of node taints to tolerate | `[]`
|
||||
`securityContext` | security context configuration | `{}`
|
||||
|
||||
`podSecurityStandard` | set desired pod security level `privileged`, `default`, `restricted`. Set to `restricted` for maximum security for your cluster. See: https://kyverno.io/policies/pod-security/ | `default`
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "default" }}
|
||||
{{- if eq .Values.podSecurityStandard "default" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "restricted" }}
|
||||
{{- if eq .Values.podSecurityStandard "restricted" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "restricted" }}
|
||||
{{- if eq .Values.podSecurityStandard "restricted" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "restricted" }}
|
||||
{{- if eq .Values.podSecurityStandard "restricted" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "restricted" }}
|
||||
{{- if eq .Values.podSecurityStandard "restricted" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .Values.policyType "restricted" }}
|
||||
{{- if eq .Values.podSecurityStandard "restricted" }}
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
nameOverride:
|
||||
fullnameOverride:
|
||||
namespace:
|
||||
# Supported- default/restricted
|
||||
policyType: default
|
||||
# Supported- default/restricted/privileged
|
||||
# For more info- https://kyverno.io/policies/pod-security
|
||||
podSecurityStandard: default
|
||||
|
||||
rbac:
|
||||
create: true
|
||||
|
|
Loading…
Add table
Reference in a new issue