From b86ef9a2c85180aaceae2656e063667ac2446522 Mon Sep 17 00:00:00 2001 From: a8s-ci Date: Wed, 10 Jul 2024 09:04:51 +0000 Subject: [PATCH 1/4] Bump manifest and update API documentation --- deploy/a8s/manifests/postgresql-images.yaml | 3 ++- deploy/a8s/manifests/postgresql-operator.yaml | 5 ++--- .../api-documentation/postgresql-operator/v1beta3.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/a8s/manifests/postgresql-images.yaml b/deploy/a8s/manifests/postgresql-images.yaml index 75cb4ca7..b2e51417 100644 --- a/deploy/a8s/manifests/postgresql-images.yaml +++ b/deploy/a8s/manifests/postgresql-images.yaml @@ -7,4 +7,5 @@ data: kind: ConfigMap metadata: name: postgresql-images - namespace: a8s-system \ No newline at end of file + namespace: a8s-system + diff --git a/deploy/a8s/manifests/postgresql-operator.yaml b/deploy/a8s/manifests/postgresql-operator.yaml index 6ba1a2fe..8f7e5d4f 100644 --- a/deploy/a8s/manifests/postgresql-operator.yaml +++ b/deploy/a8s/manifests/postgresql-operator.yaml @@ -1807,9 +1807,7 @@ spec: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --leader-elect - command: - - ./manager - image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:32cff0ecbc54763a3bf8a4079b1d2db9b1f26754 + image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:3085c50ede077190b25128700fa9cb3543561f3c livenessProbe: httpGet: path: /healthz @@ -1954,3 +1952,4 @@ webhooks: resources: - postgresqls sideEffects: None + diff --git a/docs/application-developers/api-documentation/postgresql-operator/v1beta3.md b/docs/application-developers/api-documentation/postgresql-operator/v1beta3.md index e9ba78ad..9b24623d 100644 --- a/docs/application-developers/api-documentation/postgresql-operator/v1beta3.md +++ b/docs/application-developers/api-documentation/postgresql-operator/v1beta3.md @@ -95,7 +95,7 @@ _Appears in:_ | `volumeSize` _Quantity_ | VolumeSize sets the size of the persistent volume of the PostgreSQL instance, the minimum size is 0.5Gi. The size is to be specified as a plain integer or as a fixed-point number using one of these suffixes: E, P, T, G, M, K, corresponding to kilo-, mega-, gigabytes, etc. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki, corresponding to kibi-, mebi-, gibibytes, etc. For example a value of "0.5Gi" corresponds to an instance with a persistent volume of 0.5 gibibytes. | | `parameters` _[PostgresqlParameters](#postgresqlparameters)_ | | | `schedulingConstraints` _[PostgresqlSchedulingConstraints](#postgresqlschedulingconstraints)_ | SchedulingConstraints contains subfields that affect how the Pods of the Postgresql instance will be scheduled onto Kubernetes cluster nodes. The subfields map directly to Kubernetes API primitives such as node taints, tolerations, affinity and (anti)affinity. See the documentation of each subfield for more details. Together, the subfields of SchedulingConstraints allow you to express constraints such as "Pods of this Postgresql instance MUST be scheduled to different availability zones", or "Pods of this Postgresql instance SHOULD preferably (but not mandatorily) be scheduled to nodes that have a SSD", and many more. As a warning, the subfields of SchedulingConstraints can interfere with each other, so when you set one of them you should consider how it will interact with the values that you set for other subfields. | -| `extensions` _string array_ | Extensions defines a list of PostgreSQL extensions which should be installed. Extensions can be installed from the supported list of extensions. The currently supported extensions are: postgis, uuid-ossp, ltree, pgcrypto, pg_stat_statements, fuzzystrmatch, pg_trgm, hstore. | +| `extensions` _string array_ | Extensions defines a list of PostgreSQL extensions which should be installed. Extensions can be installed from the supported list of extensions. The currently supported extensions are: postgis, uuid-ossp, ltree, pgcrypto, pg_stat_statements, fuzzystrmatch, pg_trgm, hstore | | `enableReadOnlyService` _boolean_ | EnableReadOnlyService enables the creation of a read-only service. A read-only service is meant for read operations and allows for load-balancing across different PostgreSQL cluster members. Stale reads are possible when reading from this service. By default this feature is disabled. | | `readOnlyTargetNodes` _string_ | ReadOnlyTargetNodes specifies the target PostgreSQL cluster members which the read-only service points to. "replicas" means that only the PostgreSQL cluster replicas are used for the read-only service. "all" means that the read-only service points to all PostgreSQL cluster members. By default this feature only points to the PostgreSQL cluster replicas. | | `expose` _[ExposeOption](#exposeoption)_ | Expose determines where (and how) the DSI can be accessed from. Currently supported values are - "Internal": the DSI will be accessible only from inside the K8s cluster - "LoadBalancer": the DSI will receive dedicated load balancers with reachable IP addresses that can be used from external locations . This is only supported on K8s clusters that support external load balancers. This field applies to all the services backed by the DSI, that is, both the master-only one and the read-only one; the "LoadBalancer" value means that each service will get a dedicated LoadBalancer. | From 14a012b4af44cc44b03d8edfc46dcc8cbda02ed2 Mon Sep 17 00:00:00 2001 From: a8s-ci Date: Tue, 6 Aug 2024 10:59:48 +0000 Subject: [PATCH 2/4] Bump manifest and update API documentation --- deploy/a8s/manifests/postgresql-operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/a8s/manifests/postgresql-operator.yaml b/deploy/a8s/manifests/postgresql-operator.yaml index 8f7e5d4f..ceca9b7d 100644 --- a/deploy/a8s/manifests/postgresql-operator.yaml +++ b/deploy/a8s/manifests/postgresql-operator.yaml @@ -1807,7 +1807,7 @@ spec: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --leader-elect - image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:3085c50ede077190b25128700fa9cb3543561f3c + image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:710196abd18dbda66b20238c52b7269b32f78f44 livenessProbe: httpGet: path: /healthz From 623b7135a5bbcdab8cd29dbde64311c3ee8657e5 Mon Sep 17 00:00:00 2001 From: a8s-ci Date: Tue, 6 Aug 2024 11:22:00 +0000 Subject: [PATCH 3/4] Bump manifest and update API documentation --- deploy/a8s/manifests/postgresql-operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/a8s/manifests/postgresql-operator.yaml b/deploy/a8s/manifests/postgresql-operator.yaml index ceca9b7d..b5db80a7 100644 --- a/deploy/a8s/manifests/postgresql-operator.yaml +++ b/deploy/a8s/manifests/postgresql-operator.yaml @@ -1807,7 +1807,7 @@ spec: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --leader-elect - image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:710196abd18dbda66b20238c52b7269b32f78f44 + image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:95c1b0c3c0388b2091d68210da5bbbd7207a5af1 livenessProbe: httpGet: path: /healthz From 2852ea5463e776f98fef49297cd10fd8b911baac Mon Sep 17 00:00:00 2001 From: a8s-ci Date: Thu, 8 Aug 2024 07:59:50 +0000 Subject: [PATCH 4/4] Bump manifest and update API documentation --- deploy/a8s/manifests/postgresql-operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/a8s/manifests/postgresql-operator.yaml b/deploy/a8s/manifests/postgresql-operator.yaml index b5db80a7..45cf40c1 100644 --- a/deploy/a8s/manifests/postgresql-operator.yaml +++ b/deploy/a8s/manifests/postgresql-operator.yaml @@ -1807,7 +1807,7 @@ spec: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --leader-elect - image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:95c1b0c3c0388b2091d68210da5bbbd7207a5af1 + image: public.ecr.aws/w5n9a2g2/a9s-ds-for-k8s/dev/postgresql-operator:20d82179bff0095b05cfae230d122d23b53e6768 livenessProbe: httpGet: path: /healthz