Add Kafka and Zookeeper charms in operator framework
Change-Id: I15645825ab8ff927ad0f72bbfd53ea71343b2be4
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/charm/zookeeper/metadata.yaml b/installers/charm/zookeeper/metadata.yaml
new file mode 100644
index 0000000..5a8bfb4
--- /dev/null
+++ b/installers/charm/zookeeper/metadata.yaml
@@ -0,0 +1,51 @@
+# Copyright 2020 Canonical Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact: legal@canonical.com
+#
+# To get in touch with the maintainers, please contact:
+# osm-charmers@lists.launchpad.net
+##
+
+name: zookeeper
+summary: "Zookeeper charm for Kubernetes."
+description: |
+ A CAAS charm to deploy zookeeper.
+series:
+ - kubernetes
+tags:
+ - kubernetes
+ - osm
+ - zookeeper
+min-juju-version: 2.8.0
+resources:
+ image:
+ type: oci-image
+ description: OSM docker image for zookeeper
+ upstream-source: |
+ "rocks.canonical.com:443/k8s.gcr.io/kubernetes-zookeeper:1.0-3.4.10"
+provides:
+ zookeeper:
+ interface: zookeeper
+peers:
+ cluster:
+ interface: zookeeper-cluster
+storage:
+ database:
+ type: filesystem
+ location: /var/lib/zookeeper
+deployment:
+ type: stateful
+ service: cluster