Revert "Feature 11010: Use of upstream helm charts for Prometheus and Grafana in...
[osm/devops.git] / installers / helm / osm / values.yaml
index f4683f2..0391a4f 100644 (file)
@@ -21,7 +21,8 @@
 global:
   replicaCount: 1
   logLevel: INFO
-
+  # hostname to be used for the ingress objects
+  hostname: ~
   image:
     repositoryBase: docker.io/opensourcemano
     pullPolicy: IfNotPresent
@@ -68,16 +69,118 @@ global:
 airflow:
   enabled: true
 
+alertmanager:
+  enabled: true
+  ingress: {}
+  #   host: alertmanager.<IP_ADDRESS>.nip.io
+
 certauth:
   enabled: true
 
 grafana:
   enabled: true
+  fullnameOverride: "grafana"
+  # service:
+  #   type: NodePort
+  #   nodePort: 3000
+  #   port: 3000
+  ingress:
+    enabled: true
+    ingressClassName: nginx
+    # hosts:
+    #   - grafana.<IP_ADDRESS>.nip.io
+  extraVolumes:
+    - emptyDir: {}
+      name: sc-dashboard-volume-k8s
+    - emptyDir: {}
+      name: sc-dashboard-volume-osm
+  extraVolumeMounts:
+    - name: sc-dashboard-volume-k8s
+      mountPath: "/tmp/dashboards/Kubernetes Cluster"
+    - name: sc-dashboard-volume-osm
+      mountPath: "/tmp/dashboards/Open Source MANO"
+  rbac:
+    extraClusterRoleRules:
+    - apiGroups:
+      - ""
+      resources:
+      - configmaps
+      - secrets
+      verbs:
+      - get
+      - watch
+      - list
+  datasources:
+    datasource.yaml:
+      apiVersion: 1
+      datasources:
+      - name: osm_prometheus
+        type: prometheus
+        url: http://prometheus:9090
+        access: proxy
+        allowUiUpdates: true
+        isDefault: true
+      - name: Prometheus
+        type: prometheus
+        url: http://osm-monitoring-kube-promet-prometheus.monitoring:9090
+        access: proxy
+        allowUiUpdates: true
+        isDefault: false
+  dashboardProviders:
+    provider.yaml:
+     apiVersion: 1
+     providers:
+     - name: 'Kubernetes Cluster'
+       orgId: 1
+       folder: 'Kubernetes Cluster'
+       type: file
+       disableDeletion: false
+       options:
+         path: '/tmp/dashboards/Kubernetes Cluster'
+     - name: 'Open Source MANO'
+       orgId: 1
+       folder: 'Open Source MANO'
+       type: file
+       disableDeletion: false
+       options:
+         path: '/tmp/dashboards/Open Source MANO'
+  sidecar:
+    dashboards:
+      enabled: true
+      folder: "/tmp/dashboards/"
+      resource: both
+      searchNamespace: osm
+      extraMounts:
+        - name: sc-dashboard-volume-k8s
+          mountPath: "/tmp/dashboards/Kubernetes Cluster"
+        - name: sc-dashboard-volume-osm
+          mountPath: "/tmp/dashboards/Open Source MANO"
+  extraInitContainers:
+    - env:
+      - name: METHOD
+        value: LIST
+      - name: LABEL
+        value: grafana_datasource
+      - name: FOLDER
+        value: /etc/grafana/provisioning/datasources
+      - name: RESOURCE
+        value: both
+      image: kiwigrid/k8s-sidecar:1.15.6
+      imagePullPolicy: IfNotPresent
+      name: grafana-sc-datasources
+      resources: {}
+      terminationMessagePath: /dev/termination-log
+      terminationMessagePolicy: File
+      volumeMounts:
+      - mountPath: /etc/grafana/provisioning/datasources
+        name: config
 
 kafka:
   enabled: true
-  service:
-    port: 9092
+  listeners:
+    client:
+      protocol: "PLAINTEXT"
+  fullnameOverride: "kafka"
   # replicaCount: 1
 
 keystone:
@@ -120,20 +223,19 @@ mon:
 
 mysql:
   enabled: true
-  # dbHostPath: "/var/lib/osm/osm"
-  service:
-    port: 3306
-  # replicaCount: 1
-  useOsmSecret: true
-  # secretName: "ro-db-secret"
+  image:
+    tag: "8.1-debian-11"
+  fullnameOverride: "mysql"
 
 nbi:
   enabled: true
+  ingress: {}
+  #   host: nbi.<IP_ADDRESS>.nip.io
   logLevel: DEBUG
-  service:
-    type: NodePort
-    port: 9999
-    nodePort: 9999
+  service: {}
+    type: NodePort
+    port: 9999
+    nodePort: 9999
   image: {}
     # repository: opensourcemano/nbi
     # tag: "testing-daily"
@@ -143,10 +245,12 @@ nbi:
 
 ngui:
   enabled: true
-  service:
-    type: NodePort
-    port: 80
-    nodePort: 80
+  service: {}
+  #   type: NodePort
+  #   port: 80
+  #   nodePort: 80
+  ingress: {}
+  #   host: <IP_ADDRESS>.nip.io
   image: {}
     # repository: opensourcemano/ng-ui
     # tag: "testing-daily"
@@ -181,7 +285,6 @@ prometheus:
   sidecarImage: {}
     # repository: opensourcemano/ro
     # tag: "testing-daily"
-
 ro:
   enabled: true
   # logLevel: DEBUG
@@ -195,7 +298,7 @@ ro:
   # secretName: "ro-secret"
 
 vca:
-  enabled: true
+  enabled: false
   # host: ""
   # secret: ""
   # cacert: ""
@@ -203,17 +306,14 @@ vca:
 
 webhookTranslator:
   enabled: true
-  service:
-    type: NodePort
-    nodePort: 9998
-    port: 9998
+  # replicaCount: 1
   image: {}
     # repository: opensourcemano/webhook
     # tag: "testing-daily"
+  ingress: {}
+  #   host: webhook.<IP_ADDRESS>.nip.io
   # replicaCount: 1
-
-zookeeper:
-  enabled: true
-  service:
-    port: 2181
-  # replicaCount: 1
+  service: {}
+  #   type: NodePort
+  #   nodePort: 9998
+  #   port: 9998