Skip to content

Commit 1a18276

Browse files
committed
fixup
1 parent c5fd900 commit 1a18276

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/operator/api/v2alpha1/clientintents_types.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ const (
6262
OtterizeSvcNetworkPolicy = "intents.otterize.com/svc-network-policy"
6363
OtterizeNetworkPolicyServiceDefaultDeny = "intents.otterize.com/network-policy-service-default-deny"
6464
OtterizeNetworkPolicyExternalTraffic = "intents.otterize.com/network-policy-external-traffic"
65-
OtterizeNetPolMetricsCollectors = "intents.otterize.com/network-policy-metrics-collectors"
66-
OtterizeNetPolMetricsCollectorsLevel = "intents.otterize.com/network-policy-metrics-collectors-level"
67-
OtterizeNetworkPolicyWebhooks = "intents.otterize.com/network-policy-webhooks"
65+
OtterizeNetPolMetricsCollectors = "intents.otterize.com/network-policy-metrics-collectors"
66+
OtterizeNetPolMetricsCollectorsLevel = "intents.otterize.com/network-policy-metrics-collectors-level"
67+
OtterizeNetworkPolicyWebhooks = "intents.otterize.com/network-policy-webhooks"
6868
ClientIntentsFinalizerName = "intents.otterize.com/client-intents-finalizer"
6969
ProtectedServicesFinalizerName = "intents.otterize.com/protected-services-finalizer"
7070
OtterizeIstioClientAnnotationKeyDeprecated = "intents.otterize.com/istio-client"
@@ -377,7 +377,6 @@ type AzureKeyVaultPolicy struct {
377377
type IntentsStatus struct {
378378
// upToDate field reflects whether the client intents have successfully been applied
379379
// to the cluster to the state specified
380-
// Deprecated: Use ApprovedClientIntents.Status.UpToDate instead
381380
// +optional
382381
UpToDate bool `json:"upToDate"`
383382

@@ -386,7 +385,7 @@ type IntentsStatus struct {
386385
ObservedGeneration int64 `json:"observedGeneration"`
387386

388387
// ResolvedIPs stores resolved IPs for a domain name - the network mapper populates it when DNS internetTarget is used
389-
// Deprecated: Use ApprovedClientIntents.Status.ResolvedIPs instead
388+
// Deprecated: Use ApprovedClientIntents.Status.ResolvedIPs instead. This field is kept here for the migration.
390389
// +optional
391390
ResolvedIPs []ResolvedIPs `json:"resolvedIPs,omitempty" yaml:"resolvedIPs,omitempty"`
392391

src/operator/api/v2beta1/clientintents_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ type AzureKeyVaultPolicy struct {
374374
type IntentsStatus struct {
375375
// upToDate field reflects whether the client intents have successfully been applied
376376
// to the cluster to the state specified
377-
// Deprecated: Use ApprovedClientIntents.Status.UpToDate instead
378377
// +optional
379378
UpToDate bool `json:"upToDate"`
380379

@@ -384,7 +383,7 @@ type IntentsStatus struct {
384383
ObservedGeneration int64 `json:"observedGeneration"`
385384

386385
// ResolvedIPs stores resolved IPs for a domain name - the network mapper populates it when DNS internetTarget is used
387-
// Deprecated: Use ApprovedClientIntents.Status.ResolvedIPs instead
386+
// Deprecated: Use ApprovedClientIntents.Status.ResolvedIPs instead. This field is kept here for the migration.
388387
// +optional
389388
ResolvedIPs []ResolvedIPs `json:"resolvedIPs,omitempty" yaml:"resolvedIPs,omitempty"`
390389

0 commit comments

Comments
 (0)