Failure understand how to upgrade from kargo 1.0.x to 1.1.x - implicit configuration into explicit #3197
Answered
by
krancour
danielloader
asked this question in
Q&A
-
Anyone come across this? This was working in kargo 1.0.3 but since upgrading to 1.1.1 it's now failing - given it's meant to be a bool, and says it can be false or null and I've got it set to true, kinda confused where to go next
Guessing it's because I don't have an apiVersion: kargo.akuity.io/v1alpha1
kind: Stage
metadata:
name: uat
namespace: app-frontend
spec:
promotionTemplate:
spec:
steps:
- uses: argocd-update
config:
apps:
- name: frontend-uat
namespace: argocd
sources:
- repoURL: https://github.com/example/platform-applications
updateTargetRevision: true
desiredRevision: <WHAT GOES HERE NOW?>
kustomize:
images:
- repoURL: ghcr.io/example/frontend
newName: 12345678910.dkr.ecr.eu-west-2.amazonaws.com/ghcr.io/example/frontend
useDigest: false
requestedFreight:
- origin:
kind: Warehouse
name: frontend
sources:
direct: true |
Beta Was this translation helpful? Give feedback.
Answered by
krancour
Dec 30, 2024
Replies: 1 comment 6 replies
-
Can I see your Warehouse to get an idea of what artifacts are included in each piece of Freight? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. So, if your intention is to update the target revision to whatever commit from https://github.com/example/platform-applications was contained within the Freight, then your desiredRevision would be
${{ commitFrom('https://github.com/example/platform-applications').ID }}