Skip to content

Commit 0129809

Browse files
shanewxythxCode
authored andcommitted
refactor: update default version to 16
1 parent 089c102 commit 0129809

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ No modules.
6868
| <a name="input_architecture"></a> [architecture](#input\_architecture) | Specify the deployment architecture, select from standalone or replication. | `string` | `"standalone"` | no |
6969
| <a name="input_context"></a> [context](#input\_context) | Receive contextual information. When Walrus deploys, Walrus will inject specific contextual information into this field.<br><br>Examples:<pre>context:<br> project:<br> name: string<br> id: string<br> environment:<br> name: string<br> id: string<br> resource:<br> name: string<br> id: string</pre> | `map(any)` | `{}` | no |
7070
| <a name="input_database"></a> [database](#input\_database) | Specify the database name. The database name must be 2-64 characters long and start with any lower letter, combined with number, or symbols: - \_.<br>The database name cannot be PostgreSQL forbidden keyword. | `string` | `"mydb"` | no |
71-
| <a name="input_engine_version"></a> [engine\_version](#input\_engine\_version) | Specify the deployment engine version, select from https://hub.docker.com/r/bitnami/postgresql/tags. | `string` | `"15.0"` | no |
71+
| <a name="input_engine_version"></a> [engine\_version](#input\_engine\_version) | Specify the deployment engine version, select from https://hub.docker.com/r/bitnami/postgresql/tags. | `string` | `"16.0"` | no |
7272
| <a name="input_infrastructure"></a> [infrastructure](#input\_infrastructure) | Specify the infrastructure information for deploying.<br><br>Examples:<pre>infrastructure:<br> namespace: string, optional<br> image_registry: string, optional<br> domain_suffix: string, optional<br> service_type: string, optional</pre> | <pre>object({<br> namespace = optional(string)<br> image_registry = optional(string, "registry-1.docker.io")<br> domain_suffix = optional(string, "cluster.local")<br> service_type = optional(string, "ClusterIP")<br> })</pre> | `{}` | no |
7373
| <a name="input_password"></a> [password](#input\_password) | Specify the account password. The password must be 8-32 characters long and start with any letter, number, or symbols: ! # $ % ^ & * ( ) \_ + - =.<br>If not specified, it will generate a random password. | `string` | `null` | no |
7474
| <a name="input_replication_readonly_replicas"></a> [replication\_readonly\_replicas](#input\_replication\_readonly\_replicas) | Specify the number of read-only replicas under the replication deployment. | `number` | `1` | no |

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ locals {
146146
architecture = local.architecture
147147
image = {
148148
repository = "bitnami/postgresql"
149-
tag = coalesce(try(length(split(".", var.engine_version)) != 2 ? var.engine_version : format("%s.0", var.engine_version), null), "15")
149+
tag = coalesce(try(length(split(".", var.engine_version)) != 2 ? var.engine_version : format("%s.0", var.engine_version), null), "16")
150150
}
151151
auth = {
152152
database = local.database

schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ components:
8383
type: string
8484
description: |
8585
Specify the deployment engine version, select from https://hub.docker.com/r/bitnami/postgresql/tags.
86-
default: "15.0"
86+
default: "16.0"
8787
x-walrus-ui:
8888
group: Basic
8989
order: 5

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ variable "engine_version" {
8383
Specify the deployment engine version, select from https://hub.docker.com/r/bitnami/postgresql/tags.
8484
EOF
8585
type = string
86-
default = "15.0"
86+
default = "16.0"
8787
}
8888

8989
variable "database" {

0 commit comments

Comments
 (0)