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

Tiny-Kafka example doesn't work #41

Closed
RothAndrew opened this issue Sep 15, 2021 · 1 comment
Closed

Tiny-Kafka example doesn't work #41

RothAndrew opened this issue Sep 15, 2021 · 1 comment

Comments

@RothAndrew
Copy link
Contributor

The Tiny-Kafka example doesn't work. zarf package create works fine, but when running zarf package deploy I get the error message:

INFO[0008] Copying file                                  Destination=/var/lib/rancher/k3s/server/static/charts/strimzi-kafka-operator-0.24.0.tgz Source=/tmp/zarf-019814346/charts/strimzi-kafka-operator-0.24.0.tgz
FATA[0008] Unable to copy the contents of the asset      Destination=/var/lib/rancher/k3s/server/static/charts/strimzi-kafka-operator-0.24.0.tgz Source=/tmp/zarf-019814346/charts/strimzi-kafka-operator-0.24.0.tgz

Digging deeper, it looks to be because the .tgz file that Strimzi publishes is actually named strimzi-kafka-operator-helm-3-chart-0.24.0.tgz, and that's what gets saved in the tarball, but Zarf expects the chart files to be named <ChartName>-<Version>.tgz

image

I'm submitting a PR to fix the example by pulling it down under files: instead of charts: but it's just a bandaid fix and deserves to be looked at more closely.

@jeff-mccoy
Copy link
Contributor

Thanks I saw that too recently, it's (ironically) an inconsistency in how helm creates the tarball name now that we've switched to helm generating / pulling vs us manually pulling them. This will actually be resolved more completely by #16 and the native-k8s-apply branch.

jeff-mccoy added a commit that referenced this issue Sep 16, 2021
…inconsistencies-breaks-some-charts

Fixes #41, ensure standard naming for downloaded helm charts
jeff-mccoy added a commit that referenced this issue Feb 8, 2022
Signed-off-by: Jeff McCoy <code@jeffm.us>
Noxsios pushed a commit that referenced this issue Mar 8, 2023
Signed-off-by: Jeff McCoy <code@jeffm.us>
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

No branches or pull requests

2 participants