summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/kc
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/kc')
-rw-r--r--vnfs/DAaaS/kc/topic.yaml11
-rw-r--r--vnfs/DAaaS/kc/values.yaml10
2 files changed, 21 insertions, 0 deletions
diff --git a/vnfs/DAaaS/kc/topic.yaml b/vnfs/DAaaS/kc/topic.yaml
new file mode 100644
index 00000000..780ed32f
--- /dev/null
+++ b/vnfs/DAaaS/kc/topic.yaml
@@ -0,0 +1,11 @@
+apiVersion: kafka.strimzi.io/v1alpha1
+kind: KafkaTopic
+metadata:
+ name: {{ .Values.topic.name }}
+ labels:
+ strimzi.io/cluster: {{ .Values.topic.cluster }}
+ annotations:
+ "helm.sh/hook": "post-install"
+spec:
+ partitions: {{ .Values.topic.partitions }}
+ replicas: {{ .Values.topic.replicas }}
diff --git a/vnfs/DAaaS/kc/values.yaml b/vnfs/DAaaS/kc/values.yaml
new file mode 100644
index 00000000..e877085c
--- /dev/null
+++ b/vnfs/DAaaS/kc/values.yaml
@@ -0,0 +1,10 @@
+# Default values for kafka.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
+namespace: kafka
+topic:
+ name: orders
+ cluster: my-cluster
+ partitions: 10
+ replicas: 2 \ No newline at end of file