mirror of https://git.rancher.io/charts
make charts
parent
5d1f34e8dd
commit
566897c1fb
Binary file not shown.
|
@ -10,11 +10,13 @@ rules:
|
|||
resources:
|
||||
- customresourcedefinitions
|
||||
verbs: ['create', 'get', 'patch', 'delete']
|
||||
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
|
||||
- apiGroups: ['policy']
|
||||
resources: ['podsecuritypolicies']
|
||||
verbs: ['use']
|
||||
resourceNames:
|
||||
- {{ .Chart.Name }}-manager
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
|
@ -39,6 +41,7 @@ metadata:
|
|||
labels:
|
||||
app: {{ .Chart.Name }}-manager
|
||||
---
|
||||
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodSecurityPolicy
|
||||
metadata:
|
||||
|
@ -70,3 +73,4 @@ spec:
|
|||
volumes:
|
||||
- 'configMap'
|
||||
- 'secret'
|
||||
{{- end }}
|
||||
|
|
|
@ -5801,9 +5801,9 @@ entries:
|
|||
catalog.cattle.io/namespace: cattle-gatekeeper-system
|
||||
catalog.cattle.io/release-name: rancher-gatekeeper-crd
|
||||
apiVersion: v1
|
||||
created: "2022-11-18T11:11:50.296121088+05:30"
|
||||
created: "2022-12-16T16:33:58.060712687+05:30"
|
||||
description: Installs the CRDs for rancher-gatekeeper.
|
||||
digest: 9b5f2ff7bbe792e1bcd138f72ddacafe270228f6a3e8da1f0fcaa6f87f7abb5f
|
||||
digest: 1a185e1c7f3cac139729ff46a2511126f5cd8ddd92729fb47332e4a9dfaea3a0
|
||||
name: rancher-gatekeeper-crd
|
||||
type: application
|
||||
urls:
|
||||
|
|
Loading…
Reference in New Issue