Skip to content
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

TestDeployAndUpgradeAllInOnePostgres fails due to immutable migration job spec #4097

Closed
1 of 3 tasks
czeslavo opened this issue May 29, 2023 · 0 comments · Fixed by #4100
Closed
1 of 3 tasks

TestDeployAndUpgradeAllInOnePostgres fails due to immutable migration job spec #4097

czeslavo opened this issue May 29, 2023 · 0 comments · Fixed by #4100

Comments

@czeslavo
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Problem Statement

The E2E upgrade test for Postgres all-in-one manifests () doesn't pass because of the immutable job specification. It exhibits a flaw in our upgrade path.

The Job "kong-migrations" is invalid: spec.template: Invalid value: core.PodTemplateSpec: field is immutable

Sample failure: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/5108508190/jobs/9182401997

Proposed Solution

Name the migrations job so that it is unique for every released manifest version.

Additional information

No response

Acceptance Criteria

  • As a user I can upgrade my Postgres-backed setup by applying all-in-one manifests without getting a Kubernetes API error rejecting changes
  • TestDeployAndUpgradeAllInOnePostgres passes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant