github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-monitoring-operator/templates/configmap.yaml (about)

     1  # Copyright (c) 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  apiVersion: v1
     5  kind: ConfigMap
     6  metadata:
     7    name: {{ .Values.monitoringOperator.name }}-config
     8    namespace: {{ .Release.Namespace }}
     9    labels:
    10      app: {{ .Values.monitoringOperator.name }}
    11  data:
    12    config: |
    13      metricsPort: {{ .Values.monitoringOperator.metricsPort }}
    14      defaultSimpleCompReplicas: {{ .Values.monitoringOperator.defaultSimpleCompReplicas }}
    15      defaultPrometheusReplicas: {{ .Values.monitoringOperator.defaultPrometheusReplicas }}
    16      {{- if .Values.config.envName }}
    17      {{- if .Values.config.dnsSuffix }}
    18      defaultIngressTargetDNSName: {{ .Values.config.envName }}-verrazzano-ingress.{{ .Values.config.dnsSuffix }}
    19      {{- end }}
    20      {{- end }}