fix: imagePullSecrets in all necessary places
This commit is contained in:
parent
0350ce9150
commit
3313a378d8
|
|
@ -138,6 +138,16 @@ spec:
|
|||
connectionPooler:
|
||||
type: object
|
||||
properties:
|
||||
imagePullSecrets:
|
||||
type: array
|
||||
nullable: true
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
dockerImage:
|
||||
type: string
|
||||
maxDBConnections:
|
||||
|
|
|
|||
|
|
@ -220,6 +220,19 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
|
|||
"connectionPooler": {
|
||||
Type: "object",
|
||||
Properties: map[string]apiextv1.JSONSchemaProps{
|
||||
"imagePullSecrets": {
|
||||
Type: "array",
|
||||
Nullable: true,
|
||||
Items: &apiextv1.JSONSchemaPropsOrArray{
|
||||
Schema: &apiextv1.JSONSchemaProps{
|
||||
Type: "object",
|
||||
Required: []string{"name"},
|
||||
Properties: map[string]apiextv1.JSONSchemaProps{
|
||||
"name": {Type: "string"},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"dockerImage": {
|
||||
Type: "string",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue