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

chore(ci): Fix duplicate volume mount for postgres in E2E tests #2077

Merged
merged 1 commit into from Apr 3, 2024

Conversation

oguzhand95
Copy link
Member

Previously an update to the bitnami/postgres chart broke E2E tests because a data volume wasn't mounted which #2061 fixed. With the recent update, it is now mounted and we get a duplicate entry error:

Events:
  Type     Reason        Age                  From                    Message
  ----     ------        ----                 ----                    -------
  Warning  FailedCreate  25s (x15 over 107s)  statefulset-controller  create Pod postgres-0 in StatefulSet postgres failed error: Pod "postgres-0" is invalid: spec.containers[0].volumeMounts[7].mountPath: Invalid value: "/bitnami/postgresql": must be unique

This PR removes the previously added volume mount entry to solve the problem.

Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
@oguzhand95 oguzhand95 self-assigned this Apr 3, 2024
@oguzhand95 oguzhand95 marked this pull request as ready for review April 3, 2024 10:07
@oguzhand95 oguzhand95 merged commit 4e3879e into cerbos:main Apr 3, 2024
21 checks passed
@oguzhand95 oguzhand95 deleted the e2e branch April 3, 2024 10:08
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.

None yet

2 participants