Skip to content

Commit 3ac142e

Browse files
Merge pull request #108616 from margocrawf/delete-execcredential-v1alpha1
Remove v1alpha1 of the execcredential Kubernetes-commit: b9817c801bcbf9efbea8da1a5b68c83b3ee4ace6
2 parents c47b802 + 7088906 commit 3ac142e

19 files changed

+59
-919
lines changed

pkg/apis/clientauthentication/install/install.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
2424
"k8s.io/client-go/pkg/apis/clientauthentication"
2525
"k8s.io/client-go/pkg/apis/clientauthentication/v1"
26-
"k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1"
2726
"k8s.io/client-go/pkg/apis/clientauthentication/v1beta1"
2827
)
2928

@@ -32,5 +31,4 @@ func Install(scheme *runtime.Scheme) {
3231
utilruntime.Must(clientauthentication.AddToScheme(scheme))
3332
utilruntime.Must(v1.AddToScheme(scheme))
3433
utilruntime.Must(v1beta1.AddToScheme(scheme))
35-
utilruntime.Must(v1alpha1.AddToScheme(scheme))
3634
}

pkg/apis/clientauthentication/types.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ type ExecCredential struct {
4141
// ExecCredentialSpec holds request and runtime specific information provided by
4242
// the transport.
4343
type ExecCredentialSpec struct {
44-
// Response is populated when the transport encounters HTTP status codes, such as 401,
45-
// suggesting previous credentials were invalid.
46-
// +optional
47-
Response *Response
48-
4944
// Interactive is true when the transport detects the command is being called from an
5045
// interactive prompt, i.e., when stdin has been passed to this exec plugin.
5146
// +optional
@@ -75,15 +70,6 @@ type ExecCredentialStatus struct {
7570
ClientKeyData string `datapolicy:"secret-key"`
7671
}
7772

78-
// Response defines metadata about a failed request, including HTTP status code and
79-
// response headers.
80-
type Response struct {
81-
// Headers holds HTTP headers returned by the server.
82-
Header map[string][]string
83-
// Code is the HTTP status code returned by the server.
84-
Code int32
85-
}
86-
8773
// Cluster contains information to allow an exec plugin to communicate
8874
// with the kubernetes cluster being authenticated to.
8975
//

pkg/apis/clientauthentication/v1/conversion.go

Lines changed: 0 additions & 28 deletions
This file was deleted.

pkg/apis/clientauthentication/v1/zz_generated.conversion.go

Lines changed: 10 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/clientauthentication/v1alpha1/conversion.go

Lines changed: 0 additions & 27 deletions
This file was deleted.

pkg/apis/clientauthentication/v1alpha1/doc.go

Lines changed: 0 additions & 24 deletions
This file was deleted.

pkg/apis/clientauthentication/v1alpha1/register.go

Lines changed: 0 additions & 55 deletions
This file was deleted.

pkg/apis/clientauthentication/v1alpha1/types.go

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)