-
Notifications
You must be signed in to change notification settings - Fork 703
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
Missing resources #632
Comments
I've been looking into this and this is what've found: TLDR; The deployment has a duplicated Root causeThe app is actually crashing complaining about a duplicated key. Looking into the tags in the rendered template I noticed that it was the deployment the one that had duplicated labels. helm get manifest miguel-test-git | grep 'chart: "gitea-0.2.0"' -C 5
kind: Deployment
metadata:
name: miguel-test-git-gitea
labels:
app: gitea
chart: "gitea-0.2.0"
heritage: "Tiller"
release: "miguel-test-git"
chart: "gitea-0.2.0" and indeed the chart template includes the duplicated template metadata:
name: {{ include "gitea.fullname" . }}
labels:
app: {{ include "gitea.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" Removing the duplicating key and upgrading the release fixed the issue: Action items
$ helm lint .
==> Linting .
Lint OK |
@stormmore I have created two follow up tasks related to the action items, so if you do not mind I am going to go ahead and close this issue. Let me know if you want to keep it open for any reason. Thanks for reporting the issue! |
So during developing a chart and testing deploys I have gotten into a situation where Kubeapps doesn't display any of the resource:
I suspect I am doing something stupid with labels but not 100% sure.
Here is the chart:
gitea-0.2.0.tar.gz
It happens even with the default values.
Here is my
helm version
:The text was updated successfully, but these errors were encountered: