Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

access to volume with kind #472

Closed

Conversation

ryandawsonuk
Copy link

Otherwise get AccessDeniedException when running on KIND 0.7.0. See #363

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@jmlrt
Copy link
Member

jmlrt commented Feb 5, 2020

Hi @ryandawsonuk,
I removed that extraInitContainer in #434 because it wasn't needed.

However what is needed when using KIND is to install Rancher Local Path Provisioner as mentionned here.

Did you installed it?

@ryandawsonuk
Copy link
Author

Yeah I'm running the local path provisioner. Am wondering if it might be something to do with the new KIND. I found that the old removed initContainer actually doesn't work either - it has to set runAsUser too.

I'm using KIND 0.7.0 to create a 1.15 cluster. Or could be related to something else in my KIND config.

@cla-checker-service
Copy link

Author of the following commits did not sign a Contributor Agreement:
97b6b78

Please, read and sign the above mentioned agreement if you want to contribute to this project

@jmlrt jmlrt self-requested a review February 18, 2020 06:59
@jmlrt jmlrt added the bug Something isn't working label Mar 6, 2020
@botelastic
Copy link

botelastic bot commented May 18, 2020

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. To track this PR (even if closed), please open a corresponding issue if one does not already exist.

@botelastic
Copy link

botelastic bot commented Jun 17, 2020

This PR has been automatically closed because it has not had recent activity since being marked as stale. Please reopen when work resumes.

@botelastic botelastic bot closed this Jun 17, 2020
@jmlrt
Copy link
Member

jmlrt commented Jun 17, 2020

Hi @ryandawsonuk,
This PR was closed by our bot because it was stale since a month.

As I didn't have time to answer you before I was able to take some time today to try to reproduce with a new Kind version (v0.8.1) and default Kind config.

I couldn't reproduce your AccessDeniedException error. Everything is working fine on my test.

Or could be related to something else in my KIND config.

At first sight your config look fine but I'm not an KIND expert.

In addition, it seems that Kind >= 0.7.0 don't need anymore local-path storage class and can use standard storage class. My tests with standard storage class are fine.

I'll create a PR to update kubernetes-kind example => #669

@ryandawsonuk
Copy link
Author

Cool, thanks for following this up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working triage/stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants