Error: found in requirements.yaml, but missing in charts/ directory: postgresql
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.

These are the config options I supplied:

I'm not very familiar with Helm, do you perhaps have an idea of what could be wrong?
I tried installing from the old repo and that one works:

It looks like you need to run helm repo update.
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).
@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.
-
Cloned latest keycloak helm chart repo ⌘ git clone [email protected]:codecentric/helm-charts.git
-
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
- 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
- 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
...
...
...
@kapolos I come to here because I have currently the same problem :) Can't install keycloak via ranger. Do u solved this?
+1
@ahoehma I have not, sorry.
Having the same issue
- helm dependency update helm-charts/charts/keycloak
This helped to solve the probelm. Thanks!
use this url https://codecentric.github.io/helm-charts to add to rancher,dont use https://github.com/codecentric/helm-charts. it solved.