Compare commits

..

2 Commits

4 changed files with 22 additions and 5 deletions

View File

@ -12,7 +12,7 @@ releases:
chart: bitnami/redis chart: bitnami/redis
namespace: databases namespace: databases
condition: redis.enabled condition: redis.enabled
version: 20.7.0 version: 20.7.1
inherit: inherit:
- template: default-env-values - template: default-env-values
- template: default-env-secrets - template: default-env-secrets

View File

@ -77,7 +77,6 @@ releases:
- name: kyverno - name: kyverno
chart: kyverno/kyverno chart: kyverno/kyverno
namespace: kyverno namespace: kyverno
condition: workload.enabled
labels: labels:
bootstrap: true bootstrap: true
version: 3.3.6 version: 3.3.6
@ -85,7 +84,6 @@ releases:
- name: kyverno-policies - name: kyverno-policies
chart: kyverno/kyverno-policies chart: kyverno/kyverno-policies
namespace: kyverno namespace: kyverno
condition: workload.enabled
labels: labels:
bootstrap: true bootstrap: true
version: 3.3.4 version: 3.3.4
@ -93,9 +91,8 @@ releases:
- kyverno/kyverno - kyverno/kyverno
- name: custom-kyverno-policies - name: custom-kyverno-policies
chart: ../../kustomizations/kyverno/ chart: "../../kustomizations/kyverno/{{ .Environment.Name }}"
namespace: kyverno namespace: kyverno
condition: workload.enabled
labels: labels:
bootstrap: true bootstrap: true
needs: needs:

View File

@ -0,0 +1,20 @@
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: replace-storage-class-by-openebs
spec:
rules:
- name: replace-storage-class
match:
any:
- resources:
kinds:
- PersistentVolumeClaim
namespaces:
- application
- platform
mutate:
patchStrategicMerge:
metadata:
annotations:
volume.kubernetes.io/selected-node: yekaterinburg