helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Error: found in requirements.yaml, but missing in charts/ directory: postgresql

Open kapolos opened this issue 7 years ago • 10 comments

This is on Rancher 2.2.4 on a new cluster. I had been using the now deprecated Helm chart on a similar cluster without issues. But now that I tried using this one, it gives me this error.

image

These are the config options I supplied:

image

I'm not very familiar with Helm, do you perhaps have an idea of what could be wrong?

kapolos avatar Jun 15 '19 13:06 kapolos

I tried installing from the old repo and that one works:

image

kapolos avatar Jun 15 '19 13:06 kapolos

It looks like you need to run helm repo update.

unguiculus avatar Jun 20 '19 20:06 unguiculus

Closing this now. It's not related to the chart itself but the way dependencies are handled in Helm. For general Helm questions, please check out the helm-users channel in Kubernetes Slack (https://kubernetes.slack.com).

unguiculus avatar Jul 07 '19 14:07 unguiculus

@kapolos - Might be delayed in responding, but i had same issue and was able to resolve it using this reference

Note: Below are steps that worked for me in my local, haven't tested in rancher though.

  1. Cloned latest keycloak helm chart repo ⌘ git clone [email protected]:codecentric/helm-charts.git

  2. Ran helm install command and got below error ⌘ helm install --name keycloak helm-charts/charts/keycloak/ --dry-run --debug

[debug] Created tunnel using local port: '61320'
[debug] SERVER: "127.0.0.1:61320"
[debug] Original chart version: ""
[debug] CHART PATH: helm-charts/charts/keycloak
Error: found in requirements.yaml, but missing in charts/ directory: postgresql
  1. Ran below update command per this reference ⌘ helm dependency update helm-charts/charts/keycloak
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
        Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "stable" chart repository
Update Complete.
Saving 1 charts
Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/
Deleting outdated charts
  1. Run helm install command to see a successful response ⌘ helm install --name keycloak helm-charts/charts/keycloak/ --dry-run --debug
[debug] Created tunnel using local port: '61346'
[debug] SERVER: "127.0.0.1:61346"
[debug] Original chart version: ""
[debug] CHART PATH: helm-charts/charts/keycloak

NAME:   keycloak
REVISION: 1
RELEASED: Sat Aug 24 14:41:01 2019
CHART: keycloak-5.1.6
USER-SUPPLIED VALUES:
{}

COMPUTED VALUES:
clusterDomain: cluster.local
init:
  image:
    pullPolicy: IfNotPresent
    repository: alpine
    tag: 3.9
...
...
...

aviboru avatar Aug 24 '19 18:08 aviboru

@kapolos I come to here because I have currently the same problem :) Can't install keycloak via ranger. Do u solved this?

ahoehma avatar Jan 03 '20 20:01 ahoehma

+1

this-tech avatar Jan 03 '20 22:01 this-tech

@ahoehma I have not, sorry.

kapolos avatar Jan 04 '20 09:01 kapolos

Having the same issue

jakesylvestre avatar Apr 06 '20 07:04 jakesylvestre

  1. helm dependency update helm-charts/charts/keycloak

This helped to solve the probelm. Thanks!

rajsenthil avatar Jun 03 '20 14:06 rajsenthil

use this url https://codecentric.github.io/helm-charts to add to rancher,dont use https://github.com/codecentric/helm-charts. it solved.

fat8701 avatar Jan 13 '21 06:01 fat8701