-
Notifications
You must be signed in to change notification settings - Fork 4
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
Installation and Trial notes (ongoing) #7
Comments
Did you also create the proper notification on the ArgoCD side and label the application? |
Hi Thomas, what you see above is precisely what I did, no more, no less. I'm fully expecting that this is me missing things (because I don't know argo). Edit:
|
Created a branch with some updated config in a branch ... I found out that there were some whitespaces in the placeholders which have to be removed. Furthermore, you need the keptn-api-hostname and the keptn-api-token in the notification secret ... |
Notes: If argo is installed on your own cluster, most likely a proper SSL certificate will not be available. In which case, when configuring the webhook (if done via the UI) you will need to manually edit the YAML in your upstream and add the
Becomes:
Generating an Argo Bearer TokenI want a new role that is only allowed to
Now following:
Then I create a secret in Keptn and store the value as Webhook has a header:
Unfortunately the following response is received when issuing a
Going into Argo settings UI and generating a token for the
@bradmccoydev any ideas? @thschue There's a regression on @thschue I received this invite to collaborate on this repo but Github shows "invalid invite". Could you please resend? |
First get the user session token (I don't know how we generate one for longer than a session):
Returns a JSON document:
Use this token value below... This curl works for argo 2.3.3:
|
Open question: The argo API token is a session token, which expires after 24hrs. How do we get a more permanent token? |
|
@thschue / @bradmccoydev strengths and weaknesses of using a pre / post sync job to trigger a keptn sequence? Discuss :) https://github.com/argoproj/argocd-example-apps/blob/master/pre-post-sync/post-sync-job.yaml |
You can create project JWT tokens for a specific role in this project. E.g. create a „sync“ role which only has permissions for syncing an application for this project and then create a JWT token which doesn’t expire for this role. Some more details are mentioned in https://argo-cd.readthedocs.io/en/stable/operator-manual/security/#authentication in option 3. |
True, this is a bit inconsistent ... Think we should change this to |
keptnStage sounds logical to me.
|
Edit: This thread serves as a list of working notes and things I discover along the way. If things are mentioned here, they're not necessarily bugs or issues but more things I'm working around.
Here is my first attempt, as an Argo newbie so very much a trial and error exercise!
Initial state
My shipyard:
So far, no errors.
OutOfSync
in the UIBut I don't get the sequence triggered event.
The text was updated successfully, but these errors were encountered: