Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Add last synced time to CRDs #849

Merged
merged 1 commit into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ BREAKING CHANGES:
FEATURES:

IMPROVEMENTS:
* CRDs: add field Last Synced Time to CRD status and add printer column on CRD to display time since when the
resource was last successfully synced with Consul. [[GH-849](https://github.com/hashicorp/consul-helm/pull/849)]

BUG FIXES:
* Increase Consul client daemonset's memory from `25Mi` to `50Mi` for its `client-tls-init`
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-ingressgateways.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -116,6 +120,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-proxydefaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -111,6 +115,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-servicedefaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -114,6 +118,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-serviceintentions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -158,6 +162,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-serviceresolvers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -190,6 +194,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-servicerouters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -186,6 +190,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-servicesplitters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -94,6 +98,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down
8 changes: 8 additions & 0 deletions templates/crd-terminatinggateways.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
description: The sync status of the resource with Consul
name: Synced
type: string
- JSONPath: .status.lastSyncedTime
description: The last successful synced time of the resource with Consul
name: Last Synced
type: date
- JSONPath: .metadata.creationTimestamp
description: The age of the resource
name: Age
Expand Down Expand Up @@ -101,6 +105,10 @@ spec:
- type
type: object
type: array
lastSyncedTime:
description: LastSyncedTime is the last time the resource successfully synced with Consul.
format: date-time
type: string
type: object
type: object
version: v1alpha1
Expand Down