You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When CRDs are managed in an Argo CD application, they do not have a health status. CRDs can contain violations, sometime after cluster upgrades. Having health check in Argo to show these resources as degraded will help users detect that their CRDs may need modifications.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
creationTimestamp: '2024-05-19T23:35:28Z'
generation: 3
name: examples.example.io
spec:
conversion:
strategy: None
group: example.io
names:
kind: Example
listKind: ExampleList
plural: examples
shortNames:
- ex
singular: example
preserveUnknownFields: true
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: >-
CreationTimestamp is a timestamp representing the server time when
this object was created. It is not guaranteed to be set in
happens-before order across separate operations. Clients may not set
this value. It is represented in RFC3339 form and is in UTC.
Populated by the system. Read-only. Null for lists. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: Example
listKind: ExampleList
plural: examples
shortNames:
- ex
singular: example
conditions:
- lastTransitionTime: '2024-05-19T23:35:28Z'
message: no conflicts found
reason: NoConflicts
status: 'True'
type: NamesAccepted
- lastTransitionTime: '2024-05-19T23:35:28Z'
message: the initial names have been accepted
reason: InitialNamesAccepted
status: 'True'
type: Established
- lastTransitionTime: '2024-10-26T19:44:57Z'
message: 'spec.preserveUnknownFields: Invalid value: true: must be false'
reason: Violations
status: 'True'
type: NonStructuralSchema
storedVersions:
- v1alpha1
Proposal
Create a health status. One should investigate all the possible conditions a CRD can have.
The text was updated successfully, but these errors were encountered:
Hey @chansuke@agaudreault,
Hope you don’t mind me jumping in! I’m just starting to dive into ArgoCD and thought this issue might be a good way to learn.
Summary
When CRDs are managed in an Argo CD application, they do not have a health status. CRDs can contain violations, sometime after cluster upgrades. Having health check in Argo to show these resources as degraded will help users detect that their CRDs may need modifications.
Proposal
Create a health status. One should investigate all the possible conditions a CRD can have.
The text was updated successfully, but these errors were encountered: