Skip to content

Commit f4b7ccf

Browse files
authored
Merge pull request #268 from anynines/develop
Cut a new a8s-Deployment Release [v0.3.0]
2 parents d954d0f + 60daf1e commit f4b7ccf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2827
-3382
lines changed

.github/workflows/update-container-images.yaml

Lines changed: 0 additions & 95 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,73 @@ All notable changes to the a9s Dataservices on Kubernetes will be documented
44
here, the format is based on [Keep a
55
Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [0.3.0] - 2023-05-15
8+
### Migration Instructions
9+
* If you use the extensions feature, delete the stateful set objects (**not the PostgreSQL objects**)
10+
for instances that use extensions. Your data will be preserved, and the stateful sets will
11+
automatically be recreated.
12+
* Remove old finalizer `postgresql.operator.a8s.anynines.com` from all PostgreSQL objects.
13+
* Migrate all `v1alpha1` PostgreSQL custom resources to `v1beta3` before migrating to v0.3.0, as PostgreSQL
14+
version `v1alpha1` will not be available in v0.3.0.
15+
16+
### Added
17+
18+
* Protect PostgreSQL secrets against accidental or unwanted deletion by adding a finalizer.
19+
* Protect ServiceBinding secret against accidental or unwanted deletion by adding a finalizer.
20+
* Add optional read-only service to the PostgreSQL-Operator. The read-only service can be used
21+
to distribute the load of read operations across the PostgreSQL instance. It can be enabled via
22+
the optional `enableReadOnlyService` field on the Custom Resource.
23+
* Add field `spec.resources.claims` to the PostgreSQL CRD to allow configuring
24+
dynamic resources for the PostgreSQL instance Pods. This feature is in alpha,
25+
is implemented only on K8s clusters with version 1.26 or higher and the
26+
feature gate DynamicResourceAllocation enabled.
27+
* Add field `spec.expose` to expose a PostgreSQL instance to outside the K8s cluster where it runs.
28+
29+
### Changed
30+
31+
* Updated description of `NamespacedName` in servicebinding.
32+
* Deletion of PostgreSQL instance pods now runs in parallel, improving the deletion time in high
33+
availability setups.
34+
* In the Postgresql CRD, the description of the `namespaceSelector` field (which is one of the many
35+
fields that control pod affinity and anti-affinity) has been updated to reflect the fact that the
36+
field has graduated from beta to stable (in Kubernetes v1.24).
37+
* **Breaking change:** PostgreSQL CRD has been updated with the following:
38+
* `spec.parameters.maxConnections` has a minimum value of 1 and a maximum value
39+
of 262143 enforced.
40+
* `spec.parameters.maxReplicationSlots` has a minimum value of 0 and a maximum
41+
value of 262143 enforced.
42+
* `spec.parameters.maxWALSenders` has a minimum value of 0 and a maximum value
43+
of 262143 enforced.
44+
* `spec.parameters.sharedBuffers` has a minimum value of 16 and a maximum value
45+
of 1073741823 enforced.
46+
* `spec.parameters.statementTimeoutMillis` has a minimum value of 0 and a
47+
maximum value of 2147483647 enforced.
48+
> Attempts to create a PostgreSQL API object with one or more values not
49+
compliant with the min and max listed above will be rejected with an error by
50+
the K8s API server.
51+
* **Breaking change**: Postgresql-controllers finalizer has been updated from
52+
`postgresql.operator.a8s.anynines.com` to `a8s.anynines.com/postgresql.operator`.
53+
* **Breaking change**: Postgresql-operator now uses an emptyDir instead of a persistent volume.
54+
* **Breaking change**: The field `postgresConfiguration` has been renamed to
55+
`parameters` in API Version `v1beta3`.
56+
* Make the secrets that store the credentials of the admin and replication roles
57+
of each PostgreSQL instance immutable. Preventing changes to credentials
58+
protects against accidental (or unwanted) updates that could cause service
59+
outages and improves performance by significantly reducing load on
60+
kube-apiserver for clusters that make extensive use of secrets.
61+
* Make service binding secrets immutable. Preventing changes to credentials
62+
protects against accidental (or unwanted) updates that could cause service
63+
outages and improves performance by significantly reducing load on
64+
kube-apiserver for clusters that make extensive use of secrets.
65+
* The backup\_agent has been updated, and is now using a smaller image. The new version of the
66+
backup\_agent logs to stderr instead of the previously used stdout.
67+
* Defaulting webhooks have been moved to API version `v1beta3`.
68+
69+
### Removed
70+
71+
* **Breaking change:** PostgreSQL version `v1alpha1` has been removed and is replaced by version
72+
`v1beta3`.
73+
774
## [0.2.0] - 2022-11-08
875

976
### Added

automation-scripts/update-container-images.sh

Lines changed: 0 additions & 116 deletions
This file was deleted.

deploy/a8s/backup-config/kustomization.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ secretGenerator:
1515
- ./access-key-id
1616
- ./secret-access-key
1717
- ./encryption-password
18-
generatorOptions:
19-
disableNameSuffixHash: true

0 commit comments

Comments
 (0)