Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -28,6 +28,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
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
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
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
Loading