0391a4fbbc658681bf4e132722c6085e909d682d
[osm/devops.git] / installers / helm / osm / values.yaml
1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
17 # Default values for osm.
18 # This is a YAML-formatted file.
19 # Declare variables to be passed into your templates.
20
21 global:
22   replicaCount: 1
23   logLevel: INFO
24   # hostname to be used for the ingress objects
25   hostname: ~
26   image:
27     repositoryBase: docker.io/opensourcemano
28     pullPolicy: IfNotPresent
29     # Overrides the image tag whose default is the chart appVersion.
30     tag: "testing-daily"
31
32   imagePullSecrets: []
33   nameOverride: ""
34   fullnameOverride: ""
35
36   serviceAccount:
37     # Specifies whether a service account should be created
38     create: true
39     # Annotations to add to the service account
40     annotations: {}
41     # The name of the service account to use.
42     # If not set and create is true, a name is generated using the fullname template
43     name: ""
44
45   podAnnotations: {}
46
47   podSecurityContext:
48     # runAsUser: 1000
49     # runAsGroup: 1000
50     fsGroup: 1000
51
52   securityContext:
53     runAsUser: 1000
54
55   nodeSelector: {}
56
57   tolerations: []
58
59   affinity: {}
60
61   behindHttpProxy: false
62   httpProxy: {}
63     # HTTP_PROXY: <HTTP_PROXY>
64     # HTTPS_PROXY: <HTTPS_PROXY>
65     # NO_PROXY: <NO_PROXY>
66
67   oldServiceAssurance: false
68
69 airflow:
70   enabled: true
71
72 alertmanager:
73   enabled: true
74   ingress: {}
75   #   host: alertmanager.<IP_ADDRESS>.nip.io
76
77 certauth:
78   enabled: true
79
80 grafana:
81   enabled: true
82   fullnameOverride: "grafana"
83   # service:
84   #   type: NodePort
85   #   nodePort: 3000
86   #   port: 3000
87   ingress:
88     enabled: true
89     ingressClassName: nginx
90     # hosts:
91     #   - grafana.<IP_ADDRESS>.nip.io
92   extraVolumes:
93     - emptyDir: {}
94       name: sc-dashboard-volume-k8s
95     - emptyDir: {}
96       name: sc-dashboard-volume-osm
97   extraVolumeMounts:
98     - name: sc-dashboard-volume-k8s
99       mountPath: "/tmp/dashboards/Kubernetes Cluster"
100     - name: sc-dashboard-volume-osm
101       mountPath: "/tmp/dashboards/Open Source MANO"
102   rbac:
103     extraClusterRoleRules:
104     - apiGroups:
105       - ""
106       resources:
107       - configmaps
108       - secrets
109       verbs:
110       - get
111       - watch
112       - list
113   datasources:
114     datasource.yaml:
115       apiVersion: 1
116       datasources:
117       - name: osm_prometheus
118         type: prometheus
119         url: http://prometheus:9090
120         access: proxy
121         allowUiUpdates: true
122         isDefault: true
123       - name: Prometheus
124         type: prometheus
125         url: http://osm-monitoring-kube-promet-prometheus.monitoring:9090
126         access: proxy
127         allowUiUpdates: true
128         isDefault: false
129   dashboardProviders:
130     provider.yaml:
131      apiVersion: 1
132      providers:
133      - name: 'Kubernetes Cluster'
134        orgId: 1
135        folder: 'Kubernetes Cluster'
136        type: file
137        disableDeletion: false
138        options:
139          path: '/tmp/dashboards/Kubernetes Cluster'
140      - name: 'Open Source MANO'
141        orgId: 1
142        folder: 'Open Source MANO'
143        type: file
144        disableDeletion: false
145        options:
146          path: '/tmp/dashboards/Open Source MANO'
147   sidecar:
148     dashboards:
149       enabled: true
150       folder: "/tmp/dashboards/"
151       resource: both
152       searchNamespace: osm
153       extraMounts:
154         - name: sc-dashboard-volume-k8s
155           mountPath: "/tmp/dashboards/Kubernetes Cluster"
156         - name: sc-dashboard-volume-osm
157           mountPath: "/tmp/dashboards/Open Source MANO"
158   extraInitContainers:
159     - env:
160       - name: METHOD
161         value: LIST
162       - name: LABEL
163         value: grafana_datasource
164       - name: FOLDER
165         value: /etc/grafana/provisioning/datasources
166       - name: RESOURCE
167         value: both
168       image: kiwigrid/k8s-sidecar:1.15.6
169       imagePullPolicy: IfNotPresent
170       name: grafana-sc-datasources
171       resources: {}
172       terminationMessagePath: /dev/termination-log
173       terminationMessagePolicy: File
174       volumeMounts:
175       - mountPath: /etc/grafana/provisioning/datasources
176         name: config
177
178 kafka:
179   enabled: true
180   listeners:
181     client:
182       protocol: "PLAINTEXT"
183   fullnameOverride: "kafka"
184   # replicaCount: 1
185
186 keystone:
187   enabled: true
188   service:
189     port: 5000
190   image: {}
191     # repository: opensourcemano/keystone
192     # tag: "testing-daily"
193   # replicaCount: 1
194   useOsmSecret: true
195   # secretName: "keystone-secret"
196
197 lcm:
198   enabled: true
199   logLevel: DEBUG
200   image: {}
201     # repository: opensourcemano/lcm
202     # tag: "testing-daily"
203   # replicaCount: 1
204   useOsmSecret: true
205   # secretName: "lcm-secret"
206   config:
207     OSMLCM_VCA_CLOUD: "lxd-cloud"
208     OSMLCM_VCA_K8S_CLOUD: "k8scloud"
209     # OSMLCM_VCA_APIPROXY: "<VCA API proxy>"
210     # OSMLCM_VCA_ENABLEOSUPGRADE: true
211     # OSMLCM_VCA_APTMIRROR: "http://archive.ubuntu.com/ubuntu/"
212
213 mon:
214   enabled: true
215   # logLevel: DEBUG
216   image: {}
217     # repository: opensourcemano/mon
218     # tag: "testing-daily"
219   # replicaCount: 1
220   useOsmSecret: true
221   # secretName: "mon-secret"
222   config: {}
223
224 mysql:
225   enabled: true
226   image:
227     tag: "8.1-debian-11"
228   fullnameOverride: "mysql"
229
230 nbi:
231   enabled: true
232   ingress: {}
233   #   host: nbi.<IP_ADDRESS>.nip.io
234   logLevel: DEBUG
235   service: {}
236   #   type: NodePort
237   #   port: 9999
238   #   nodePort: 9999
239   image: {}
240     # repository: opensourcemano/nbi
241     # tag: "testing-daily"
242   # replicaCount: 1
243   useOsmSecret: true
244   # secretName: "nbi-secret"
245
246 ngui:
247   enabled: true
248   service: {}
249   #   type: NodePort
250   #   port: 80
251   #   nodePort: 80
252   ingress: {}
253   #   host: <IP_ADDRESS>.nip.io
254   image: {}
255     # repository: opensourcemano/ng-ui
256     # tag: "testing-daily"
257   # replicaCount: 1
258
259 # pla module is disabled by default unless global.oldServiceAssurance and pla.enabled are set to true
260 pla:
261   enabled: false
262   # logLevel: DEBUG
263   image: {}
264     # repository: opensourcemano/pla
265     # tag: "testing-daily"
266   # replicaCount: 1
267
268 # pol module is disabled by default unless global.oldServiceAssurance and pol.enabled are set to true
269 pol:
270   enabled: true
271   # logLevel: DEBUG
272   image: {}
273     # repository: opensourcemano/pol
274     # tag: "testing-daily"
275   # replicaCount: 1
276   useOsmSecret: true
277   # secretName: "pol-secret"
278
279 prometheus:
280   enabled: true
281   service:
282     type: NodePort
283     nodePort: 9091
284   # replicaCount: 1
285   sidecarImage: {}
286     # repository: opensourcemano/ro
287     # tag: "testing-daily"
288 ro:
289   enabled: true
290   # logLevel: DEBUG
291   service:
292     port: 9090
293   image: {}
294     # repository: opensourcemano/ro
295     # tag: "testing-daily"
296   # replicaCount: 1
297   useOsmSecret: true
298   # secretName: "ro-secret"
299
300 vca:
301   enabled: false
302   # host: ""
303   # secret: ""
304   # cacert: ""
305   # pubkey: ""
306
307 webhookTranslator:
308   enabled: true
309   # replicaCount: 1
310   image: {}
311     # repository: opensourcemano/webhook
312     # tag: "testing-daily"
313   ingress: {}
314   #   host: webhook.<IP_ADDRESS>.nip.io
315   # replicaCount: 1
316   service: {}
317   #   type: NodePort
318   #   nodePort: 9998
319   #   port: 9998