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

fix: helm install command #468

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antonengelhardt
Copy link

I just ran across this issue:

helm install ./deploy/chart/local-path-provisioner --name local-path-storage --namespace local-path-storage
Error: unknown flag: --name

My PR updates the command to install the local-path-provisioner:

helm install local-path-storage --create-namespace --namespace local-path-storage ./deploy/chart/local-path-provisioner/
NAME: local-path-storage
LAST DEPLOYED: Tue Dec 10 12:01:52 2024
NAMESPACE: local-path-storage
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
You can create a hostpath-backed persistent volume with a persistent volume claim like this:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: local-path-pvc
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: local-path
  resources:
    requests:
      storage: 2Gi

My helm version is v3.16.3.

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.

1 participant