Revert "CredentialIssuer contains Impersonation Proxy spec"
This reverts commit 83bbd1fa9314508030ea9fcf26c6720212d65dc0.
This commit is contained in:
parent
ab60396ac4
commit
23e8c35918
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
@ -65,25 +65,6 @@ type CredentialIssuerStrategy struct {
|
|||||||
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSConfig struct {
|
|
||||||
// The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
CertificateAuthorityData string `json:"certificateAuthorityData"`
|
|
||||||
// The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
SecretName string `json:"secretName"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ImpersonationProxySpec struct {
|
|
||||||
// specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
ExternalEndpoint string `json:"externalEndpoint"`
|
|
||||||
// TLS configuration to communicate with the impersonation proxy
|
|
||||||
TLS TLSConfig `json:"tls"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec for the credential issuer
|
|
||||||
type CredentialIssuerSpec struct {
|
|
||||||
ImpersonationProxy ImpersonationProxySpec `json:"impersonationProxy"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Describes the configuration status of a Pinniped credential issuer.
|
// Describes the configuration status of a Pinniped credential issuer.
|
||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
@ -94,8 +75,6 @@ type CredentialIssuer struct {
|
|||||||
|
|
||||||
// Status of the credential issuer.
|
// Status of the credential issuer.
|
||||||
Status CredentialIssuerStatus `json:"status"`
|
Status CredentialIssuerStatus `json:"status"`
|
||||||
|
|
||||||
Spec CredentialIssuerSpec `json:"spec"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// List of CredentialIssuer objects.
|
// List of CredentialIssuer objects.
|
||||||
|
@ -35,38 +35,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
|
||||||
description: Spec for the credential issuer
|
|
||||||
properties:
|
|
||||||
impersonationProxy:
|
|
||||||
properties:
|
|
||||||
externalEndpoint:
|
|
||||||
description: specify the external endpoint name that will route
|
|
||||||
to the impersonation proxy port
|
|
||||||
type: string
|
|
||||||
tls:
|
|
||||||
description: TLS configuration to communicate with the impersonation
|
|
||||||
proxy
|
|
||||||
properties:
|
|
||||||
certificateAuthorityData:
|
|
||||||
description: The CA that clients should validate when connecting
|
|
||||||
to the impersonation proxy endpoint
|
|
||||||
type: string
|
|
||||||
secretName:
|
|
||||||
description: The name of a secret of type "kubernetes.io/tls"
|
|
||||||
that will be used to serve the endpoint
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- certificateAuthorityData
|
|
||||||
- secretName
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- externalEndpoint
|
|
||||||
- tls
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- impersonationProxy
|
|
||||||
type: object
|
|
||||||
status:
|
status:
|
||||||
description: Status of the credential issuer.
|
description: Status of the credential issuer.
|
||||||
properties:
|
properties:
|
||||||
@ -131,7 +99,6 @@ spec:
|
|||||||
- strategies
|
- strategies
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
|
||||||
- status
|
- status
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
54
generated/1.17/README.adoc
generated
54
generated/1.17/README.adoc
generated
@ -231,7 +231,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
||||||
|
|
||||||
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
||||||
| *`spec`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]__ |
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
@ -255,23 +254,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerspec"]
|
|
||||||
==== CredentialIssuerSpec
|
|
||||||
|
|
||||||
Spec for the credential issuer
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuer[$$CredentialIssuer$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`impersonationProxy`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]__ |
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
[id="{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
||||||
==== CredentialIssuerStatus
|
==== CredentialIssuerStatus
|
||||||
|
|
||||||
@ -311,42 +293,6 @@ Status of a credential issuer.
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-impersonationproxyspec"]
|
|
||||||
==== ImpersonationProxySpec
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`externalEndpoint`* __string__ | specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
| *`tls`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-tlsconfig[$$TLSConfig$$]__ | TLS configuration to communicate with the impersonation proxy
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-tlsconfig"]
|
|
||||||
==== TLSConfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-17-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`certificateAuthorityData`* __string__ | The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
| *`secretName`* __string__ | The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
||||||
=== config.supervisor.pinniped.dev/v1alpha1
|
=== config.supervisor.pinniped.dev/v1alpha1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
@ -65,25 +65,6 @@ type CredentialIssuerStrategy struct {
|
|||||||
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSConfig struct {
|
|
||||||
// The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
CertificateAuthorityData string `json:"certificateAuthorityData"`
|
|
||||||
// The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
SecretName string `json:"secretName"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ImpersonationProxySpec struct {
|
|
||||||
// specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
ExternalEndpoint string `json:"externalEndpoint"`
|
|
||||||
// TLS configuration to communicate with the impersonation proxy
|
|
||||||
TLS TLSConfig `json:"tls"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec for the credential issuer
|
|
||||||
type CredentialIssuerSpec struct {
|
|
||||||
ImpersonationProxy ImpersonationProxySpec `json:"impersonationProxy"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Describes the configuration status of a Pinniped credential issuer.
|
// Describes the configuration status of a Pinniped credential issuer.
|
||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
@ -94,8 +75,6 @@ type CredentialIssuer struct {
|
|||||||
|
|
||||||
// Status of the credential issuer.
|
// Status of the credential issuer.
|
||||||
Status CredentialIssuerStatus `json:"status"`
|
Status CredentialIssuerStatus `json:"status"`
|
||||||
|
|
||||||
Spec CredentialIssuerSpec `json:"spec"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// List of CredentialIssuer objects.
|
// List of CredentialIssuer objects.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// +build !ignore_autogenerated
|
// +build !ignore_autogenerated
|
||||||
|
|
||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||||
@ -17,7 +17,6 @@ func (in *CredentialIssuer) DeepCopyInto(out *CredentialIssuer) {
|
|||||||
out.TypeMeta = in.TypeMeta
|
out.TypeMeta = in.TypeMeta
|
||||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||||
in.Status.DeepCopyInto(&out.Status)
|
in.Status.DeepCopyInto(&out.Status)
|
||||||
out.Spec = in.Spec
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,23 +87,6 @@ func (in *CredentialIssuerList) DeepCopyObject() runtime.Object {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopyInto(out *CredentialIssuerSpec) {
|
|
||||||
*out = *in
|
|
||||||
out.ImpersonationProxy = in.ImpersonationProxy
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialIssuerSpec.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopy() *CredentialIssuerSpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(CredentialIssuerSpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -149,36 +131,3 @@ func (in *CredentialIssuerStrategy) DeepCopy() *CredentialIssuerStrategy {
|
|||||||
in.DeepCopyInto(out)
|
in.DeepCopyInto(out)
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopyInto(out *ImpersonationProxySpec) {
|
|
||||||
*out = *in
|
|
||||||
out.TLS = in.TLS
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpersonationProxySpec.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopy() *ImpersonationProxySpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(ImpersonationProxySpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
||||||
*out = *in
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
|
|
||||||
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(TLSConfig)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
@ -35,38 +35,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
|
||||||
description: Spec for the credential issuer
|
|
||||||
properties:
|
|
||||||
impersonationProxy:
|
|
||||||
properties:
|
|
||||||
externalEndpoint:
|
|
||||||
description: specify the external endpoint name that will route
|
|
||||||
to the impersonation proxy port
|
|
||||||
type: string
|
|
||||||
tls:
|
|
||||||
description: TLS configuration to communicate with the impersonation
|
|
||||||
proxy
|
|
||||||
properties:
|
|
||||||
certificateAuthorityData:
|
|
||||||
description: The CA that clients should validate when connecting
|
|
||||||
to the impersonation proxy endpoint
|
|
||||||
type: string
|
|
||||||
secretName:
|
|
||||||
description: The name of a secret of type "kubernetes.io/tls"
|
|
||||||
that will be used to serve the endpoint
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- certificateAuthorityData
|
|
||||||
- secretName
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- externalEndpoint
|
|
||||||
- tls
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- impersonationProxy
|
|
||||||
type: object
|
|
||||||
status:
|
status:
|
||||||
description: Status of the credential issuer.
|
description: Status of the credential issuer.
|
||||||
properties:
|
properties:
|
||||||
@ -131,7 +99,6 @@ spec:
|
|||||||
- strategies
|
- strategies
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
|
||||||
- status
|
- status
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
54
generated/1.18/README.adoc
generated
54
generated/1.18/README.adoc
generated
@ -231,7 +231,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
||||||
|
|
||||||
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
||||||
| *`spec`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]__ |
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
@ -255,23 +254,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerspec"]
|
|
||||||
==== CredentialIssuerSpec
|
|
||||||
|
|
||||||
Spec for the credential issuer
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuer[$$CredentialIssuer$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`impersonationProxy`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]__ |
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
[id="{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
||||||
==== CredentialIssuerStatus
|
==== CredentialIssuerStatus
|
||||||
|
|
||||||
@ -311,42 +293,6 @@ Status of a credential issuer.
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-impersonationproxyspec"]
|
|
||||||
==== ImpersonationProxySpec
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`externalEndpoint`* __string__ | specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
| *`tls`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-tlsconfig[$$TLSConfig$$]__ | TLS configuration to communicate with the impersonation proxy
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-tlsconfig"]
|
|
||||||
==== TLSConfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-18-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`certificateAuthorityData`* __string__ | The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
| *`secretName`* __string__ | The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
||||||
=== config.supervisor.pinniped.dev/v1alpha1
|
=== config.supervisor.pinniped.dev/v1alpha1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
@ -65,25 +65,6 @@ type CredentialIssuerStrategy struct {
|
|||||||
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSConfig struct {
|
|
||||||
// The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
CertificateAuthorityData string `json:"certificateAuthorityData"`
|
|
||||||
// The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
SecretName string `json:"secretName"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ImpersonationProxySpec struct {
|
|
||||||
// specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
ExternalEndpoint string `json:"externalEndpoint"`
|
|
||||||
// TLS configuration to communicate with the impersonation proxy
|
|
||||||
TLS TLSConfig `json:"tls"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec for the credential issuer
|
|
||||||
type CredentialIssuerSpec struct {
|
|
||||||
ImpersonationProxy ImpersonationProxySpec `json:"impersonationProxy"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Describes the configuration status of a Pinniped credential issuer.
|
// Describes the configuration status of a Pinniped credential issuer.
|
||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
@ -94,8 +75,6 @@ type CredentialIssuer struct {
|
|||||||
|
|
||||||
// Status of the credential issuer.
|
// Status of the credential issuer.
|
||||||
Status CredentialIssuerStatus `json:"status"`
|
Status CredentialIssuerStatus `json:"status"`
|
||||||
|
|
||||||
Spec CredentialIssuerSpec `json:"spec"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// List of CredentialIssuer objects.
|
// List of CredentialIssuer objects.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// +build !ignore_autogenerated
|
// +build !ignore_autogenerated
|
||||||
|
|
||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||||
@ -17,7 +17,6 @@ func (in *CredentialIssuer) DeepCopyInto(out *CredentialIssuer) {
|
|||||||
out.TypeMeta = in.TypeMeta
|
out.TypeMeta = in.TypeMeta
|
||||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||||
in.Status.DeepCopyInto(&out.Status)
|
in.Status.DeepCopyInto(&out.Status)
|
||||||
out.Spec = in.Spec
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,23 +87,6 @@ func (in *CredentialIssuerList) DeepCopyObject() runtime.Object {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopyInto(out *CredentialIssuerSpec) {
|
|
||||||
*out = *in
|
|
||||||
out.ImpersonationProxy = in.ImpersonationProxy
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialIssuerSpec.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopy() *CredentialIssuerSpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(CredentialIssuerSpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -149,36 +131,3 @@ func (in *CredentialIssuerStrategy) DeepCopy() *CredentialIssuerStrategy {
|
|||||||
in.DeepCopyInto(out)
|
in.DeepCopyInto(out)
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopyInto(out *ImpersonationProxySpec) {
|
|
||||||
*out = *in
|
|
||||||
out.TLS = in.TLS
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpersonationProxySpec.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopy() *ImpersonationProxySpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(ImpersonationProxySpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
||||||
*out = *in
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
|
|
||||||
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(TLSConfig)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
@ -35,38 +35,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
|
||||||
description: Spec for the credential issuer
|
|
||||||
properties:
|
|
||||||
impersonationProxy:
|
|
||||||
properties:
|
|
||||||
externalEndpoint:
|
|
||||||
description: specify the external endpoint name that will route
|
|
||||||
to the impersonation proxy port
|
|
||||||
type: string
|
|
||||||
tls:
|
|
||||||
description: TLS configuration to communicate with the impersonation
|
|
||||||
proxy
|
|
||||||
properties:
|
|
||||||
certificateAuthorityData:
|
|
||||||
description: The CA that clients should validate when connecting
|
|
||||||
to the impersonation proxy endpoint
|
|
||||||
type: string
|
|
||||||
secretName:
|
|
||||||
description: The name of a secret of type "kubernetes.io/tls"
|
|
||||||
that will be used to serve the endpoint
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- certificateAuthorityData
|
|
||||||
- secretName
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- externalEndpoint
|
|
||||||
- tls
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- impersonationProxy
|
|
||||||
type: object
|
|
||||||
status:
|
status:
|
||||||
description: Status of the credential issuer.
|
description: Status of the credential issuer.
|
||||||
properties:
|
properties:
|
||||||
@ -131,7 +99,6 @@ spec:
|
|||||||
- strategies
|
- strategies
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
|
||||||
- status
|
- status
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
54
generated/1.19/README.adoc
generated
54
generated/1.19/README.adoc
generated
@ -231,7 +231,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
||||||
|
|
||||||
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
||||||
| *`spec`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]__ |
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
@ -255,23 +254,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerspec"]
|
|
||||||
==== CredentialIssuerSpec
|
|
||||||
|
|
||||||
Spec for the credential issuer
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuer[$$CredentialIssuer$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`impersonationProxy`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]__ |
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
[id="{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
||||||
==== CredentialIssuerStatus
|
==== CredentialIssuerStatus
|
||||||
|
|
||||||
@ -311,42 +293,6 @@ Status of a credential issuer.
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-impersonationproxyspec"]
|
|
||||||
==== ImpersonationProxySpec
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`externalEndpoint`* __string__ | specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
| *`tls`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-tlsconfig[$$TLSConfig$$]__ | TLS configuration to communicate with the impersonation proxy
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-tlsconfig"]
|
|
||||||
==== TLSConfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-19-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`certificateAuthorityData`* __string__ | The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
| *`secretName`* __string__ | The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
||||||
=== config.supervisor.pinniped.dev/v1alpha1
|
=== config.supervisor.pinniped.dev/v1alpha1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
@ -65,25 +65,6 @@ type CredentialIssuerStrategy struct {
|
|||||||
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSConfig struct {
|
|
||||||
// The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
CertificateAuthorityData string `json:"certificateAuthorityData"`
|
|
||||||
// The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
SecretName string `json:"secretName"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ImpersonationProxySpec struct {
|
|
||||||
// specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
ExternalEndpoint string `json:"externalEndpoint"`
|
|
||||||
// TLS configuration to communicate with the impersonation proxy
|
|
||||||
TLS TLSConfig `json:"tls"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec for the credential issuer
|
|
||||||
type CredentialIssuerSpec struct {
|
|
||||||
ImpersonationProxy ImpersonationProxySpec `json:"impersonationProxy"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Describes the configuration status of a Pinniped credential issuer.
|
// Describes the configuration status of a Pinniped credential issuer.
|
||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
@ -94,8 +75,6 @@ type CredentialIssuer struct {
|
|||||||
|
|
||||||
// Status of the credential issuer.
|
// Status of the credential issuer.
|
||||||
Status CredentialIssuerStatus `json:"status"`
|
Status CredentialIssuerStatus `json:"status"`
|
||||||
|
|
||||||
Spec CredentialIssuerSpec `json:"spec"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// List of CredentialIssuer objects.
|
// List of CredentialIssuer objects.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// +build !ignore_autogenerated
|
// +build !ignore_autogenerated
|
||||||
|
|
||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||||
@ -17,7 +17,6 @@ func (in *CredentialIssuer) DeepCopyInto(out *CredentialIssuer) {
|
|||||||
out.TypeMeta = in.TypeMeta
|
out.TypeMeta = in.TypeMeta
|
||||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||||
in.Status.DeepCopyInto(&out.Status)
|
in.Status.DeepCopyInto(&out.Status)
|
||||||
out.Spec = in.Spec
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,23 +87,6 @@ func (in *CredentialIssuerList) DeepCopyObject() runtime.Object {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopyInto(out *CredentialIssuerSpec) {
|
|
||||||
*out = *in
|
|
||||||
out.ImpersonationProxy = in.ImpersonationProxy
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialIssuerSpec.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopy() *CredentialIssuerSpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(CredentialIssuerSpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -149,36 +131,3 @@ func (in *CredentialIssuerStrategy) DeepCopy() *CredentialIssuerStrategy {
|
|||||||
in.DeepCopyInto(out)
|
in.DeepCopyInto(out)
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopyInto(out *ImpersonationProxySpec) {
|
|
||||||
*out = *in
|
|
||||||
out.TLS = in.TLS
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpersonationProxySpec.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopy() *ImpersonationProxySpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(ImpersonationProxySpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
||||||
*out = *in
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
|
|
||||||
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(TLSConfig)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
@ -35,38 +35,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
|
||||||
description: Spec for the credential issuer
|
|
||||||
properties:
|
|
||||||
impersonationProxy:
|
|
||||||
properties:
|
|
||||||
externalEndpoint:
|
|
||||||
description: specify the external endpoint name that will route
|
|
||||||
to the impersonation proxy port
|
|
||||||
type: string
|
|
||||||
tls:
|
|
||||||
description: TLS configuration to communicate with the impersonation
|
|
||||||
proxy
|
|
||||||
properties:
|
|
||||||
certificateAuthorityData:
|
|
||||||
description: The CA that clients should validate when connecting
|
|
||||||
to the impersonation proxy endpoint
|
|
||||||
type: string
|
|
||||||
secretName:
|
|
||||||
description: The name of a secret of type "kubernetes.io/tls"
|
|
||||||
that will be used to serve the endpoint
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- certificateAuthorityData
|
|
||||||
- secretName
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- externalEndpoint
|
|
||||||
- tls
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- impersonationProxy
|
|
||||||
type: object
|
|
||||||
status:
|
status:
|
||||||
description: Status of the credential issuer.
|
description: Status of the credential issuer.
|
||||||
properties:
|
properties:
|
||||||
@ -131,7 +99,6 @@ spec:
|
|||||||
- strategies
|
- strategies
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
|
||||||
- status
|
- status
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
54
generated/1.20/README.adoc
generated
54
generated/1.20/README.adoc
generated
@ -231,7 +231,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.2/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.2/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`.
|
||||||
|
|
||||||
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
| *`status`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerstatus[$$CredentialIssuerStatus$$]__ | Status of the credential issuer.
|
||||||
| *`spec`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]__ |
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
@ -255,23 +254,6 @@ Describes the configuration status of a Pinniped credential issuer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerspec"]
|
|
||||||
==== CredentialIssuerSpec
|
|
||||||
|
|
||||||
Spec for the credential issuer
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuer[$$CredentialIssuer$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`impersonationProxy`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]__ |
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
[id="{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerstatus"]
|
||||||
==== CredentialIssuerStatus
|
==== CredentialIssuerStatus
|
||||||
|
|
||||||
@ -311,42 +293,6 @@ Status of a credential issuer.
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-impersonationproxyspec"]
|
|
||||||
==== ImpersonationProxySpec
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-credentialissuerspec[$$CredentialIssuerSpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`externalEndpoint`* __string__ | specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
| *`tls`* __xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-tlsconfig[$$TLSConfig$$]__ | TLS configuration to communicate with the impersonation proxy
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-tlsconfig"]
|
|
||||||
==== TLSConfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Appears In:
|
|
||||||
****
|
|
||||||
- xref:{anchor_prefix}-go-pinniped-dev-generated-1-20-apis-concierge-config-v1alpha1-impersonationproxyspec[$$ImpersonationProxySpec$$]
|
|
||||||
****
|
|
||||||
|
|
||||||
[cols="25a,75a", options="header"]
|
|
||||||
|===
|
|
||||||
| Field | Description
|
|
||||||
| *`certificateAuthorityData`* __string__ | The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
| *`secretName`* __string__ | The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
|===
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
[id="{anchor_prefix}-config-supervisor-pinniped-dev-v1alpha1"]
|
||||||
=== config.supervisor.pinniped.dev/v1alpha1
|
=== config.supervisor.pinniped.dev/v1alpha1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
@ -65,25 +65,6 @@ type CredentialIssuerStrategy struct {
|
|||||||
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
LastUpdateTime metav1.Time `json:"lastUpdateTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSConfig struct {
|
|
||||||
// The CA that clients should validate when connecting to the impersonation proxy endpoint
|
|
||||||
CertificateAuthorityData string `json:"certificateAuthorityData"`
|
|
||||||
// The name of a secret of type "kubernetes.io/tls" that will be used to serve the endpoint
|
|
||||||
SecretName string `json:"secretName"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ImpersonationProxySpec struct {
|
|
||||||
// specify the external endpoint name that will route to the impersonation proxy port
|
|
||||||
ExternalEndpoint string `json:"externalEndpoint"`
|
|
||||||
// TLS configuration to communicate with the impersonation proxy
|
|
||||||
TLS TLSConfig `json:"tls"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec for the credential issuer
|
|
||||||
type CredentialIssuerSpec struct {
|
|
||||||
ImpersonationProxy ImpersonationProxySpec `json:"impersonationProxy"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Describes the configuration status of a Pinniped credential issuer.
|
// Describes the configuration status of a Pinniped credential issuer.
|
||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
@ -94,8 +75,6 @@ type CredentialIssuer struct {
|
|||||||
|
|
||||||
// Status of the credential issuer.
|
// Status of the credential issuer.
|
||||||
Status CredentialIssuerStatus `json:"status"`
|
Status CredentialIssuerStatus `json:"status"`
|
||||||
|
|
||||||
Spec CredentialIssuerSpec `json:"spec"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// List of CredentialIssuer objects.
|
// List of CredentialIssuer objects.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// +build !ignore_autogenerated
|
// +build !ignore_autogenerated
|
||||||
|
|
||||||
// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||||
@ -17,7 +17,6 @@ func (in *CredentialIssuer) DeepCopyInto(out *CredentialIssuer) {
|
|||||||
out.TypeMeta = in.TypeMeta
|
out.TypeMeta = in.TypeMeta
|
||||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||||
in.Status.DeepCopyInto(&out.Status)
|
in.Status.DeepCopyInto(&out.Status)
|
||||||
out.Spec = in.Spec
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,23 +87,6 @@ func (in *CredentialIssuerList) DeepCopyObject() runtime.Object {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopyInto(out *CredentialIssuerSpec) {
|
|
||||||
*out = *in
|
|
||||||
out.ImpersonationProxy = in.ImpersonationProxy
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialIssuerSpec.
|
|
||||||
func (in *CredentialIssuerSpec) DeepCopy() *CredentialIssuerSpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(CredentialIssuerSpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
func (in *CredentialIssuerStatus) DeepCopyInto(out *CredentialIssuerStatus) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -149,36 +131,3 @@ func (in *CredentialIssuerStrategy) DeepCopy() *CredentialIssuerStrategy {
|
|||||||
in.DeepCopyInto(out)
|
in.DeepCopyInto(out)
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopyInto(out *ImpersonationProxySpec) {
|
|
||||||
*out = *in
|
|
||||||
out.TLS = in.TLS
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpersonationProxySpec.
|
|
||||||
func (in *ImpersonationProxySpec) DeepCopy() *ImpersonationProxySpec {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(ImpersonationProxySpec)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
||||||
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
||||||
*out = *in
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
|
|
||||||
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
||||||
if in == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
out := new(TLSConfig)
|
|
||||||
in.DeepCopyInto(out)
|
|
||||||
return out
|
|
||||||
}
|
|
||||||
|
@ -35,38 +35,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
|
||||||
description: Spec for the credential issuer
|
|
||||||
properties:
|
|
||||||
impersonationProxy:
|
|
||||||
properties:
|
|
||||||
externalEndpoint:
|
|
||||||
description: specify the external endpoint name that will route
|
|
||||||
to the impersonation proxy port
|
|
||||||
type: string
|
|
||||||
tls:
|
|
||||||
description: TLS configuration to communicate with the impersonation
|
|
||||||
proxy
|
|
||||||
properties:
|
|
||||||
certificateAuthorityData:
|
|
||||||
description: The CA that clients should validate when connecting
|
|
||||||
to the impersonation proxy endpoint
|
|
||||||
type: string
|
|
||||||
secretName:
|
|
||||||
description: The name of a secret of type "kubernetes.io/tls"
|
|
||||||
that will be used to serve the endpoint
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- certificateAuthorityData
|
|
||||||
- secretName
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- externalEndpoint
|
|
||||||
- tls
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- impersonationProxy
|
|
||||||
type: object
|
|
||||||
status:
|
status:
|
||||||
description: Status of the credential issuer.
|
description: Status of the credential issuer.
|
||||||
properties:
|
properties:
|
||||||
@ -131,7 +99,6 @@ spec:
|
|||||||
- strategies
|
- strategies
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
|
||||||
- status
|
- status
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
|
Loading…
Reference in New Issue
Block a user