percona-postgresql-operator
percona-postgresql-operator copied to clipboard
K8SPG-873: add `env` and `envFrom` fields to backups and restores
https://perconadev.atlassian.net/browse/K8SPG-873
DESCRIPTION
This PR adds .containerOptions.env and .containerOptions.envFrom fields to our backup and restore resources
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?
| Test Name | Result | Time |
|---|---|---|
| backup-enable-disable | passed | 00:12:29 |
| custom-envs | passed | 00:18:41 |
| custom-extensions | passed | 00:13:44 |
| custom-tls | passed | 00:05:45 |
| database-init-sql | passed | 00:02:17 |
| demand-backup | passed | 00:22:12 |
| finalizers | passed | 00:03:53 |
| init-deploy | passed | 00:02:35 |
| monitoring | passed | 00:07:40 |
| monitoring-pmm3 | passed | 00:08:49 |
| one-pod | passed | 00:05:50 |
| operator-self-healing | passed | 00:08:18 |
| pgvector-extension | passed | 00:02:42 |
| pitr | passed | 00:12:02 |
| scaling | passed | 00:05:08 |
| scheduled-backup | passed | 00:23:43 |
| self-healing | passed | 00:08:41 |
| sidecars | passed | 00:02:33 |
| start-from-backup | passed | 00:10:42 |
| tablespaces | passed | 00:06:52 |
| telemetry-transfer | passed | 00:03:41 |
| upgrade-consistency | passed | 00:07:32 |
| upgrade-minor | passed | 00:06:15 |
| users | passed | 00:04:15 |
| Summary | Value |
|---|---|
| Tests Run | 24/24 |
| Job Duration | 01:25:01 |
| Total Test Time | 03:26:31 |
commit: https://github.com/percona/percona-postgresql-operator/pull/1320/commits/44d5cc97e3b2a60019b7278ca4a70c23e00fe3e4
image: perconalab/percona-postgresql-operator:PR-1320-44d5cc97e