operatorcontrolplane: make structural
-apiVersion: apiextensions.k8s.io/v1beta1
+apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
- creationTimestamp: null
name: podnetworkconnectivitychecks.controlplane.operator.openshift.io
spec:
group: controlplane.operator.openshift.io
@@ -13,9 +12,13 @@ spec:
plural: podnetworkconnectivitychecks
singular: podnetworkconnectivitycheck
scope: ""
+ versions:
+ - name: v1alpha1
+ served: true
+ storage: true
subresources:
status: {}
- validation:
+ schema:
openAPIV3Schema:
description: PodNetworkConnectivityCheck
type: object
@@ -42,8 +45,8 @@ spec:
- targetEndpoint
properties:
sourcePod:
- description: SourcePod names the pod from which the condition will be
- checked
+ description: SourcePod names the pod from which the condition will
+ be checked
type: string
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
targetEndpoint:
@@ -57,9 +60,9 @@ spec:
description: TLSClientCert, if specified, references a kubernetes.io/tls
type secret with 'tls.crt' and 'tls.key' entries containing an optional
TLS client certificate and key to be used when checking endpoints
- that require a client certificate in order to gracefully preform the
- scan without causing excessive logging in the endpoint process. The
- secret must exist in the same namespace as this resource.
+ that require a client certificate in order to gracefully preform
+ the scan without causing excessive logging in the endpoint process.
+ The secret must exist in the same namespace as this resource.
type: object
required:
- name
@@ -75,8 +78,8 @@ spec:
description: Conditions summarize the status of the check
type: array
items:
- description: PodNetworkConnectivityCheckCondition represents the overall
- status of the pod network connectivity.
+ description: PodNetworkConnectivityCheckCondition represents the
+ overall status of the pod network connectivity.
type: object
required:
- lastTransitionTime
@@ -125,8 +128,8 @@ spec:
description: Reason for status in a machine readable format.
type: string
success:
- description: Success indicates if the log entry indicates a success
- or failure.
+ description: Success indicates if the log entry indicates a
+ success or failure.
type: boolean
time:
description: Start time of check action.
@@ -148,8 +151,8 @@ spec:
format: date-time
nullable: true
endLogs:
- description: EndLogs contains log entries related to the end of
- this outage. Should contain the success entry that resolved
+ description: EndLogs contains log entries related to the end
+ of this outage. Should contain the success entry that resolved
the outage and possibly a few of the failure log entries that
preceded it.
type: array
@@ -245,22 +248,11 @@ spec:
description: Reason for status in a machine readable format.
type: string
success:
- description: Success indicates if the log entry indicates a success
- or failure.
+ description: Success indicates if the log entry indicates a
+ success or failure.
type: boolean
time:
description: Start time of check action.
type: string
format: date-time
nullable: true
- version: v1alpha1
- versions:
- - name: v1alpha1
- served: true
- storage: true
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
