Skip to content

Commit

Permalink
Remove ToolchainCluster.spec.apiEndpoint field. (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
metlos authored Oct 9, 2024
1 parent ebfefc0 commit 331aa86
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
9 changes: 0 additions & 9 deletions api/v1alpha1/docs/apiref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3334,15 +3334,6 @@ ToolchainClusterSpec defines the desired state of ToolchainCluster
[cols="20a,50a,15a,15a", options="header"]
|===
| Field | Description | Default | Validation
| *`apiEndpoint`* __string__ | The API endpoint of the member cluster. This can be a hostname, +
hostname:port, IP or IP:port. +


Be aware that this is kept in the spec only for compatibility reasons +
and doesn't serve any purpose. Use the Status.APIEndpoint instead. +


Deprecated: This is not used for anything. + | |
| *`secretRef`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-localsecretreference[$$LocalSecretReference$$]__ | Name of the secret containing the kubeconfig required to connect +
to the cluster. + | |
|===
Expand Down
10 changes: 0 additions & 10 deletions api/v1alpha1/toolchaincluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ const (
// ToolchainClusterSpec defines the desired state of ToolchainCluster
// +k8s:openapi-gen=true
type ToolchainClusterSpec struct {
// The API endpoint of the member cluster. This can be a hostname,
// hostname:port, IP or IP:port.
//
// Be aware that this is kept in the spec only for compatibility reasons
// and doesn't serve any purpose. Use the Status.APIEndpoint instead.
//
// Deprecated: This is not used for anything.
// +optional
APIEndpoint string `json:"apiEndpoint,omitempty"`

// Name of the secret containing the kubeconfig required to connect
// to the cluster.
SecretRef LocalSecretReference `json:"secretRef"`
Expand Down
7 changes: 0 additions & 7 deletions api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 331aa86

Please sign in to comment.