Skip to content

Commit

Permalink
Remove v1alpha1 of the execcredential
Browse files Browse the repository at this point in the history
Signed-off-by: Margo Crawford <[email protected]>

Kubernetes-commit: 5b690b44d08807c6434a421b0041ef685482d337
  • Loading branch information
margocrawf authored and k8s-publishing-bot committed Mar 18, 2022
1 parent c47b802 commit 28b9e26
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 871 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/clientauthentication/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/client-go/pkg/apis/clientauthentication"
"k8s.io/client-go/pkg/apis/clientauthentication/v1"
"k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1"
"k8s.io/client-go/pkg/apis/clientauthentication/v1beta1"
)

Expand All @@ -32,5 +31,4 @@ func Install(scheme *runtime.Scheme) {
utilruntime.Must(clientauthentication.AddToScheme(scheme))
utilruntime.Must(v1.AddToScheme(scheme))
utilruntime.Must(v1beta1.AddToScheme(scheme))
utilruntime.Must(v1alpha1.AddToScheme(scheme))
}
14 changes: 0 additions & 14 deletions pkg/apis/clientauthentication/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ type ExecCredential struct {
// ExecCredentialSpec holds request and runtime specific information provided by
// the transport.
type ExecCredentialSpec struct {
// Response is populated when the transport encounters HTTP status codes, such as 401,
// suggesting previous credentials were invalid.
// +optional
Response *Response

// Interactive is true when the transport detects the command is being called from an
// interactive prompt, i.e., when stdin has been passed to this exec plugin.
// +optional
Expand Down Expand Up @@ -75,15 +70,6 @@ type ExecCredentialStatus struct {
ClientKeyData string `datapolicy:"secret-key"`
}

// Response defines metadata about a failed request, including HTTP status code and
// response headers.
type Response struct {
// Headers holds HTTP headers returned by the server.
Header map[string][]string
// Code is the HTTP status code returned by the server.
Code int32
}

// Cluster contains information to allow an exec plugin to communicate
// with the kubernetes cluster being authenticated to.
//
Expand Down
28 changes: 0 additions & 28 deletions pkg/apis/clientauthentication/v1/conversion.go

This file was deleted.

27 changes: 0 additions & 27 deletions pkg/apis/clientauthentication/v1alpha1/conversion.go

This file was deleted.

24 changes: 0 additions & 24 deletions pkg/apis/clientauthentication/v1alpha1/doc.go

This file was deleted.

55 changes: 0 additions & 55 deletions pkg/apis/clientauthentication/v1alpha1/register.go

This file was deleted.

78 changes: 0 additions & 78 deletions pkg/apis/clientauthentication/v1alpha1/types.go

This file was deleted.

Loading

0 comments on commit 28b9e26

Please sign in to comment.