Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

integration/kubernetes: volume tests for empty/missing configmap/secret #4012

Closed
fidencio opened this issue Sep 24, 2021 · 0 comments
Closed
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.

Comments

@fidencio
Copy link
Member

This is the tests counterpart of kata-containers/kata-containers#2638, were it was reported that optional configmap and secret volumeMounts that are not present cause fatal error instead of creating folder.

Let's ensure we add tests and do not regress on this front.

/cc @skaegi

@fidencio fidencio added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Sep 24, 2021
fidencio pushed a commit to fidencio/kata-tests that referenced this issue Sep 25, 2021
These tests makes sure that if a configmap/secret is present but empty, or optional but not present that the volumeMount folder is created.

Backports: kata-containers#4011
Fixes: kata-containers#4012

Signed-off-by: Simon Kaegi <simon.kaegi@gmail.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
@GabyCT GabyCT closed this as completed in 4c91bb5 Sep 27, 2021
fidencio pushed a commit to fidencio/kata-tests that referenced this issue Sep 27, 2021
These tests makes sure that if a configmap/secret is present but empty, or optional but not present that the volumeMount folder is created.

Backports: kata-containers#4011
Fixes: kata-containers#4012

Signed-off-by: Simon Kaegi <simon.kaegi@gmail.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant