github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/configmap.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: {{ include "kubeblocks.fullname" . }}-manager-config
     5    labels:
     6      {{- include "kubeblocks.labels" . | nindent 4 }}
     7  data:
     8    config.yaml: |
     9      {{- with .Values.dataPlane }}
    10      # data plane tolerations
    11      DATA_PLANE_TOLERATIONS: {{ toJson .tolerations | squote }}
    12  
    13      # data plane affinity
    14      DATA_PLANE_AFFINITY: {{ toJson .affinity | squote }}
    15      {{- end }}
    16  
    17      # the default storage class name.
    18      DEFAULT_STORAGE_CLASS: {{ include "kubeblocks.defaultStorageClass" . | quote }}