Fix local provider setup for running etcd clusters & e2e tests #1010
Labels
area/dev-productivity
Developer productivity related (how to improve development)
area/quality
Output qualification (tests, checks, scans, automation in general, etc.) related
area/testing
Testing related
area/usability
Usability related
kind/bug
Bug
How to categorize this issue?
/area testing
/area usability
/kind bug
What happened:
When running etcd-druid locally with
local
provider, I've seen the functionality is broken with a volume mount error for the pods as shown below:This is due to the
HostPath
type being set toDirectory
instead ofDirectoryOrCreate
here.Also all the e2e tests for the local provider fail with the following error:
This needs to be looked into and fix it.
This issue acts as a tracker to fix the problems with
local
provider.What you expected to happen:
The etcd-druid setup with
local
provider should be as robust as it is with other providers/emulators.How to reproduce it (as minimally and precisely as possible):
In the
examples/etcd/druid_v1alpha1_etcd.yaml
file, change thespec.backup.store
to the following and try deploying the Etcd CR and observe the pod events.For e2e tests, just run them locally by doing below and observe the logs:
The text was updated successfully, but these errors were encountered: