github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/official-postgresql/templates/configconstraint-12.yaml (about) 1 apiVersion: apps.kubeblocks.io/v1alpha1 2 kind: ConfigConstraint 3 metadata: 4 name: official-postgresql12-cc 5 labels: 6 {{- include "official-postgresql.labels" . | nindent 4 }} 7 spec: 8 # top level pg configuration type 9 cfgSchemaTopLevelName: PGParameter 10 11 # ConfigurationSchema that impose restrictions on engine parameter's rule 12 configurationSchema: 13 # schema: auto generate from cue scripts 14 # example: ../../pkg/configuration/testdata/mysql_openapi.json 15 cue: |- 16 {{- .Files.Get "config/pg12-config-constraint.cue" | nindent 6 }} 17 # configuration file format 18 formatterConfig: 19 format: properties