Azure / orkestra

Orkestra is a cloud-native release orchestration and lifecycle management (LCM) platform for the fine-grained orchestration of inter-dependent helm charts and their dependencies
https://azure.github.io/orkestra
Other
104 stars 16 forks source link

Implement downloading chart from ACR #411

Open sherdana opened 2 years ago

sherdana commented 2 years ago

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
nitishm commented 2 years ago

@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 commented 2 years ago

I do not :(

nitishm commented 2 years ago

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

jonathan-innis commented 2 years ago

@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

scottrigby commented 2 years ago

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