Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated ServiceAccount field in ClusterSet type #6134

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions multicluster/apis/multicluster/v1alpha2/clusterset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ type LeaderClusterInfo struct {
// Name of the Secret resource in the member cluster, which stores
// the token to access the leader cluster's API server.
Secret string `json:"secret,omitempty"`
// ServiceAccount in the leader cluster, from which the member cluster's token
// is generated. This is an optional field which helps admin to check
// which ServiceAccount is used by a member cluster to access the leader cluster.
//
// DEPRECATED
// This field is planned to be removed in the future releases.
ServiceAccount string `json:"serviceAccount,omitempty"`
}

// ClusterSetSpec defines the desired state of ClusterSet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,6 @@ spec:
description: API server endpoint of the leader cluster. E.g.
"https://172.18.0.1:6443", "https://example.com:6443".
type: string
serviceAccount:
description: "ServiceAccount in the leader cluster, from which
the member cluster's token is generated. This is an optional
field which helps admin to check which ServiceAccount is used
by a member cluster to access the leader cluster. \n DEPRECATED
This field is planned to be removed in the future releases."
type: string
type: object
maxItems: 1
minItems: 1
Expand Down
7 changes: 0 additions & 7 deletions multicluster/build/yamls/antrea-multicluster-leader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,6 @@ spec:
description: API server endpoint of the leader cluster. E.g.
"https://172.18.0.1:6443", "https://example.com:6443".
type: string
serviceAccount:
description: "ServiceAccount in the leader cluster, from which
the member cluster's token is generated. This is an optional
field which helps admin to check which ServiceAccount is used
by a member cluster to access the leader cluster. \n DEPRECATED
This field is planned to be removed in the future releases."
type: string
type: object
maxItems: 1
minItems: 1
Expand Down
7 changes: 0 additions & 7 deletions multicluster/build/yamls/antrea-multicluster-member.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,6 @@ spec:
description: API server endpoint of the leader cluster. E.g.
"https://172.18.0.1:6443", "https://example.com:6443".
type: string
serviceAccount:
description: "ServiceAccount in the leader cluster, from which
the member cluster's token is generated. This is an optional
field which helps admin to check which ServiceAccount is used
by a member cluster to access the leader cluster. \n DEPRECATED
This field is planned to be removed in the future releases."
type: string
type: object
maxItems: 1
minItems: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,6 @@ spec:
description: API server endpoint of the leader cluster. E.g.
"https://172.18.0.1:6443", "https://example.com:6443".
type: string
serviceAccount:
description: "ServiceAccount in the leader cluster, from which
the member cluster's token is generated. This is an optional
field which helps admin to check which ServiceAccount is used
by a member cluster to access the leader cluster. \n DEPRECATED
This field is planned to be removed in the future releases."
type: string
type: object
maxItems: 1
minItems: 1
Expand Down
Loading