Skip to content

Commit 94924f7

Browse files
Merge pull request #51 from finleap-connect/make-crd-deployment-optional
introduce flag to make crd deployment optional
2 parents 7017b63 + 2064b74 commit 94924f7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/vault-operator/templates/crds.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.deployCRDs }}
12
# Generated by 'make manifests'
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
@@ -238,3 +239,4 @@ status:
238239
plural: ""
239240
conditions: []
240241
storedVersions: []
242+
{{- end }}

charts/vault-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5+
deployCRDs: false
6+
57
replicaCount: 1
68

79
image:

0 commit comments

Comments
 (0)