Skip to content

Commit

Permalink
feat: Add endpoints annotations to DWR CRD
Browse files Browse the repository at this point in the history
fix #1292

Signed-off-by: Andrew Obuchowicz <[email protected]>
  • Loading branch information
AObuchow committed Aug 13, 2024
1 parent 5c3dd6b commit db0debb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/controller/v1alpha1/devworkspacerouting_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ type Endpoint struct {
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Schemaless
Attributes Attributes `json:"attributes,omitempty"`
// Map of annotations to be added to the Kubernetes Ingress or OpenShift Route associated with the endpoint.
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
Annotations map[string]string `json:"annotations,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down

0 comments on commit db0debb

Please sign in to comment.