Prepare installer and pods for Rel TWELVE
[osm/devops.git] / installers / charm / mongodb-k8s / config.yaml
1 # Copyright 2021 Canonical Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
13 # under the License.
14 #
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
17 #
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
20 ##
21
22 options:
23   advertised-hostname:
24     description: MongoDB Hostname
25     type: string
26     default: mongodb-k8s
27   advertised-port:
28     description: MongoDB port
29     type: int
30     default: 27017
31   replica-set:
32     description: Mongo Replica-set name
33     type: string
34     default: rs0
35   namespace:
36     description: Kubernetes namespace
37     type: string
38     default: osm
39   service-name:
40     description: Headless service name
41     type: string
42     default: mongodb-k8s-endpoints
43   cluster-domain:
44     description: Cluster domain
45     type: string
46     default: cluster.local
47   enable-sidecar:
48     description: Enable sidecar
49     type: boolean
50     default: false
51   mongodb-image:
52     type: string
53     description: OCI image
54     default: rocks.canonical.com:443/mongo:latest
55   sidecar-image:
56     type: string
57     description: OCI image
58     default: rocks.canonical.com:443/cvallance/mongo-k8s-sidecar:latest