@@ -21,15 +21,18 @@ spec:
2121 scope : Namespaced
2222 versions :
2323 - additionalPrinterColumns :
24- - jsonPath : .spec.endpoint
24+ - jsonPath : .spec.endpoint.address
2525 name : Endpoint
2626 type : string
27- - jsonPath : .metadata.creationTimestamp
28- name : Age
29- type : date
3027 - jsonPath : .status.phase
3128 name : Phase
3229 type : string
30+ - jsonPath : .status.conditions[?(@.type=="Ready")].status
31+ name : Ready
32+ type : string
33+ - jsonPath : .metadata.creationTimestamp
34+ name : Age
35+ type : date
3336 name : v1alpha1
3437 schema :
3538 openAPIV3Schema :
@@ -278,10 +281,86 @@ spec:
278281 - domain
279282 type : object
280283 endpoint :
281- description : Endpoint is the management address of the device provided
282- as <ip:port>.
283- pattern : ^(\d{1,3}\.){3}\d{1,3}:\d{1,5}$
284- type : string
284+ description : Endpoint contains the connection information for the
285+ device.
286+ properties :
287+ address :
288+ description : Address is the management address of the device provided
289+ as <ip:port>.
290+ pattern : ^(\d{1,3}\.){3}\d{1,3}:\d{1,5}$
291+ type : string
292+ secretRef :
293+ description : |-
294+ SecretRef is name of the authentication secret for the device containing the username and password.
295+ The secret must be of type kubernetes.io/basic-auth and as such contain the following keys: 'username' and 'password'.
296+ properties :
297+ name :
298+ description : name is unique within a namespace to reference
299+ a secret resource.
300+ type : string
301+ namespace :
302+ description : namespace defines the space within which the
303+ secret name must be unique.
304+ type : string
305+ type : object
306+ x-kubernetes-map-type : atomic
307+ tls :
308+ description : Transport credentials for grpc connection to the
309+ switch.
310+ properties :
311+ ca :
312+ description : The CA certificate to verify the server's identity.
313+ properties :
314+ key :
315+ description : The key of the secret to select from. Must
316+ be a valid secret key.
317+ type : string
318+ name :
319+ default : " "
320+ description : |-
321+ Name of the referent.
322+ This field is effectively required, but due to backwards compatibility is
323+ allowed to be empty. Instances of this type with an empty value here are
324+ almost certainly wrong.
325+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
326+ type : string
327+ optional :
328+ description : Specify whether the Secret or its key must
329+ be defined
330+ type : boolean
331+ required :
332+ - key
333+ type : object
334+ x-kubernetes-map-type : atomic
335+ certificate :
336+ description : |-
337+ The client certificate and private key to use for mutual TLS authentication.
338+ Leave empty if mTLS is not desired.
339+ properties :
340+ secretRef :
341+ description : |-
342+ Secret containing the certificate.
343+ The secret must be of type kubernetes.io/tls and as such contain the following keys: 'tls.crt' and 'tls.key'.
344+ properties :
345+ name :
346+ description : name is unique within a namespace to
347+ reference a secret resource.
348+ type : string
349+ namespace :
350+ description : namespace defines the space within which
351+ the secret name must be unique.
352+ type : string
353+ type : object
354+ x-kubernetes-map-type : atomic
355+ required :
356+ - secretRef
357+ type : object
358+ required :
359+ - ca
360+ type : object
361+ required :
362+ - address
363+ type : object
285364 grpc :
286365 description : |-
287366 Configuration for the gRPC server on the device.
@@ -484,21 +563,6 @@ spec:
484563 required :
485564 - certificates
486565 type : object
487- secretRef :
488- description : |-
489- SecretRef is name of the authentication secret for the device containing the username and password.
490- The secret must be of type kubernetes.io/basic-auth and as such contain the following keys: 'username' and 'password'.
491- properties :
492- name :
493- description : name is unique within a namespace to reference a
494- secret resource.
495- type : string
496- namespace :
497- description : namespace defines the space within which the secret
498- name must be unique.
499- type : string
500- type : object
501- x-kubernetes-map-type : atomic
502566 snmp :
503567 description : SNMP global configuration.
504568 properties :
@@ -577,59 +641,6 @@ spec:
577641 - location
578642 - srcIf
579643 type : object
580- tls :
581- description : Transport credentials for grpc connection to the switch.
582- properties :
583- ca :
584- description : The CA certificate to verify the server's identity.
585- properties :
586- key :
587- description : The key of the secret to select from. Must be
588- a valid secret key.
589- type : string
590- name :
591- default : " "
592- description : |-
593- Name of the referent.
594- This field is effectively required, but due to backwards compatibility is
595- allowed to be empty. Instances of this type with an empty value here are
596- almost certainly wrong.
597- More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
598- type : string
599- optional :
600- description : Specify whether the Secret or its key must be
601- defined
602- type : boolean
603- required :
604- - key
605- type : object
606- x-kubernetes-map-type : atomic
607- certificate :
608- description : |-
609- The client certificate and private key to use for mutual TLS authentication.
610- Leave empty if mTLS is not desired.
611- properties :
612- secretRef :
613- description : |-
614- Secret containing the certificate.
615- The secret must be of type kubernetes.io/tls and as such contain the following keys: 'tls.crt' and 'tls.key'.
616- properties :
617- name :
618- description : name is unique within a namespace to reference
619- a secret resource.
620- type : string
621- namespace :
622- description : namespace defines the space within which
623- the secret name must be unique.
624- type : string
625- type : object
626- x-kubernetes-map-type : atomic
627- required :
628- - secretRef
629- type : object
630- required :
631- - ca
632- type : object
633644 users :
634645 description : List of local users on the switch.
635646 items :
@@ -677,7 +688,6 @@ spec:
677688 type : object
678689 type : array
679690 required :
680- - bootstrap
681691 - endpoint
682692 type : object
683693 status :
0 commit comments