Skip to content

Commit

Permalink
Merge branch 'main' into K8SPG-487
Browse files Browse the repository at this point in the history
  • Loading branch information
pooknull authored Dec 23, 2024
2 parents c635811 + 2dddc34 commit bbcf318
Show file tree
Hide file tree
Showing 26 changed files with 67 additions and 318 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ spec:
type: object
spec:
properties:
autoCreateUserSchema:
description: |-
Whether or not the cluster has schemas automatically created for the user
defined in `spec.users` for all of the databases listed for that user.
type: boolean
backups:
description: PostgreSQL backup configuration
properties:
Expand Down
5 changes: 5 additions & 0 deletions config/crd/bases/pgv2.percona.com_perconapgclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ spec:
type: object
spec:
properties:
autoCreateUserSchema:
description: |-
Whether or not the cluster has schemas automatically created for the user
defined in `spec.users` for all of the databases listed for that user.
type: boolean
backups:
description: PostgreSQL backup configuration
properties:
Expand Down
5 changes: 5 additions & 0 deletions deploy/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ spec:
type: object
spec:
properties:
autoCreateUserSchema:
description: |-
Whether or not the cluster has schemas automatically created for the user
defined in `spec.users` for all of the databases listed for that user.
type: boolean
backups:
description: PostgreSQL backup configuration
properties:
Expand Down
2 changes: 2 additions & 0 deletions deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ spec:

# openshift: true

# autoCreateUserSchema: true

# users:
# - name: rhino
# databases:
Expand Down
5 changes: 5 additions & 0 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ spec:
type: object
spec:
properties:
autoCreateUserSchema:
description: |-
Whether or not the cluster has schemas automatically created for the user
defined in `spec.users` for all of the databases listed for that user.
type: boolean
backups:
description: PostgreSQL backup configuration
properties:
Expand Down
5 changes: 5 additions & 0 deletions deploy/cw-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ spec:
type: object
spec:
properties:
autoCreateUserSchema:
description: |-
Whether or not the cluster has schemas automatically created for the user
defined in `spec.users` for all of the databases listed for that user.
type: boolean
backups:
description: PostgreSQL backup configuration
properties:
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ kind: PerconaPGCluster
metadata:
name: upgrade-consistency
spec:
crVersion: 2.1.0
crVersion: 2.4.0
status:
pgbouncer:
ready: 3
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/01-create-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ commands:
get_cr \
| yq eval '
.spec.crVersion="2.1.0"' - \
.spec.crVersion="2.4.0"' - \
| kubectl -n "${NAMESPACE}" apply -f -
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ kind: PerconaPGCluster
metadata:
name: upgrade-consistency
spec:
crVersion: 2.2.0
crVersion: 2.5.0
status:
pgbouncer:
ready: 3
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/02-patch-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands:
get_cr \
| yq eval '
.spec.crVersion="2.2.0"' - \
.spec.crVersion="2.5.0"' - \
| kubectl -n "${NAMESPACE}" apply -f -
sleep 10
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/03-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ kind: PerconaPGCluster
metadata:
name: upgrade-consistency
spec:
crVersion: 2.3.0
crVersion: 2.6.0
status:
pgbouncer:
ready: 3
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/upgrade-consistency/03-patch-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands:
get_cr \
| yq eval '
.spec.crVersion="2.3.0"' - \
.spec.crVersion="2.6.0"' - \
| kubectl -n "${NAMESPACE}" apply -f -
sleep 10
135 changes: 0 additions & 135 deletions e2e-tests/tests/upgrade-consistency/04-assert.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions e2e-tests/tests/upgrade-consistency/04-patch-cluster.yaml

This file was deleted.

Loading

0 comments on commit bbcf318

Please sign in to comment.