fix: imagePullSecrets in all necessary places

This commit is contained in:
mbuken 2026-01-12 07:46:22 +01:00
parent 0350ce9150
commit 3313a378d8
2 changed files with 23 additions and 0 deletions

View File

@ -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:

View File

@ -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",
},