Comments (4)
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.
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
helm chart pull
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.
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.
add export HELM_EXPERIMENTAL_OCI=1 infront of cd $projectName
from phippyandfriends.
Related Issues (14)
- Index/Table of content HOT 1
- [parrot] The web site doesn't work with Edge HOT 5
- Link to AKS product page HOT 1
- draft up fails HOT 3
- captainkube docker build fails at go build HOT 2
- switch to `draft connect` for the ingress parts? HOT 2
- captainkube: docker build fails HOT 2
- captainkube: docker build fails HOT 6
- Issue with upgrade HOT 4
- Build pipeline parrot fails
- Add some credits HOT 1
- Add reference to AKS/ACR RBAC authentication setup
- [captainkube] Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:phippyandfriends:default" cannot list pods at the cluster scope HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phippyandfriends.