-
Notifications
You must be signed in to change notification settings - Fork 31
K8SPS-413: replace initImage with initContainer #996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pkg/k8s/init_image.go
Outdated
return image, nil | ||
} | ||
if cr.CompareVersion("0.12.0") < 0 && cr.Spec.InitImage == "" { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://perconadev.atlassian.net/browse/K8SPS-413
DESCRIPTION
This PR replaces
.spec.initImage
field with.spec.initContainer
section that matches the pxc-operatorHelm chart PR: percona/percona-helm-charts#615
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
Config/Logging/Testability