Giter VIP home page Giter VIP logo

Comments (4)

WilldotNET avatar WilldotNET commented on May 26, 2024 2

Just as an update - I haven't been able to get the helm push and subsequent helm upgrade to work using helm v3, not sure what the issue is but I've burnt a lot of time on it, so I'm sticking with acr push at the moment.

from phippyandfriends.

g0pinath-metricon avatar g0pinath-metricon commented on May 26, 2024 2

Updated the CI steps as below

  • bash: |
    cd $(projectName)/charts/$(projectName)
    echo $(registryPassword) | helm registry login $(registryServerName) --username $(registryLogin) --password-stdin
    helm chart save . $(projectName):v$(Build.BuildId)
    helm chart save . $(registryServerName)/helm/$(projectName):v$(Build.BuildId)
    helm chart push $(registryServerName)/helm/$(projectName):v$(Build.BuildId)

CD steps
echo $(registryPassword) | helm registry login $(registryServerName) --username azaksdevgopi --password-stdin
helm chart pull $(registryServerName)/helm/$(projectName):v$(Build.BuildId)

helm chart export $(registryServerName)/helm/$(projectName):v$(Build.BuildId) --destination ./install
cd install
helm install parrot ./parrot --namespace $(k8sNamespace) --wait --set AppVersion=$(Build.BuildId)

in values.yml add AppVersion to provide the tag value at runtime.

-- tag for helm has to start with a v
-- helm upgrade fails when there is no release present, so I had to use helm install.
-- there is no switches for appversion and version as far as I can tell - similar to helm package with version. I didnt dig much into it, and will be watching this repo for updates.

from phippyandfriends.

WilldotNET avatar WilldotNET commented on May 26, 2024 1

I raised this issue with the azure-cli open source team recently - Azure/azure-cli#14467

It looks like az acr helm is being dropped, so you'll need to add in helm save and helm push to replace az acr helm push. I'm working through it at the moment on my own project and will update phippy and friends via pull request if someone hasn't beat me to it already :)

from phippyandfriends.

ricklagerweij avatar ricklagerweij commented on May 26, 2024 1

add export HELM_EXPERIMENTAL_OCI=1 infront of cd $projectName

from phippyandfriends.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.