Skip to content

Comments

K8SPG-552 cert manager integration#1233

Merged
hors merged 31 commits intomainfrom
K8SPG-552
Feb 22, 2026
Merged

K8SPG-552 cert manager integration#1233
hors merged 31 commits intomainfrom
K8SPG-552

Conversation

@gkech
Copy link
Contributor

@gkech gkech commented Jul 21, 2025

K8SPG-552 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:

In terms of certificates, right now the operator creates them through its own internal logic. Utilizing however the cert-manager and integrating it with the operator, it allows the operator to configure the issuers and the certificates and then the cert-manager will manage their lifecycle.

#  tls:
#    certValidityDuration: 2160h
#    caValidityDuration: 26280h

☝🏽 new cr options added

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

Helm chart PR: percona/percona-helm-charts#798

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PG version?
  • Does the change support oldest and newest supported Kubernetes version?

@gkech gkech changed the title K8SPG-552 cert manager integration [WIP] K8SPG-552 cert manager integration Jul 21, 2025
@gkech gkech marked this pull request as ready for review February 11, 2026 09:29
@gkech gkech changed the title [WIP] K8SPG-552 cert manager integration K8SPG-552 cert manager integration Feb 11, 2026
gkech and others added 3 commits February 13, 2026 13:53
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@gkech gkech requested a review from egegunes February 16, 2026 17:42
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[gofmt] reported by reviewdog 🐶

Client client.Client
Scheme *k8sruntime.Scheme
DiscoveryClient *discovery.DiscoveryClient
IsOpenShift bool
Owner client.FieldOwner
PodExec runtime.PodExecutor
Recorder record.EventRecorder
Registration registration.Registration
Tracer trace.Tracer

egegunes
egegunes previously approved these changes Feb 18, 2026
egegunes
egegunes previously approved these changes Feb 19, 2026
"sigs.k8s.io/controller-runtime/pkg/log/zap"
"sigs.k8s.io/controller-runtime/pkg/manager"

certmanagerscheme "github.com/cert-manager/cert-manager/pkg/client/clientset/versioned/scheme"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[goimports-reviser] reported by reviewdog 🐶

Suggested change
certmanagerscheme "github.com/cert-manager/cert-manager/pkg/client/clientset/versioned/scheme"

@JNKPercona
Copy link
Collaborator

Test Name Result Time
backup-enable-disable passed 00:07:26
builtin-extensions passed 00:04:54
cert-manager-tls passed 00:04:57
custom-envs passed 00:18:38
custom-extensions passed 00:13:21
custom-tls passed 00:06:05
database-init-sql passed 00:02:36
demand-backup passed 00:22:14
demand-backup-offline-snapshot passed 00:12:46
dynamic-configuration passed 00:06:16
finalizers passed 00:03:31
init-deploy passed 00:03:27
huge-pages passed 00:02:41
monitoring passed 00:06:37
monitoring-pmm3 passed 00:07:45
one-pod passed 00:05:47
operator-self-healing passed 00:10:08
pitr passed 00:12:00
scaling passed 00:04:35
scheduled-backup passed 00:25:03
self-healing passed 00:07:54
sidecars passed 00:02:22
standby-pgbackrest passed 00:12:46
standby-streaming passed 00:09:22
start-from-backup passed 00:10:27
tablespaces passed 00:06:36
telemetry-transfer passed 00:04:24
upgrade-consistency passed 00:05:22
upgrade-minor passed 00:06:11
users passed 00:04:39
Summary Value
Tests Run 30/30
Job Duration 01:22:37
Total Test Time 04:11:03

commit: 842853f
image: perconalab/percona-postgresql-operator:PR-1233-842853ffe

@hors hors self-requested a review February 22, 2026 21:06
@hors hors merged commit f0a521f into main Feb 22, 2026
15 of 16 checks passed
@hors hors deleted the K8SPG-552 branch February 22, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants