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