Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version tag to 1.25 #122

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 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-1.25.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-1.25.yaml
```

You can verify that with:
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 1.25 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/v1.25/kubectl-cnpg_1.25_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 (1.25) ...
Setting up cnpg (1.25) ...
```

#### 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 1.25 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/v1.25/kubectl-cnpg_1.25_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 1.25 @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 1.25 k8s-eu-worker
sandbox-2 0/604DE38 Standby (async) OK BestEffort 1.25 k8s-eu-worker2
sandbox-3 0/604DE38 Standby (async) OK BestEffort 1.25 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 1.25 k8s-eu-worker
sandbox-2 0/6053720 Standby (async) OK BestEffort 1.25 k8s-eu-worker2
sandbox-3 0/6053720 Standby (async) OK BestEffort 1.25 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":"1.25","build":{"Version":"1.25+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":"1.25","build":{"Version":"1.25+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 = "1.25"

// 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:1.25"
)

// 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 = "1.25"

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