Skip to content

Commit

Permalink
doc: added annotations documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Olsiak committed Aug 10, 2023
1 parent 5ee8444 commit 44f30df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/apis/camel/v1/trait/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ type RouteTrait struct {
Trait `property:",squash" json:",inline"`
// The annotations added to route.
// This can be used to set route specific annotations
// See https://docs.openshift.com/container-platform/3.11/architecture/networking/routes.html#route-specific-annotations
// For annotations options see https://docs.openshift.com/container-platform/3.11/architecture/networking/routes.html#route-specific-annotations
// CLI usage example: -t "ingress.annotations.'nginx.ingress.kubernetes.io/use-regex'=true"
Annotations map[string]string `property:"annotations" json:"annotations,omitempty"`
// To configure the host exposed by the route.
Host string `property:"host" json:"host,omitempty"`
Expand Down

0 comments on commit 44f30df

Please sign in to comment.