Skip to content

Commit 47e0282

Browse files
committed
feat: optionally install CRD's based on helm value
1 parent 60303ad commit 47e0282

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

helm/operator/templates/minio.min.io_tenants.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{ if .Values.operator.installCRDs }}
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
@@ -5754,3 +5755,4 @@ spec:
57545755
storage: true
57555756
subresources:
57565757
status: {}
5758+
{{ end }}

helm/operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ operator:
7575
# pullPolicy: IfNotPresent
7676
#
7777
sidecarImage: {}
78+
# Install custom resource definitions
79+
installCRDs: true
7880
###
7981
#
8082
# An array of Kubernetes secrets to use for pulling images from a private ``image.repository``.

0 commit comments

Comments
 (0)