mirror of https://git.rancher.io/charts
[rancher-alerting-drivers] Use global.cattle.psp.enabled field and bump major version
parent
c9a4aaefd3
commit
fb81b0ba41
|
@ -52,7 +52,7 @@ rules:
|
|||
- apiGroups: [""]
|
||||
resources: ["serviceaccounts"]
|
||||
verbs: ["get", "patch"]
|
||||
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
|
||||
{{- if .Values.global.cattle.psp.enabled }}
|
||||
- apiGroups: ["policy"]
|
||||
resources: ["podsecuritypolicies"]
|
||||
verbs: ["use"]
|
||||
|
@ -77,7 +77,7 @@ subjects:
|
|||
name: {{ include "drivers.fullname" . }}-patch-sa
|
||||
namespace: {{ .Release.Namespace }}
|
||||
---
|
||||
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
|
||||
{{- if .Values.global.cattle.psp.enabled }}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodSecurityPolicy
|
||||
metadata:
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
global:
|
||||
cattle:
|
||||
psp:
|
||||
enabled: false
|
||||
# the registry where all images will be pulled from
|
||||
systemDefaultRegistry: ""
|
||||
kubectl:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
url: local
|
||||
version: 101.0.1
|
||||
version: 102.0.0
|
||||
|
|
|
@ -23,7 +23,7 @@ rancher-aks-operator:
|
|||
rancher-aks-operator-crd:
|
||||
- 101.0.1+up1.1.0-rc2
|
||||
rancher-alerting-drivers:
|
||||
- 101.0.1
|
||||
- 102.0.0
|
||||
rancher-backup:
|
||||
- 3.0.1-rc4
|
||||
rancher-backup-crd:
|
||||
|
|
Loading…
Reference in New Issue