New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: core-install.yaml always refers to latest argocd image #7321
fix: core-install.yaml always refers to latest argocd image #7321
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
5884b9c
to
dfd8afb
Compare
Codecov Report
@@ Coverage Diff @@
## master #7321 +/- ##
=======================================
Coverage 41.17% 41.17%
=======================================
Files 161 161
Lines 21612 21612
=======================================
Hits 8899 8899
Misses 11446 11446
Partials 1267 1267 Continue to review full report at Codecov.
|
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Doesn't this change make it so that if someone uses the v2.1.3 install manifests it would actually install the latest image, like a v2.3.5 or whatever version which may or may not work with the v2.1.3. Or am I missing something? |
This change updates the shell script which is used during release time and updates image in manifests in release branch. The most recent release has correct image in core-install.yaml:
|
I was meaning manifest in the v2.1.3 tag. So we need to reference the release-2.1 branch and use that manifest and not the release tag now? Because your release notes reference the v2.1.3 tag and not release-2.1 branch. |
Tagger: Alexander Matyushentsev <AMatyushentsev@gmail.com> Date: Wed Sep 29 14:43:42 2021 -0700 ## Quick Start ### Non-HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/install.yaml ``` #### HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/ha/install.yaml ``` #### Bug Fixes - fix: core-install.yaml always refers to latest argocd image (argoproj#7321) - fix: handle applicationset backup forbidden error (argoproj#7306) - fix: Argo CD should not use cached git/helm revision during app creation/update validation (argoproj#7244) commit 053bfbe Author: Alexander Matyushentsev <Alexander_Matyushentsev@intuit.com> Date: Wed Sep 29 14:05:18 2021 -0700 fix: core-install.yaml always refers to latest argocd image (argoproj#7321) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> diff --git a/hack/update-manifests.sh b/hack/update-manifests.sh index 0d4e37e9c..b2fafb3d5 100755 --- a/hack/update-manifests.sh +++ b/hack/update-manifests.sh @@ -31,6 +31,7 @@ $KUSTOMIZE version cd ${SRCROOT}/manifests/base && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} cd ${SRCROOT}/manifests/ha/base && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} +cd ${SRCROOT}/manifests/core-install && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} echo "${AUTOGENMSG}" > "${SRCROOT}/manifests/install.yaml" $KUSTOMIZE build "${SRCROOT}/manifests/cluster-install" >> "${SRCROOT}/manifests/install.yaml" diff --git a/manifests/core-install/kustomization.yaml b/manifests/core-install/kustomization.yaml index e6b768c65..f502d9beb 100644 --- a/manifests/core-install/kustomization.yaml +++ b/manifests/core-install/kustomization.yaml @@ -7,4 +7,8 @@ resources: - ../base/config - ../base/application-controller - ../base/repo-server -- ../base/redis \ No newline at end of file +- ../base/redis +images: +- name: quay.io/argoproj/argocd + newName: quay.io/argoproj/argocd + newTag: latest ============ END COMMIT MESSAGE ============== ============BEGIN RELEASE NOTES================= ## Quick Start ### Non-HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/install.yaml ``` #### HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/ha/install.yaml ``` #### Bug Fixes - fix: core-install.yaml always refers to latest argocd image (argoproj#7321) - fix: handle applicationset backup forbidden error (argoproj#7306) - fix: Argo CD should not use cached git/helm revision during app creation/update validation (argoproj#7244)
Tagger: Alexander Matyushentsev <AMatyushentsev@gmail.com> Date: Wed Sep 29 14:43:42 2021 -0700 ## Quick Start ### Non-HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/install.yaml ``` #### HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/ha/install.yaml ``` #### Bug Fixes - fix: core-install.yaml always refers to latest argocd image (argoproj#7321) - fix: handle applicationset backup forbidden error (argoproj#7306) - fix: Argo CD should not use cached git/helm revision during app creation/update validation (argoproj#7244) commit 053bfbe Author: Alexander Matyushentsev <Alexander_Matyushentsev@intuit.com> Date: Wed Sep 29 14:05:18 2021 -0700 fix: core-install.yaml always refers to latest argocd image (argoproj#7321) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> diff --git a/hack/update-manifests.sh b/hack/update-manifests.sh index 0d4e37e9c..b2fafb3d5 100755 --- a/hack/update-manifests.sh +++ b/hack/update-manifests.sh @@ -31,6 +31,7 @@ $KUSTOMIZE version cd ${SRCROOT}/manifests/base && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} cd ${SRCROOT}/manifests/ha/base && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} +cd ${SRCROOT}/manifests/core-install && $KUSTOMIZE edit set image quay.io/argoproj/argocd=${IMAGE_NAMESPACE}/argocd:${IMAGE_TAG} echo "${AUTOGENMSG}" > "${SRCROOT}/manifests/install.yaml" $KUSTOMIZE build "${SRCROOT}/manifests/cluster-install" >> "${SRCROOT}/manifests/install.yaml" diff --git a/manifests/core-install/kustomization.yaml b/manifests/core-install/kustomization.yaml index e6b768c65..f502d9beb 100644 --- a/manifests/core-install/kustomization.yaml +++ b/manifests/core-install/kustomization.yaml @@ -7,4 +7,8 @@ resources: - ../base/config - ../base/application-controller - ../base/repo-server -- ../base/redis \ No newline at end of file +- ../base/redis +images: +- name: quay.io/argoproj/argocd + newName: quay.io/argoproj/argocd + newTag: latest ============ END COMMIT MESSAGE ============== ============BEGIN RELEASE NOTES================= ## Quick Start ### Non-HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/install.yaml ``` #### HA: ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.1.3/manifests/ha/install.yaml ``` #### Bug Fixes - fix: core-install.yaml always refers to latest argocd image (argoproj#7321) - fix: handle applicationset backup forbidden error (argoproj#7306) - fix: Argo CD should not use cached git/helm revision during app creation/update validation (argoproj#7244)
Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com
Closes #7278