You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use branches in my git-repo (dev, tst, prod). So my workflow is to change things in dev and merge them with PRs to tst and later to prd. ArgoCD in my dev-cluster uses the dev-branch, on my tst-cluster it uses tst-branch, in prod it uses prd-branch.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i use Chart.yaml to deploy specific Helm-Charts. Here is an example:
my repo looks like this:
Depending of the stage, i use the corresponding values-file in my ArgoCD-Application.
My Chart.yaml looks like this, for example:
`apiVersion: v2
name: rancher
version: 0.0.0
dependencies:
version: "2.8.5"
repository: https://registry.example.com:443/artifactory/iaas-helm`
This works fine.
I use branches in my git-repo (dev, tst, prod). So my workflow is to change things in dev and merge them with PRs to tst and later to prd. ArgoCD in my dev-cluster uses the dev-branch, on my tst-cluster it uses tst-branch, in prod it uses prd-branch.
I am looking for a way to use different repository-URLs for the different branches. For example:
branch dev should use https://devregistry.example.com:443/artifactory/iaas-helm`
branch tst shoud use https://testregistry.example.com:443/artifactory/iaas-helm`
branch prd should use https://prdregistry.example.com:443/artifactory/iaas-helm`
since i cant template this Chart.yaml i have no idea to achive this.
Do you have any ideas?
Kind regards,
Ronny
Beta Was this translation helpful? Give feedback.
All reactions