Set context for gitlab commit status #3168
-
|
We have a multi env setup using single branch model on gitlab. We have configured git commit status ref https://fluxcd.io/flux/components/notification/provider/#git-commit-status If we could set the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
|
You should get multiple different checks, one for each Kustomization. If you have multiple different clusters that all have Kustomizations by the same name, you might see this issue. Is that the case for your configuration? For alerts that surface through a notification provider like Slack, you get a "summary" field which is meant to let you specify which cluster is impacted by the change. For commit status notifications, I don't think this field has any effect (but you can try it also!) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Not sure when it happened, but noticed that we are now getting a different id per commit status
Is it possible to configure the id to make it more human readable? |
Beta Was this translation helpful? Give feedback.
-
|
Like @Cenness mentioned, Docs here: https://fluxcd.io/flux/components/notification/providers/#custom-commit-status-messages |
Beta Was this translation helpful? Give feedback.





Like @Cenness mentioned,
.spec.commitStatusExpr, introduced in Flux 2.6, allows for customizing commit statuses.Docs here: https://fluxcd.io/flux/components/notification/providers/#custom-commit-status-messages