Skip to content

Commit db7befa

Browse files
committed
Add masterServiceAnnotations & replicaServiceAnnotations to Go representation
1 parent 030c482 commit db7befa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pkg/apis/acid.zalan.do/v1/crds.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,14 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
355355
},
356356
},
357357
},
358+
"masterServiceAnnotations": {
359+
Type: "object",
360+
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
361+
Schema: &apiextv1.JSONSchemaProps{
362+
Type: "string",
363+
},
364+
},
365+
},
358366
"nodeAffinity": {
359367
Type: "object",
360368
Properties: map[string]apiextv1.JSONSchemaProps{
@@ -654,6 +662,14 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
654662
Type: "boolean",
655663
Description: "deprecated",
656664
},
665+
"replicaServiceAnnotations": {
666+
Type: "object",
667+
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
668+
Schema: &apiextv1.JSONSchemaProps{
669+
Type: "string",
670+
},
671+
},
672+
},
657673
"resources": {
658674
Type: "object",
659675
Properties: map[string]apiextv1.JSONSchemaProps{

0 commit comments

Comments
 (0)