Skip to content

Commit

Permalink
keep the version of observability policy same
Browse files Browse the repository at this point in the history
  • Loading branch information
salonichf5 committed Nov 19, 2024
1 parent 3a03912 commit 8834253
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 1,627 deletions.
4 changes: 2 additions & 2 deletions apis/v1alpha1/observabilitypolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ import (

// +genclient
// +kubebuilder:object:root=true
// +kubebuilder:deprecatedversion:warning="The 'v1alpha1' version of ObservabilityPolicy API is deprecated, please migrate to 'v1alpha2'."
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:resource:categories=nginx-gateway-fabric,scope=Namespaced
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:metadata:labels="gateway.networking.k8s.io/policy=direct"
//nolint:lll

// ObservabilityPolicy is a Direct Attached Policy. It provides a way to configure observability settings for
// the NGINX Gateway Fabric data plane. Used in conjunction with the NginxProxy CRD that is attached to the
Expand Down Expand Up @@ -48,6 +47,7 @@ type ObservabilityPolicySpec struct {
// Objects must be in the same namespace as the policy.
// Support: HTTPRoute, GRPCRoute.
//
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=16
// +kubebuilder:validation:XValidation:message="TargetRef Kind must be: HTTPRoute or GRPCRoute",rule="(self.exists(t, t.kind=='HTTPRoute') || self.exists(t, t.kind=='GRPCRoute'))"
// +kubebuilder:validation:XValidation:message="TargetRef Group must be gateway.networking.k8s.io.",rule="self.all(t, t.group=='gateway.networking.k8s.io')"
Expand Down
6 changes: 0 additions & 6 deletions apis/v1alpha2/doc.go

This file was deleted.

152 changes: 0 additions & 152 deletions apis/v1alpha2/observabilitypolicy_types.go

This file was deleted.

41 changes: 0 additions & 41 deletions apis/v1alpha2/register.go

This file was deleted.

144 changes: 0 additions & 144 deletions apis/v1alpha2/zz_generated.deepcopy.go

This file was deleted.

Loading

0 comments on commit 8834253

Please sign in to comment.