mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #73795 from tallclair/runtimeclass-psp
PodSecurityPolicy RuntimeClass support
This commit is contained in:
48
api/openapi-spec/swagger.json
generated
48
api/openapi-spec/swagger.json
generated
@@ -12467,6 +12467,10 @@
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions",
|
||||
"description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."
|
||||
},
|
||||
"runtimeClass": {
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RuntimeClassStrategyOptions",
|
||||
"description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."
|
||||
},
|
||||
"seLinux": {
|
||||
"$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions",
|
||||
"description": "seLinux is the strategy that will dictate the allowable labels that may be set."
|
||||
@@ -12731,6 +12735,26 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.extensions.v1beta1.RuntimeClassStrategyOptions": {
|
||||
"description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.",
|
||||
"properties": {
|
||||
"allowedRuntimeClassNames": {
|
||||
"description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"defaultRuntimeClassName": {
|
||||
"description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"allowedRuntimeClassNames"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions": {
|
||||
"description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.",
|
||||
"properties": {
|
||||
@@ -13784,6 +13808,10 @@
|
||||
"$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions",
|
||||
"description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."
|
||||
},
|
||||
"runtimeClass": {
|
||||
"$ref": "#/definitions/io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions",
|
||||
"description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."
|
||||
},
|
||||
"seLinux": {
|
||||
"$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions",
|
||||
"description": "seLinux is the strategy that will dictate the allowable labels that may be set."
|
||||
@@ -13848,6 +13876,26 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions": {
|
||||
"description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.",
|
||||
"properties": {
|
||||
"allowedRuntimeClassNames": {
|
||||
"description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"defaultRuntimeClassName": {
|
||||
"description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"allowedRuntimeClassNames"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": {
|
||||
"description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user