percona-postgresql-operator icon indicating copy to clipboard operation
percona-postgresql-operator copied to clipboard

Publish 2.3.1 to use as go module

Open RobKenis opened this issue 1 year ago • 4 comments

Proposal

Publish v2.3.1 to https://pkg.go.dev/github.com/percona/percona-postgresql-operator/cmd/postgres-operator.

Use-Case

I am writing an operator that uses the PerconaPGCluster types. They are available in v2.3.1, but the latest version to import is v1.5.1

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

I could do this myself if I knew how to do it. If given guidance, I do not mind picking this up myself.

RobKenis avatar Apr 30 '24 07:04 RobKenis

Oh, it seems to be autogenerated. We will fix it. @inelpandzic once you have time, please have a look.

spron-in avatar May 08 '24 07:05 spron-in

@spron-in Thank you šŸ™ I am now using github.com/percona/percona-postgresql-operator v0.0.0-20240122085308-8253f681478d which is not very elegant, but I am no longer blocked on this.

RobKenis avatar May 21 '24 11:05 RobKenis

Hey, same problem here, we need a /v2 suffix to be able to import the v2 tags without having to hack anything, and have them show up here : https://pkg.go.dev/github.com/percona/percona-postgresql-operator?tab=versions

Thanks :)

steve-nzr avatar Jan 27 '25 13:01 steve-nzr

Hi @spron-in , I have the same issue. A /v2 suffix needs to be added to the module statement in go.mod.

Thanks in advance!

ennekein avatar May 22 '25 21:05 ennekein

Hello, we created a task for this: https://perconadev.atlassian.net/browse/K8SPG-862. We will try to work on this soon, and we will keep you posted.

gkech avatar Sep 26 '25 09:09 gkech

Hi @RobKenis @steve-nzr , I’m happy to inform you that PGO 2.8.0 has been released! šŸŽ‰ You can find the release notes here: https://docs.percona.com/percona-operator-for-postgresql/2.0/ReleaseNotes/Kubernetes-Operator-for-PostgreSQL-RN2.8.0.html

hors avatar Nov 13 '25 16:11 hors