Skip to content

Commit adf7679

Browse files
committed
Update auto-generated files.
1 parent b3c2f8b commit adf7679

10 files changed

+455
-118
lines changed

api/protobuf-spec/github_com_openshift_origin_pkg_security_apis_security_v1.proto

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/swagger-spec/api-v1.json

+18
Original file line numberDiff line numberDiff line change
@@ -22769,6 +22769,7 @@
2276922769
"allowedCapabilities",
2277022770
"allowHostDirVolumePlugin",
2277122771
"volumes",
22772+
"allowedFlexVolumes",
2277222773
"allowHostNetwork",
2277322774
"allowHostPorts",
2277422775
"allowHostPID",
@@ -22829,6 +22830,13 @@
2282922830
},
2283022831
"description": "Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use \"*\". To allow no volumes, set to [\"none\"]."
2283122832
},
22833+
"allowedFlexVolumes": {
22834+
"type": "array",
22835+
"items": {
22836+
"$ref": "v1.AllowedFlexVolume"
22837+
},
22838+
"description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field."
22839+
},
2283222840
"allowHostNetwork": {
2283322841
"type": "boolean",
2283422842
"description": "AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec."
@@ -22892,6 +22900,16 @@
2289222900
"id": "v1.FSType",
2289322901
"properties": {}
2289422902
},
22903+
"v1.AllowedFlexVolume": {
22904+
"id": "v1.AllowedFlexVolume",
22905+
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
22906+
"properties": {
22907+
"driver": {
22908+
"type": "string",
22909+
"description": "Driver is the name of the Flexvolume driver."
22910+
}
22911+
}
22912+
},
2289522913
"v1.SELinuxContextStrategyOptions": {
2289622914
"id": "v1.SELinuxContextStrategyOptions",
2289722915
"description": "SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.",

api/swagger-spec/openshift-openapi-spec.json

+17
Original file line numberDiff line numberDiff line change
@@ -98855,6 +98855,15 @@
9885598855
}
9885698856
]
9885798857
},
98858+
"com.github.openshift.origin.pkg.security.apis.security.v1.AllowedFlexVolume": {
98859+
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
98860+
"properties": {
98861+
"driver": {
98862+
"description": "Driver is the name of the Flexvolume driver.",
98863+
"type": "string"
98864+
}
98865+
}
98866+
},
9885898867
"com.github.openshift.origin.pkg.security.apis.security.v1.FSGroupStrategyOptions": {
9885998868
"description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.",
9886098869
"properties": {
@@ -99127,6 +99136,7 @@
9912799136
"allowedCapabilities",
9912899137
"allowHostDirVolumePlugin",
9912999138
"volumes",
99139+
"allowedFlexVolumes",
9913099140
"allowHostNetwork",
9913199141
"allowHostPorts",
9913299142
"allowHostPID",
@@ -99165,6 +99175,13 @@
9916599175
"type": "string"
9916699176
}
9916799177
},
99178+
"allowedFlexVolumes": {
99179+
"description": "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.",
99180+
"type": "array",
99181+
"items": {
99182+
"$ref": "#/definitions/com.github.openshift.origin.pkg.security.apis.security.v1.AllowedFlexVolume"
99183+
}
99184+
},
9916899185
"apiVersion": {
9916999186
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
9917099187
"type": "string"

pkg/openapi/zz_generated.openapi.go

+32-2
Original file line numberDiff line numberDiff line change
@@ -8751,6 +8751,23 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
87518751
Dependencies: []string{
87528752
"github.com/openshift/origin/pkg/sdn/apis/network/v1.NetNamespace", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
87538753
},
8754+
"github.com/openshift/origin/pkg/security/apis/security/v1.AllowedFlexVolume": {
8755+
Schema: spec.Schema{
8756+
SchemaProps: spec.SchemaProps{
8757+
Description: "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
8758+
Properties: map[string]spec.Schema{
8759+
"driver": {
8760+
SchemaProps: spec.SchemaProps{
8761+
Description: "Driver is the name of the Flexvolume driver.",
8762+
Type: []string{"string"},
8763+
Format: "",
8764+
},
8765+
},
8766+
},
8767+
},
8768+
},
8769+
Dependencies: []string{},
8770+
},
87548771
"github.com/openshift/origin/pkg/security/apis/security/v1.FSGroupStrategyOptions": {
87558772
Schema: spec.Schema{
87568773
SchemaProps: spec.SchemaProps{
@@ -9228,6 +9245,19 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
92289245
},
92299246
},
92309247
},
9248+
"allowedFlexVolumes": {
9249+
SchemaProps: spec.SchemaProps{
9250+
Description: "AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field.",
9251+
Type: []string{"array"},
9252+
Items: &spec.SchemaOrArray{
9253+
Schema: &spec.Schema{
9254+
SchemaProps: spec.SchemaProps{
9255+
Ref: ref("github.com/openshift/origin/pkg/security/apis/security/v1.AllowedFlexVolume"),
9256+
},
9257+
},
9258+
},
9259+
},
9260+
},
92319261
"allowHostNetwork": {
92329262
SchemaProps: spec.SchemaProps{
92339263
Description: "AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec.",
@@ -9330,11 +9360,11 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
93309360
},
93319361
},
93329362
},
9333-
Required: []string{"priority", "allowPrivilegedContainer", "defaultAddCapabilities", "requiredDropCapabilities", "allowedCapabilities", "allowHostDirVolumePlugin", "volumes", "allowHostNetwork", "allowHostPorts", "allowHostPID", "allowHostIPC", "readOnlyRootFilesystem"},
9363+
Required: []string{"priority", "allowPrivilegedContainer", "defaultAddCapabilities", "requiredDropCapabilities", "allowedCapabilities", "allowHostDirVolumePlugin", "volumes", "allowedFlexVolumes", "allowHostNetwork", "allowHostPorts", "allowHostPID", "allowHostIPC", "readOnlyRootFilesystem"},
93349364
},
93359365
},
93369366
Dependencies: []string{
9337-
"github.com/openshift/origin/pkg/security/apis/security/v1.FSGroupStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.RunAsUserStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.SELinuxContextStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.SupplementalGroupsStrategyOptions", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9367+
"github.com/openshift/origin/pkg/security/apis/security/v1.AllowedFlexVolume", "github.com/openshift/origin/pkg/security/apis/security/v1.FSGroupStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.RunAsUserStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.SELinuxContextStrategyOptions", "github.com/openshift/origin/pkg/security/apis/security/v1.SupplementalGroupsStrategyOptions", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
93389368
},
93399369
"github.com/openshift/origin/pkg/security/apis/security/v1.SecurityContextConstraintsList": {
93409370
Schema: spec.Schema{

0 commit comments

Comments
 (0)