From c0c42425d6ade4904016faf01507728b361ca461 Mon Sep 17 00:00:00 2001 From: Lukas Krejci Date: Tue, 8 Oct 2024 17:22:48 +0200 Subject: [PATCH] Use the streamlined ToolchainCluster and update its CRD. (#1094) --- ...n.dev.openshift.com_toolchainclusters.yaml | 29 ++++--------------- 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml index 5e20f34cf..584e6bd78 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml @@ -46,31 +46,13 @@ spec: apiEndpoint: description: "The API endpoint of the member cluster. This can be a hostname, hostname:port, IP or IP:port. \n Be aware that this - field is going to be replaced with the Status.APIEndpoint in the - future." + is kept in the spec only for compatibility reasons and doesn't serve + any purpose. Use the Status.APIEndpoint instead. \n Deprecated: + This is not used for anything." type: string - caBundle: - description: "CABundle contains the certificate authority information. - \n Note that this is going to be deprecated and removed. It will - be replaced by a field in the kubecondig of the connection secret" - type: string - disabledTLSValidations: - description: "DisabledTLSValidations defines a list of checks to ignore - when validating the TLS connection to the member cluster. This - can be any of *, SubjectName, or ValidityPeriod. If * is specified, - it is expected to be the only option in list. \n Note that this - is going to be deprecated and removed. It will be replaced by the - kubeconfig stored in the connection secret." - items: - type: string - type: array - x-kubernetes-list-type: set secretRef: - description: "Name of the secret containing the token required to - access the member cluster. The secret needs to exist in the same - namespace as the control plane and should have a \"token\" key. - \n In the near future, the secret will contain the whole kubeconfig - required to connect to the cluster." + description: Name of the secret containing the kubeconfig required + to connect to the cluster. properties: name: description: Name of a secret within the enclosing namespace @@ -79,7 +61,6 @@ spec: - name type: object required: - - apiEndpoint - secretRef type: object status: