Skip to content

Commit 92864af

Browse files
authored
chore(deprecation): Add deprecation notice to CRDs (#655)
1 parent 2960d2a commit 92864af

10 files changed

+27
-2
lines changed

api/ingress/v1alpha1/httpsedge_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ type HTTPSEdgeStatus struct {
128128

129129
// +kubebuilder:object:root=true
130130
// +kubebuilder:subresource:status
131+
// +kubebuilder:deprecatedversion:warning="HTTPSEdge is deprecated and will be removed in a future release. Please migrate to CloudEndpoint or AgentEndpoint instead. See https://github.com/ngrok/ngrok-operator/discussions/654 for more information."
131132

132133
// HTTPSEdge is the Schema for the httpsedges API
133134
type HTTPSEdge struct {

api/ingress/v1alpha1/ngrokmoduleset_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ type NgrokModuleSetModules struct {
5555

5656
// +kubebuilder:object:root=true
5757
// +kubebuilder:subresource:status
58+
// +kubebuilder:deprecatedversion:warning="NgrokModuleSet is deprecated and will be removed in a future release. Please migrate to traffic policies instead. See https://github.com/ngrok/ngrok-operator/discussions/654 for more information."
5859

5960
// NgrokModuleSet is the Schema for the ngrokmodules API
6061
type NgrokModuleSet struct {

api/ingress/v1alpha1/tcpedge_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ type TCPEdgeStatus struct {
7070

7171
// +kubebuilder:object:root=true
7272
// +kubebuilder:subresource:status
73+
// +kubebuilder:deprecatedversion:warning="TCPEdge is deprecated and will be removed in a future release. Please migrate to CloudEndpoint or AgentEndpoint instead. See https://github.com/ngrok/ngrok-operator/discussions/654 for more information."
7374
// +kubebuilder:printcolumn:name="ID",type=string,JSONPath=`.status.id`,description="Domain ID"
7475
// +kubebuilder:printcolumn:name="Hostports",type=string,JSONPath=`.status.hostports`,description="Hostports"
7576
// +kubebuilder:printcolumn:name="Backend ID",type=string,JSONPath=`.status.backend.id`,description="Tunnel Group Backend ID"

api/ingress/v1alpha1/tlsedge_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ type TLSEdgeStatus struct {
8181

8282
// +kubebuilder:object:root=true
8383
// +kubebuilder:subresource:status
84+
// +kubebuilder:deprecatedversion:warning="TLSEdge is deprecated and will be removed in a future release. Please migrate to CloudEndpoint or AgentEndpoint instead. See https://github.com/ngrok/ngrok-operator/discussions/654 for more information."
8485
// +kubebuilder:printcolumn:name="ID",type=string,JSONPath=`.status.id`,description="Domain ID"
8586
// +kubebuilder:printcolumn:name="Hostports",type=string,JSONPath=`.status.hostports`,description="Hostports"
8687
// +kubebuilder:printcolumn:name="Backend ID",type=string,JSONPath=`.status.backend.id`,description="Tunnel Group Backend ID"

api/ingress/v1alpha1/tunnel_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ type TunnelStatus struct {
6969

7070
// +kubebuilder:object:root=true
7171
// +kubebuilder:subresource:status
72+
// +kubebuilder:deprecatedversion:warning="Tunnel is deprecated and will be removed in a future release. Please migrate to AgentEndpoint instead. See https://github.com/ngrok/ngrok-operator/discussions/654 for more information."
7273
// +kubebuilder:printcolumn:name="ForwardsTo",type=string,JSONPath=`.spec.forwardsTo`,description="Service/port to forward to"
7374
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="Age"
7475

helm/ngrok-operator/templates/crds/ingress.k8s.ngrok.com_httpsedges.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

helm/ngrok-operator/templates/crds/ingress.k8s.ngrok.com_ngrokmodulesets.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

helm/ngrok-operator/templates/crds/ingress.k8s.ngrok.com_tcpedges.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

helm/ngrok-operator/templates/crds/ingress.k8s.ngrok.com_tlsedges.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

helm/ngrok-operator/templates/crds/ingress.k8s.ngrok.com_tunnels.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)