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

Beginner Configuration Help #96

Open
CodeMan99 opened this issue Feb 12, 2023 · 1 comment
Open

Beginner Configuration Help #96

CodeMan99 opened this issue Feb 12, 2023 · 1 comment

Comments

@CodeMan99
Copy link

CodeMan99 commented Feb 12, 2023

👋 Hello,

I'm totally new to helm in general. Hopefully there is some documentation you can point me toward.

I'm trying to follow a linode guide to setup a docker registry. It mentions this as an alternative, but I'm not sure how to make it work.

The original example is a configuration with this command:

$ helm install docker-registry stable/docker-registry -f registry/docker-configs.yml
Error: INSTALLATION FAILED: repo stable not found

I am not sure how to correct the error. However, the article mentions helm repo add twuni https://helm.twun.io as an alternative. I'm not sure how to continue from here. I have attempted the following.

$ helm install docker-registry stable/docker-registry -f registry/docker-configs.yml
Error: INSTALLATION FAILED: repo stable not found

$ helm install twuni/docker-registry stable/docker-registry -f registry/docker-configs.yml
Error: INSTALLATION FAILED: repo stable not found

$ helm install twuni/docker-registry docker-registry -f registry/docker-configs.yml     
Error: INSTALLATION FAILED: non-absolute URLs should be in form of repo_name/path_to_chart, got: docker-registry

$ helm install twuni/docker-registry                                        
Error: INSTALLATION FAILED: must either provide a name or specify --generate-name

$ helm install twuni/docker-registry -f registry/docker-configs.yml 
Error: INSTALLATION FAILED: must either provide a name or specify --generate-name
@CodeMan99
Copy link
Author

A friend helped me enable the stable repository.

$ helm repo add stable https://charts.helm.sh/stable
"stable" has been added to your repositories
$ helm install docker-registry stable/docker-registry -f registry/docker-configs.yml 
WARNING: This chart is deprecated
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "docker-registry" namespace: "" from "": no matches for kind "Ingress" in version "extensions/v1beta1"
ensure CRDs are installed first

Now I have a nice deprecation warning (which the linode document mentioned) and wonderful error. I'm not sure what extensions/v1beta1 is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant