Skip to content

Commit

Permalink
remove writing out lastCheckedAt status
Browse files Browse the repository at this point in the history
Signed-off-by: craig <[email protected]>

rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
maleck13 committed Nov 7, 2024
1 parent d59e618 commit 9871112
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/dnshealthcheckprobe_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/dns-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions bundle/manifests/kuadrant.io_dnshealthcheckprobes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ spec:
type: integer
healthy:
type: boolean
lastCheckedAt:
format: date-time
type: string
observedGeneration:
format: int64
type: integer
Expand All @@ -124,7 +121,6 @@ spec:
type: integer
required:
- healthy
- lastCheckedAt
type: object
type: object
served: true
Expand Down
4 changes: 0 additions & 4 deletions config/crd/bases/kuadrant.io_dnshealthcheckprobes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ spec:
type: integer
healthy:
type: boolean
lastCheckedAt:
format: date-time
type: string
observedGeneration:
format: int64
type: integer
Expand All @@ -124,7 +121,6 @@ spec:
type: integer
required:
- healthy
- lastCheckedAt
type: object
type: object
served: true
Expand Down

0 comments on commit 9871112

Please sign in to comment.