Skip to content

Commit d1a8eb6

Browse files
committed
binding template
Signed-off-by: Samiul <samiul@appscode.com>
1 parent 2172164 commit d1a8eb6

3 files changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- if .Values.spec.admin.expose.enable.default }}
2+
apiVersion: catalog.appscode.com/v1alpha1
3+
kind: MilvusBinding
4+
metadata:
5+
name: {{ include "kubedbcom-milvus-editor-options.fullname" . }}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "kubedbcom-milvus-editor-options.labels" . | nindent 4 }}
9+
spec:
10+
sourceRef:
11+
name: {{ include "kubedbcom-milvus-editor-options.fullname" . }}
12+
namespace: {{ .Release.Namespace }}
13+
uiExposure:
14+
disableUI: {{ .Values.spec.admin.expose.uiExposure.disableUI }}
15+
disableCostEfficiency: {{ .Values.spec.admin.expose.uiExposure.disableCostEfficiency }}
16+
{{- end }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- if .Values.spec.admin.expose.enable.default }}
2+
apiVersion: catalog.appscode.com/v1alpha1
3+
kind: QdrantBinding
4+
metadata:
5+
name: {{ include "kubedbcom-qdrant-editor.fullname" . }}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "kubedbcom-qdrant-editor.labels" . | nindent 4 }}
9+
spec:
10+
sourceRef:
11+
name: {{ include "kubedbcom-qdrant-editor.fullname" . }}
12+
namespace: {{ .Release.Namespace }}
13+
uiExposure:
14+
disableUI: {{ .Values.spec.admin.expose.uiExposure.disableUI }}
15+
disableCostEfficiency: {{ .Values.spec.admin.expose.uiExposure.disableCostEfficiency }}
16+
{{- end }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- if .Values.spec.admin.expose.enable.default }}
2+
apiVersion: catalog.appscode.com/v1alpha1
3+
kind: WeaviateBinding
4+
metadata:
5+
name: {{ include "kubedbcom-weaviate-editor-options.fullname" . }}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "kubedbcom-weaviate-editor-options.labels" . | nindent 4 }}
9+
spec:
10+
sourceRef:
11+
name: {{ include "kubedbcom-weaviate-editor-options.fullname" . }}
12+
namespace: {{ .Release.Namespace }}
13+
uiExposure:
14+
disableUI: {{ .Values.spec.admin.expose.uiExposure.disableUI }}
15+
disableCostEfficiency: {{ .Values.spec.admin.expose.uiExposure.disableCostEfficiency }}
16+
{{- end }}

0 commit comments

Comments
 (0)