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

     1  apiVersion: apps.kubeblocks.io/v1alpha1
     2  kind: ConfigConstraint
     3  metadata:
     4    name: mongodb-config-constraints
     5    labels:
     6      {{- include "mongodb.labels" . | nindent 4 }}
     7  spec:
     8  
     9    ## top level mysql configuration type
    10    cfgSchemaTopLevelName: MongodbParameters
    11  
    12    ## defines the configuration schema
    13    configurationSchema:
    14      cue: ""
    15  {{/*    cue: |-*/}}
    16  {{/*      {{- .Files.Get "config/mongodb-config-constraint.cue" | nindent 6 }}*/}}
    17  
    18    # mysql configuration file format
    19    formatterConfig:
    20      format: yaml