mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
1bcc3eb5ef
commit
4055b4c48b
@@ -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
|
||||
|
||||
@@ -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` |
|
||||
|
||||
|
||||
|
||||
|
||||
-2
@@ -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 }}
|
||||
Reference in New Issue
Block a user