You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5d2bd3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Act-3/argocd-notifications-config.yaml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ data:
8
8
# You can set this automatically with: kubectl patch configmap argocd-notifications-cm -n argocd -p "{\"data\":{\"cluster-name\":\"$(kubectl config current-context)\"}}"
9
9
cluster-name: "CLUSTER_NAME_PLACEHOLDER"
10
10
11
+
# Resource Group - set this from node label kubernetes.azure.com/network-resourcegroup
12
+
# You can set this automatically with: kubectl patch configmap argocd-notifications-cm -n argocd -p "{\"data\":{\"resource-group\":\"$(kubectl get nodes -o jsonpath='{.items[0].metadata.labels.kubernetes\.azure\.com/network-resourcegroup}')\"}}"
0 commit comments