Skip to content

Commit

Permalink
Version tag to 0.30 (#124)
Browse files Browse the repository at this point in the history
Automated PR. Will trigger the 0.30 release when approved.

Signed-off-by: Tao Li <[email protected]>
Co-authored-by: Tao Li <[email protected]>
  • Loading branch information
github-actions[bot] and litaocdl authored Jan 14, 2025
1 parent 6d0f41d commit f6dc5cd
Show file tree
Hide file tree
Showing 4 changed files with 17,792 additions and 21 deletions.
6 changes: 3 additions & 3 deletions docs/src/installation_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
The operator can be installed like any other resource in Kubernetes,
through a YAML manifest applied via `kubectl`.

You can install the [latest operator manifest](https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.25/releases/cnpg-1.25.0.yaml)
You can install the [latest operator manifest](https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/releases/cnpg-0.30.yaml)
for this minor release as follows:

```sh
kubectl apply --server-side -f \
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.25/releases/cnpg-1.25.0.yaml
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/releases/cnpg-0.30.yaml
```

You can verify that with:
Expand Down Expand Up @@ -72,7 +72,7 @@ specific minor release, you can just run:

```sh
curl -sSfL \
https://raw.githubusercontent.com/cloudnative-pg/artifacts/release-1.25/manifests/operator-manifest.yaml | \
https://raw.githubusercontent.com/cloudnative-pg/artifacts/release-0.30/manifests/operator-manifest.yaml | \
kubectl apply --server-side -f -
```

Expand Down
30 changes: 15 additions & 15 deletions docs/src/kubectl-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ them in your systems.

#### Debian packages

For example, let's install the 1.25.0 release of the plugin, for an Intel based
For example, let's install the 0.30 release of the plugin, for an Intel based
64 bit server. First, we download the right `.deb` file.

```sh
wget https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.25.0/kubectl-cnpg_1.25.0_linux_x86_64.deb \
wget https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v0.30/kubectl-cnpg_0.30_linux_x86_64.deb \
--output-document kube-plugin.deb
```

Expand All @@ -45,17 +45,17 @@ $ sudo dpkg -i kube-plugin.deb
Selecting previously unselected package cnpg.
(Reading database ... 6688 files and directories currently installed.)
Preparing to unpack kube-plugin.deb ...
Unpacking cnpg (1.25.0) ...
Setting up cnpg (1.25.0) ...
Unpacking cnpg (0.30) ...
Setting up cnpg (0.30) ...
```

#### RPM packages

As in the example for `.rpm` packages, let's install the 1.25.0 release for an
As in the example for `.rpm` packages, let's install the 0.30 release for an
Intel 64 bit machine. Note the `--output` flag to provide a file name.

```sh
curl -L https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.25.0/kubectl-cnpg_1.25.0_linux_x86_64.rpm \
curl -L https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v0.30/kubectl-cnpg_0.30_linux_x86_64.rpm \
--output kube-plugin.rpm
```

Expand All @@ -69,7 +69,7 @@ Dependencies resolved.
Package Architecture Version Repository Size
====================================================================================================
Installing:
cnpg x86_64 1.25.0-1 @commandline 20 M
cnpg x86_64 0.30 @commandline 20 M

Transaction Summary
====================================================================================================
Expand Down Expand Up @@ -293,9 +293,9 @@ sandbox-3 0/604DE38 0/604DE38 0/604DE38 0/604DE38 00:00:00 00:00:00 00
Instances status
Name Current LSN Replication role Status QoS Manager Version Node
---- ----------- ---------------- ------ --- --------------- ----
sandbox-1 0/604DE38 Primary OK BestEffort 1.25.0 k8s-eu-worker
sandbox-2 0/604DE38 Standby (async) OK BestEffort 1.25.0 k8s-eu-worker2
sandbox-3 0/604DE38 Standby (async) OK BestEffort 1.25.0 k8s-eu-worker
sandbox-1 0/604DE38 Primary OK BestEffort 0.30 k8s-eu-worker
sandbox-2 0/604DE38 Standby (async) OK BestEffort 0.30 k8s-eu-worker2
sandbox-3 0/604DE38 Standby (async) OK BestEffort 0.30 k8s-eu-worker
```

If you require more detailed status information, use the `--verbose` option (or
Expand Down Expand Up @@ -349,9 +349,9 @@ sandbox-primary primary 1 1 1
Instances status
Name Current LSN Replication role Status QoS Manager Version Node
---- ----------- ---------------- ------ --- --------------- ----
sandbox-1 0/6053720 Primary OK BestEffort 1.25.0 k8s-eu-worker
sandbox-2 0/6053720 Standby (async) OK BestEffort 1.25.0 k8s-eu-worker2
sandbox-3 0/6053720 Standby (async) OK BestEffort 1.25.0 k8s-eu-worker
sandbox-1 0/6053720 Primary OK BestEffort 0.30 k8s-eu-worker
sandbox-2 0/6053720 Standby (async) OK BestEffort 0.30 k8s-eu-worker2
sandbox-3 0/6053720 Standby (async) OK BestEffort 0.30 k8s-eu-worker
```

With an additional `-v` (e.g. `kubectl cnpg status sandbox -v -v`), you can
Expand Down Expand Up @@ -574,12 +574,12 @@ Archive: report_operator_<TIMESTAMP>.zip

```output
====== Begin of Previous Log =====
2023-03-28T12:56:41.251711811Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"1.25.0","build":{"Version":"1.25.0+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:56:41.251711811Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"0.30","build":{"Version":"0.30+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:56:41.251851909Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting pprof HTTP server","addr":"0.0.0.0:6060"}
<snipped …>
====== End of Previous Log =====
2023-03-28T12:57:09.854306024Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"1.25.0","build":{"Version":"1.25.0+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:57:09.854306024Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"0.30","build":{"Version":"0.30+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:57:09.854363943Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting pprof HTTP server","addr":"0.0.0.0:6060"}
```

Expand Down
6 changes: 3 additions & 3 deletions pkg/versions/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ package versions

const (
// Version is the version of the operator
Version = "1.25.0"
Version = "0.30"

// DefaultImageName is the default image used by the operator to create pods
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:17.2"

// DefaultOperatorImageName is the default operator image used by the controller in the pods running PostgreSQL
DefaultOperatorImageName = "ghcr.io/cloudnative-pg/cloudnative-pg:1.25.0"
DefaultOperatorImageName = "ghcr.io/cloudnative-pg/cloudnative-pg:0.30"
)

// BuildInfo is a struct containing all the info about the build
Expand All @@ -36,7 +36,7 @@ type BuildInfo struct {

var (
// buildVersion injected during the build
buildVersion = "1.25.0"
buildVersion = "0.30"

// buildCommit injected during the build
buildCommit = "none"
Expand Down
Loading

0 comments on commit f6dc5cd

Please sign in to comment.