Skip to content

Env#140

Merged
Schmaetz merged 27 commits intomainfrom
ENV
Apr 4, 2026
Merged

Env#140
Schmaetz merged 27 commits intomainfrom
ENV

Conversation

@Schmaetz
Copy link
Copy Markdown
Collaborator

This PR adds the ability to define labels and ENVs globally for the entire cluster, as well as for individual components.

ENVs can be created for each container:
spec.env for all containers
spec.postgresql.env for the PostgreSQL containers
...
(Exporter sidecar, pgbackrest and connection pooler)

Labels can be created globally or for pods
spec.labels applies to all pods in the cluster
spec.postgresql.labels applies to the pg pods
...
(pgbackrest and ConnectionPooler)
Updates to the documentation and the Helm chart are also included

Schmaetz added 27 commits March 20, 2026 19:05
@Schmaetz Schmaetz requested a review from ants March 26, 2026 20:21
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23616179127

Details

  • 79 of 304 (25.99%) changed or added relevant lines in 7 files are covered.
  • 5 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.2%) to 30.014%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/cluster/resources.go 21 24 87.5%
pkg/cluster/util.go 17 34 50.0%
pkg/cluster/cluster.go 1 38 2.63%
pkg/cluster/connection_pooler.go 32 75 42.67%
pkg/cluster/k8sres.go 7 61 11.48%
pkg/cluster/sync.go 0 71 0.0%
Files with Coverage Reduction New Missed Lines %
pkg/cluster/connection_pooler.go 1 80.47%
pkg/cluster/k8sres.go 1 55.68%
pkg/cluster/sync.go 3 21.74%
Totals Coverage Status
Change from base Build 21332921976: -0.2%
Covered Lines: 5233
Relevant Lines: 17435

💛 - Coveralls

@Schmaetz Schmaetz merged commit df3aa2b into main Apr 4, 2026
1 of 2 checks passed
@Schmaetz Schmaetz deleted the ENV branch April 4, 2026 08:41
@Schmaetz Schmaetz restored the ENV branch April 4, 2026 13:40
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.

2 participants