[incubator/cassandra-operator] Introduce crds directory for compatibi… (#19207)

* [incubator/cassandra-operator] Introduce crds directory for compatibility with Helm v3

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump up chart version

Signed-off-by: Xiang Dai <764524258@qq.com>

* update README

Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
Xiang Dai
2019-12-01 03:59:03 -08:00
committed by Kubernetes Prow Robot
parent 1bcc3eb5ef
commit 4055b4c48b
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ name: cassandra-operator
home: https://github.com/Orange-OpenSource/cassandra-k8s-operator
sources:
- https://github.com/Orange-OpenSource/cassandra-k8s-operator
version: 0.3.2
version: 0.3.3
appVersion: 0.3.1-mater
maintainers:
- name: allamand
+1
View File
@@ -26,6 +26,7 @@ The following tables lists the configurable parameters of the Cassandra Operator
| `resources` | Pod resource requests & limits | `{}` |
| `metricService` | deploy service for metrics | `false` |
| `debug.enabled` | activate DEBUG log level | `false` |
| `createCustomResource` | If false, do not create custom resource(do not require with Helm v3) | `false` |
@@ -1,4 +1,3 @@
{{- if .Values.createCustomResource }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
@@ -14,4 +13,3 @@ spec:
singular: cassandracluster
scope: Namespaced
version: v1alpha1
{{- end }}
@@ -0,0 +1,6 @@
{{- if .Values.createCustomResource }}
{{- range $path, $bytes := .Files.Glob "crds/*.yaml" }}
{{ $.Files.Get $path }}
---
{{- end }}
{{- end }}