Skip to content

Conversation

pooknull
Copy link
Contributor

@pooknull pooknull commented Aug 13, 2025

K8SPS-413 Powered by Pull Request Badge

https://perconadev.atlassian.net/browse/K8SPS-413

DESCRIPTION

This PR replaces .spec.initImage field with .spec.initContainer section that matches the pxc-operator

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

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 PS version?
  • Does the change support oldest and newest supported Kubernetes version?

@pull-request-size pull-request-size bot added the size/XL 500-999 lines label Aug 13, 2025
@pooknull pooknull added this to the v0.12.0 milestone Aug 13, 2025
@pooknull pooknull marked this pull request as ready for review August 13, 2025 11:42
@pull-request-size pull-request-size bot added size/XXL 1000+ lines and removed size/XL 500-999 lines labels Aug 19, 2025
@pooknull pooknull requested a review from hors August 19, 2025 08:36
egegunes
egegunes previously approved these changes Aug 20, 2025
return image, nil
}
if cr.CompareVersion("0.12.0") < 0 && cr.Spec.InitImage == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can introduce some //nolint:staticcheck where InitImage is used since the linter is a required step for merging and this will keep complaining.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

gkech
gkech previously approved these changes Aug 21, 2025
nmarukovich
nmarukovich previously approved these changes Aug 21, 2025
@pooknull pooknull dismissed stale reviews from nmarukovich and gkech via f663c17 August 25, 2025 11:50
gkech
gkech previously approved these changes Aug 26, 2025
nmarukovich
nmarukovich previously approved these changes Aug 26, 2025
gkech
gkech previously approved these changes Aug 26, 2025
@hors hors dismissed stale reviews from gkech and nmarukovich via 38131ff August 26, 2025 09:29
@hors hors merged commit 1f9ad5f into main Aug 26, 2025
15 of 16 checks passed
@hors hors deleted the K8SPS-413 branch August 26, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XXL 1000+ lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants