K8SPG-1080 v3 module#1686
Conversation
| @@ -9,10 +9,10 @@ import ( | |||
|
|
|||
| var ( | |||
| // GroupVersion is group version used to register these objects | |||
| GroupVersion = schema.GroupVersion{Group: "pgv2.percona.com", Version: "v2"} | |||
| GroupVersion = schema.GroupVersion{Group: "pgv3.percona.com", Version: "v2"} | |||
There was a problem hiding this comment.
we don't want to change this and don't need to to use v3 in go
There was a problem hiding this comment.
Done, thanks! Some files now contain only the changes related to linter errors (so no changes related explicitely to this PR) however I think it's still beneficial to keep the changes to have less problems in the future.
# Conflicts: # internal/controller/postgrescluster/watches.go # pkg/apis/pgv2.percona.com/v2/perconapgcluster_types.go
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 267 out of 267 changed files in this pull request and generated 6 comments.
Comments suppressed due to low confidence (1)
internal/controller/postgrescluster/pki.go:77
reconcileRootCertificateno longer checks for the legacy root CA secret name (naming.RootCertSecret), even though that constant is still documented as required for upgrades (K8SPG-555). This can cause an operator upgrade to silently mint a new CA instead of reusing/migrating the existing one, breaking client connections.
| FROM registry.access.redhat.com/${BASE_IMAGE}/ubi-minimal AS ubi | ||
| RUN microdnf update -y && microdnf clean all -y | ||
| RUN microdnf update -y && microdnf clean all -y || true | ||
|
|
There was a problem hiding this comment.
reverted
| @@ -1,4 +1,4 @@ | |||
| ARG BASE_IMAGE=ubi10 | |||
| ARG BASE_IMAGE=ubi9 | |||
There was a problem hiding this comment.
Ooops, thanks for noticing. I need this change locally in order to build image on Mac and sometimes I commit it mistakenly. Reverted.
commit: dd73068 |
v3 module
Problem:
K8SPG-1080
PG 3.0.0 is released while go module still references v2 which makes it harder to use it.
Solution:
Implement v3 module
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
Config/Logging/Testability