From 9871112ccdacfd81e762eda528186cd0c4844f8f Mon Sep 17 00:00:00 2001 From: craig Date: Thu, 7 Nov 2024 15:16:43 +0000 Subject: [PATCH] remove writing out lastCheckedAt status Signed-off-by: craig rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- api/v1alpha1/dnshealthcheckprobe_types.go | 2 +- bundle/manifests/dns-operator.clusterserviceversion.yaml | 2 +- bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml | 4 ---- config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml | 4 ---- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/api/v1alpha1/dnshealthcheckprobe_types.go b/api/v1alpha1/dnshealthcheckprobe_types.go index 971441a..e1ce752 100644 --- a/api/v1alpha1/dnshealthcheckprobe_types.go +++ b/api/v1alpha1/dnshealthcheckprobe_types.go @@ -67,7 +67,7 @@ type AdditionalHeader struct { // DNSHealthCheckProbeStatus defines the observed state of DNSHealthCheckProbe type DNSHealthCheckProbeStatus struct { - LastCheckedAt metav1.Time `json:"lastCheckedAt"` + LastCheckedAt metav1.Time `json:"-"` ConsecutiveFailures int `json:"consecutiveFailures,omitempty"` Reason string `json:"reason,omitempty"` Status int `json:"status,omitempty"` diff --git a/bundle/manifests/dns-operator.clusterserviceversion.yaml b/bundle/manifests/dns-operator.clusterserviceversion.yaml index 362e24d..cb36b11 100644 --- a/bundle/manifests/dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/dns-operator.clusterserviceversion.yaml @@ -58,7 +58,7 @@ metadata: capabilities: Basic Install categories: Integration & Delivery containerImage: quay.io/kuadrant/dns-operator:latest - createdAt: "2024-10-18T15:21:24Z" + createdAt: "2024-11-07T15:15:46Z" description: A Kubernetes Operator to manage the lifecycle of DNS resources operators.operatorframework.io/builder: operator-sdk-v1.33.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 diff --git a/bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml b/bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml index d876137..4f77c9c 100644 --- a/bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml +++ b/bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml @@ -112,9 +112,6 @@ spec: type: integer healthy: type: boolean - lastCheckedAt: - format: date-time - type: string observedGeneration: format: int64 type: integer @@ -124,7 +121,6 @@ spec: type: integer required: - healthy - - lastCheckedAt type: object type: object served: true diff --git a/config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml b/config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml index 49b88f9..16dca83 100644 --- a/config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml +++ b/config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml @@ -112,9 +112,6 @@ spec: type: integer healthy: type: boolean - lastCheckedAt: - format: date-time - type: string observedGeneration: format: int64 type: integer @@ -124,7 +121,6 @@ spec: type: integer required: - healthy - - lastCheckedAt type: object type: object served: true