orkestra icon indicating copy to clipboard operation
orkestra copied to clipboard

Implement downloading chart from ACR

Open sherdana opened this issue 4 years ago • 5 comments

Edited (@nitishm) : Formatting

Please implement downloading ApplicationGroup chart from ACR. Have chart in ACR crmobilenetwork.azurecr.io/hello-world:1.0.3 helm chart looks like this:

apiVersion: orkestra.azure.microsoft.com/v1alpha1
kind: ApplicationGroup
metadata:
  name: bookinfo
spec:
  applications:
    - name: bookinfo
      spec:
        chart:
          url: "crmobilenetwork.azurecr.io"
          name: hello-world
          version: 1.0.3
        release:
          targetNamespace: bookinfo2
        workflow:
          - name: generic-executor
            type: custom
            image:
              name: generic-executor
              image: crmobilenetwork.azurecr.io/generic-executor:1.0.0
            params:
              data:
                foo: bar

sherdana avatar Nov 13 '21 15:11 sherdana

@sherdana can you provide a link to the code-snippet above if this is something that was sourced from somewhere? And if possible create a PR with the changes

nitishm avatar Nov 13 '21 15:11 nitishm

I do not :(

nitishm avatar Nov 13 '21 15:11 nitishm

@jonathan-innis have you encountered this before? Pulling from ACR

nitishm avatar Nov 13 '21 16:11 nitishm

@nitishm To pull chart from ACR we will have to pull as OCI artifact and then stage it locally.

HelmRelease currently has no support for OCI artifacts so this is why we will have to stage it

jonathan-innis avatar Nov 18 '21 06:11 jonathan-innis

@jonathan-innis Unblocked! As of v0.31.0 Flux allows users to define Helm OCI repository as a chart source 🎉

scottrigby avatar Jul 07 '22 21:07 scottrigby