mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-26 18:59:26 +00:00
Merge pull request #99576 from marosset/windows-host-process-work
Windows host process work Kubernetes-commit: 6e4e32985a1eef3c5bcc6fff8e10e4bfef770d08
This commit is contained in:
commit
dd8d430f4c
2
Godeps/Godeps.json
generated
2
Godeps/Godeps.json
generated
@ -480,7 +480,7 @@
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/api",
|
||||
"Rev": "532146f2aa2a"
|
||||
"Rev": "da19d3ae49e0"
|
||||
},
|
||||
{
|
||||
"ImportPath": "k8s.io/apimachinery",
|
||||
|
@ -24,6 +24,7 @@ type WindowsSecurityContextOptionsApplyConfiguration struct {
|
||||
GMSACredentialSpecName *string `json:"gmsaCredentialSpecName,omitempty"`
|
||||
GMSACredentialSpec *string `json:"gmsaCredentialSpec,omitempty"`
|
||||
RunAsUserName *string `json:"runAsUserName,omitempty"`
|
||||
HostProcess *bool `json:"hostProcess,omitempty"`
|
||||
}
|
||||
|
||||
// WindowsSecurityContextOptionsApplyConfiguration constructs an declarative configuration of the WindowsSecurityContextOptions type for use with
|
||||
@ -55,3 +56,11 @@ func (b *WindowsSecurityContextOptionsApplyConfiguration) WithRunAsUserName(valu
|
||||
b.RunAsUserName = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithHostProcess sets the HostProcess field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the HostProcess field is set to the value of the last call.
|
||||
func (b *WindowsSecurityContextOptionsApplyConfiguration) WithHostProcess(value bool) *WindowsSecurityContextOptionsApplyConfiguration {
|
||||
b.HostProcess = &value
|
||||
return b
|
||||
}
|
||||
|
@ -6580,6 +6580,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: gmsaCredentialSpecName
|
||||
type:
|
||||
scalar: string
|
||||
- name: hostProcess
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: runAsUserName
|
||||
type:
|
||||
scalar: string
|
||||
|
4
go.mod
4
go.mod
@ -28,7 +28,7 @@ require (
|
||||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
|
||||
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
|
||||
google.golang.org/protobuf v1.25.0
|
||||
k8s.io/api v0.0.0-20210520030843-532146f2aa2a
|
||||
k8s.io/api v0.0.0-20210520230907-da19d3ae49e0
|
||||
k8s.io/apimachinery v0.0.0-20210519190646-c7322e849168
|
||||
k8s.io/klog/v2 v2.8.0
|
||||
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
|
||||
@ -37,6 +37,6 @@ require (
|
||||
)
|
||||
|
||||
replace (
|
||||
k8s.io/api => k8s.io/api v0.0.0-20210520030843-532146f2aa2a
|
||||
k8s.io/api => k8s.io/api v0.0.0-20210520230907-da19d3ae49e0
|
||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20210519190646-c7322e849168
|
||||
)
|
||||
|
4
go.sum
4
go.sum
@ -437,8 +437,8 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh
|
||||
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
|
||||
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
|
||||
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
k8s.io/api v0.0.0-20210520030843-532146f2aa2a h1:yk/O+aWhhXDM4xeO2KvPxpVp358XGaYIgSRmpxbDYak=
|
||||
k8s.io/api v0.0.0-20210520030843-532146f2aa2a/go.mod h1:pYZcnMa1kuzJ76ydALsvcwPMSsRcNNkhMonm1K/9Umo=
|
||||
k8s.io/api v0.0.0-20210520230907-da19d3ae49e0 h1:YBPYBre0H9JJr1wDU4jfptbArw4mIUOMMaW9okKxTI4=
|
||||
k8s.io/api v0.0.0-20210520230907-da19d3ae49e0/go.mod h1:pYZcnMa1kuzJ76ydALsvcwPMSsRcNNkhMonm1K/9Umo=
|
||||
k8s.io/apimachinery v0.0.0-20210519190646-c7322e849168 h1:mkBvQhy9WPz7t0Y3Muea1rVq2TRB91wvC8iE8xpbfl4=
|
||||
k8s.io/apimachinery v0.0.0-20210519190646-c7322e849168/go.mod h1:4rwBOLnlX0KG0S4eNjF9Aw8Y92JlZQe1fX+e7TeGWQE=
|
||||
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
|
Loading…
Reference in New Issue
Block a user