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

     1  {{- include "kblib.clusterCommon" . }}
     2    clusterDefinitionRef: postgresql
     3    componentSpecs:
     4      - name: postgresql
     5        componentDefRef: postgresql
     6        {{- include "kblib.componentMonitor" . | indent 6 }}
     7        {{- include "postgresql-cluster.replicaCount" . | indent 6 }}
     8        enabledLogs:
     9          - running
    10        serviceAccountName: {{ include "kblib.serviceAccountName" . }}
    11        switchPolicy:
    12          type: Noop
    13        {{- include "kblib.componentResources" . | indent 6 }}
    14        {{- include "kblib.componentStorages" . | indent 6 }}
    15        {{- include "kblib.componentServices" . | indent 6 }}