-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't install kubedb-catalog crds by default
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
29 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values | ||
installCRDs: true | ||
skipDeprecated: false |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{ $featureGates := .Values.featureGates }} | ||
{{- if .Values.global }} | ||
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} | ||
{{- end }} | ||
|
||
{{- if .Values.installCRDs }} | ||
|
||
{{ $overrides := printf ` | ||
metadata: | ||
annotations: | ||
"helm.sh/hook": pre-install,pre-upgrade,pre-rollback | ||
` | fromYaml }} | ||
{{- range $db, $enabled := $featureGates }} | ||
{{- if $enabled }} | ||
{{- $path := printf "files/crds/catalog.kubedb.com_%sversions.yaml" ($db | lower) }} | ||
{{- $crd := $.Files.Get $path | fromYaml }} | ||
{{- $crd = mergeOverwrite $crd $overrides }} | ||
{{- $crd | toYaml }} | ||
--- | ||
{{- if eq $db "Kafka" }} | ||
{{ $path := "files/crds/catalog.kubedb.com_kafkaconnectorversions.yaml" }} | ||
{{- $crd := $.Files.Get $path | fromYaml }} | ||
{{- $crd = mergeOverwrite $crd $overrides }} | ||
{{- $crd | toYaml }} | ||
--- | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters