Replies: 8 comments 2 replies
-
Hello @renperez , Yes, context might contain any key, not just apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
config.yaml: |
context:
argocdUrl: <argocd-url>
clusterName: <clusterName> The value might be used as |
Beta Was this translation helpful? Give feedback.
-
thanks @alexmt. I tried adding it with this value {{.context.clusterName}} and the slack notification stopped working. is this the correct value? |
Beta Was this translation helpful? Give feedback.
-
The Also feel free to join our slack: https://argoproj.github.io/community/join-slack . It will be easier to troubleshoot |
Beta Was this translation helpful? Give feedback.
-
ClusterName: . seem the {{.context.clusterName}} is not work? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I've implemented a CLI commands that helps troubleshooting configuration issues. The CLI is not released yet but available in
Give it a try please. |
Beta Was this translation helpful? Give feedback.
-
Could I ask how to set {{.context.argocdUrl}} now? I can see that setting which is like
stopped working. I am on version 1.8.6 thanks a lot for help. |
Beta Was this translation helpful? Give feedback.
-
Got it! It has to be in argocd-notifications-cm not in argocd-cm... ;-) |
Beta Was this translation helpful? Give feedback.
-
I want to add the cluster name on my slack notification. is there a way to add that? I was able to add the context for argocd url but was wondering if i can add the cluster name as well, since we are using argo for multiple cluster.
Beta Was this translation helpful? Give feedback.
All reactions