@@ -3000,6 +3000,9 @@ type PodSecurityContext struct {
3000
3000
// takes precedence for that container.
3001
3001
// +optional
3002
3002
SELinuxOptions * SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,1,opt,name=seLinuxOptions"`
3003
+ // Windows security options.
3004
+ // +optional
3005
+ WindowsOptions * WindowsSecurityContextOptions `json:"windowsOptions,omitempty" protobuf:"bytes,8,opt,name=windowsOptions"`
3003
3006
// The UID to run the entrypoint of the container process.
3004
3007
// Defaults to user specified in image metadata if unspecified.
3005
3008
// May also be set in SecurityContext. If set in both SecurityContext and
@@ -5267,6 +5270,9 @@ type SecurityContext struct {
5267
5270
// PodSecurityContext, the value specified in SecurityContext takes precedence.
5268
5271
// +optional
5269
5272
SELinuxOptions * SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,3,opt,name=seLinuxOptions"`
5273
+ // Windows security options.
5274
+ // +optional
5275
+ WindowsOptions * WindowsSecurityContextOptions `json:"windowsOptions,omitempty" protobuf:"bytes,10,opt,name=windowsOptions"`
5270
5276
// The UID to run the entrypoint of the container process.
5271
5277
// Defaults to user specified in image metadata if unspecified.
5272
5278
// May also be set in PodSecurityContext. If set in both SecurityContext and
@@ -5337,6 +5343,11 @@ type SELinuxOptions struct {
5337
5343
Level string `json:"level,omitempty" protobuf:"bytes,4,opt,name=level"`
5338
5344
}
5339
5345
5346
+ // WindowsSecurityContextOptions contain Windows-specific options and credentials.
5347
+ type WindowsSecurityContextOptions struct {
5348
+ // intentionally left empty for now
5349
+ }
5350
+
5340
5351
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
5341
5352
5342
5353
// RangeAllocation is not a public type.
0 commit comments