level=fatal msg="key unsupported" when running artifacts passing example #5098
Unanswered
SimonDanisch
asked this question in
Q&A
Replies: 2 comments
-
I had this as well when I didn't configure an ArtifactRepository. You need to put it in "artifact-repositories" config map (doesn't exist by default). I created one like this, which works: apiVersion: v1
kind: ConfigMap
metadata:
# if you want to use this config map by default - name it "artifact-repositories"
name: artifact-repositories
namespace: argo
annotations:
# v3.0 and after - if you want to use a specific key, put that's key into this annotation
workflows.argoproj.io/default-artifact-repository: artifactRepository
data:
artifactRepository: |
archiveLogs: true
gcs:
bucket: argo-bucket
serviceAccountKeySecret:
name: gcs-secret-key
key: gcsSecretKey I agree that the error is not really indicative though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
we're updating v3.0.2 to have better messages |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So this is likely just a misconfiguration as I'm just getting started with argo, but the error message is so undescriptive, that it almost feels like a bug and it's not clear how to proceed from here.
I followed the getting started tutorial and did something like:
If I interpret the docs correctly, that's all I need to do to get started with minio...
From other tutorials I've taken, that I also need to run:
And put something like this in there:
I tried that as well and tried all kind of combinations for the endpoint (e.g. the url returned by
minikube service --url argo-artifacts
).I may have borked my config with all these different sources of information (I deleted things and started from scratch a couple of times, but who knows where there are remnants of configs), and argo gives me very little informations about why it's failing.
Here are the logs of the failed pod:
It would be nice if someone can point me to clues of what I'm missing, and how to debug this situation (I would assume there must be some logs somewhere, where it tells me what endpoint it uses & with what secrets and with what kind of error it fails).
Beta Was this translation helpful? Give feedback.
All reactions