https://pulumi.com logo
Title
s

straight-arm-50771

03/14/2023, 2:01 PM
Is there some secret sauce for using OCI Helm repos? Per https://hub.docker.com/r/thethingsindustries/lorawan-stack-helm-chart
helm install <name> <oci://registry-1.docker.io/thethingsindustries/lorawan-stack-helm-chart>
Below gives
error: failed to pull chart: could not find protocol handler for:
ttn-deploy:
  type: kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>
  properties:
    chart: thethingsindustries/lorawan-stack-helm-chart
    version: 0.0.3
    name: lorawan-stack-helm-chart
    namespace: things
    repositoryOpts:
      repo: <http://registry-1.docker.io|registry-1.docker.io>
I've tried setting repo to
<oci://registry-1.docker.io/>
which throws
error: failed to pull chart: looks like "<oci://registry-1.docker.io/>" is not a valid chart repository or cannot be reached: object required
Update- found an open ticket, OCI not yet supported 😒ad-panda:
m

many-telephone-49025

03/15/2023, 8:22 AM
Hi @straight-arm-50771, helm Release supports OCI.
name: kubernetes-yaml
runtime: yaml
description: "Test"

resources:
  minecraft-exporter:
    type: kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>
    properties:
      chart: <oci://ghcr.io/dirien/charts/minecraft-exporter>
      version: 0.11.1
      name: minecraft-exporter
      namespace: default
In my example, I use ghcr.io as registry.
image.png
s

straight-arm-50771

03/15/2023, 4:40 PM
worked like a charm, thank you!