Allow disabling of CRD creation (#652)

Signed-off-by: Stefan Frye <frye@deitmer-it.de>
This commit is contained in:
deitmerit 2019-08-27 13:02:57 +02:00 committed by Sergey Dudoladov
parent 4a863d2280
commit 28d8f6934c
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{{ if .Values.crd.create }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
@ -99,3 +100,4 @@ spec:
subresources:
status: {}
version: v1
{{ end }}

View File

@ -238,6 +238,10 @@ rbac:
# Specifies whether RBAC resources should be created
create: true
crd:
# Specifies whether custom resource definitions should be created
create: true
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true

View File

@ -219,6 +219,10 @@ rbac:
# Specifies whether RBAC resources should be created
create: true
crd:
# Specifies whether custom resource definitions should be created
create: true
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true