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

Applying with Kustomize and nameSuffix results in a "Error starting daemon: invalid empty flag helper-pod-file and it also does not exist ... " error #401

Open
timatlee opened this issue May 17, 2024 · 0 comments

Comments

@timatlee
Copy link

Pod does not start with the following error when applying local-path-provisioner through a kustomization file with a nameSuffix properties.

Error:

time="2024-05-17T19:14:04Z" level=fatal msg="Error starting daemon: invalid empty flag helper-pod-file and it also does not exist at ConfigMap local-path-storage-ceph/local-path-config with err: configmaps \"local-path-config\" not found"

kustomization.yaml file:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: local-path-storage-ceph
resources:
- https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml

nameSuffix: "-ceph"

Without the nameSuffix property defined, this works fine.

The generated manifest from kustomize build looks correct - the configMap is named correctly with the suffix, the Deployment references the corrected configmap.

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

No branches or pull requests

1 participant