mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge pull request #83419 from deads2k/insecure-backend-proxy
Insecure backend proxy
This commit is contained in:
@@ -4203,6 +4203,15 @@ type PodLogOptions struct {
|
||||
// log output. This may not display a complete final line of logging, and may return
|
||||
// slightly more or slightly less than the specified limit.
|
||||
LimitBytes *int64
|
||||
|
||||
// insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the
|
||||
// serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver
|
||||
// and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real
|
||||
// kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the
|
||||
// connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept
|
||||
// the actual log data coming from the real kubelet).
|
||||
// +optional
|
||||
InsecureSkipTLSVerifyBackend bool
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
@@ -5665,6 +5665,7 @@ func autoConvert_v1_PodLogOptions_To_core_PodLogOptions(in *v1.PodLogOptions, ou
|
||||
out.Timestamps = in.Timestamps
|
||||
out.TailLines = (*int64)(unsafe.Pointer(in.TailLines))
|
||||
out.LimitBytes = (*int64)(unsafe.Pointer(in.LimitBytes))
|
||||
out.InsecureSkipTLSVerifyBackend = in.InsecureSkipTLSVerifyBackend
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -5682,6 +5683,7 @@ func autoConvert_core_PodLogOptions_To_v1_PodLogOptions(in *core.PodLogOptions,
|
||||
out.Timestamps = in.Timestamps
|
||||
out.TailLines = (*int64)(unsafe.Pointer(in.TailLines))
|
||||
out.LimitBytes = (*int64)(unsafe.Pointer(in.LimitBytes))
|
||||
out.InsecureSkipTLSVerifyBackend = in.InsecureSkipTLSVerifyBackend
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user