feat: Add the ability to not autogenerate external URLs from ingress object (#13705) (#25383)

Signed-off-by: rkevin <rk@rkevin.dev>
This commit is contained in:
Kevin R
2025-12-02 02:04:58 -08:00
committed by GitHub
parent 860eed5127
commit 1a6973af2d
5 changed files with 104 additions and 6 deletions

View File

@@ -225,6 +225,10 @@ const (
// Ex: "http://grafana.example.com/d/yu5UH4MMz/deployments"
// Ex: "Go to Dashboard|http://grafana.example.com/d/yu5UH4MMz/deployments"
AnnotationKeyLinkPrefix = "link.argocd.argoproj.io/"
// AnnotationKeyIgnoreDefaultLinks tells the Application to not add autogenerated links from this object into its externalURLs
// This applies to ingress objects and takes effect if set to "true"
// This only disables the default behavior of generating links based on the ingress spec, and does not disable AnnotationKeyLinkPrefix
AnnotationKeyIgnoreDefaultLinks = "argocd.argoproj.io/ignore-default-links"
// AnnotationKeyAppSkipReconcile tells the Application to skip the Application controller reconcile.
// Skip reconcile when the value is "true" or any other string values that can be strconv.ParseBool() to be true.