Skip to content

Commit

Permalink
Update auto-generated files.
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder committed Aug 1, 2017
1 parent e8d1a99 commit 44c1f27
Show file tree
Hide file tree
Showing 10 changed files with 455 additions and 118 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions api/swagger-spec/api-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22769,6 +22769,7 @@
"allowedCapabilities",
"allowHostDirVolumePlugin",
"volumes",
"allowedFlexVolumes",
"allowHostNetwork",
"allowHostPorts",
"allowHostPID",
Expand Down Expand Up @@ -22829,6 +22830,13 @@
},
"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\"]."
},
"allowedFlexVolumes": {
"type": "array",
"items": {
"$ref": "v1.AllowedFlexVolume"
},
"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."
},
"allowHostNetwork": {
"type": "boolean",
"description": "AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec."
Expand Down Expand Up @@ -22892,6 +22900,16 @@
"id": "v1.FSType",
"properties": {}
},
"v1.AllowedFlexVolume": {
"id": "v1.AllowedFlexVolume",
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
"properties": {
"driver": {
"type": "string",
"description": "Driver is the name of the Flexvolume driver."
}
}
},
"v1.SELinuxContextStrategyOptions": {
"id": "v1.SELinuxContextStrategyOptions",
"description": "SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.",
Expand Down
17 changes: 17 additions & 0 deletions api/swagger-spec/openshift-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -98855,6 +98855,15 @@
}
]
},
"com.github.openshift.origin.pkg.security.apis.security.v1.AllowedFlexVolume": {
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
"properties": {
"driver": {
"description": "Driver is the name of the Flexvolume driver.",
"type": "string"
}
}
},
"com.github.openshift.origin.pkg.security.apis.security.v1.FSGroupStrategyOptions": {
"description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.",
"properties": {
Expand Down Expand Up @@ -99127,6 +99136,7 @@
"allowedCapabilities",
"allowHostDirVolumePlugin",
"volumes",
"allowedFlexVolumes",
"allowHostNetwork",
"allowHostPorts",
"allowHostPID",
Expand Down Expand Up @@ -99165,6 +99175,13 @@
"type": "string"
}
},
"allowedFlexVolumes": {
"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.",
"type": "array",
"items": {
"$ref": "#/definitions/com.github.openshift.origin.pkg.security.apis.security.v1.AllowedFlexVolume"
}
},
"apiVersion": {
"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",
"type": "string"
Expand Down
34 changes: 32 additions & 2 deletions pkg/openapi/zz_generated.openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -8751,6 +8751,23 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
Dependencies: []string{
"github.com/openshift/origin/pkg/sdn/apis/network/v1.NetNamespace", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
},
"github.com/openshift/origin/pkg/security/apis/security/v1.AllowedFlexVolume": {
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.",
Properties: map[string]spec.Schema{
"driver": {
SchemaProps: spec.SchemaProps{
Description: "Driver is the name of the Flexvolume driver.",
Type: []string{"string"},
Format: "",
},
},
},
},
},
Dependencies: []string{},
},
"github.com/openshift/origin/pkg/security/apis/security/v1.FSGroupStrategyOptions": {
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Expand Down Expand Up @@ -9228,6 +9245,19 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
},
},
},
"allowedFlexVolumes": {
SchemaProps: spec.SchemaProps{
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.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Ref: ref("github.com/openshift/origin/pkg/security/apis/security/v1.AllowedFlexVolume"),
},
},
},
},
},
"allowHostNetwork": {
SchemaProps: spec.SchemaProps{
Description: "AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec.",
Expand Down Expand Up @@ -9330,11 +9360,11 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
},
},
},
Required: []string{"priority", "allowPrivilegedContainer", "defaultAddCapabilities", "requiredDropCapabilities", "allowedCapabilities", "allowHostDirVolumePlugin", "volumes", "allowHostNetwork", "allowHostPorts", "allowHostPID", "allowHostIPC", "readOnlyRootFilesystem"},
Required: []string{"priority", "allowPrivilegedContainer", "defaultAddCapabilities", "requiredDropCapabilities", "allowedCapabilities", "allowHostDirVolumePlugin", "volumes", "allowedFlexVolumes", "allowHostNetwork", "allowHostPorts", "allowHostPID", "allowHostIPC", "readOnlyRootFilesystem"},
},
},
Dependencies: []string{
"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"},
"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"},
},
"github.com/openshift/origin/pkg/security/apis/security/v1.SecurityContextConstraintsList": {
Schema: spec.Schema{
Expand Down
Loading

0 comments on commit 44c1f27

Please sign in to comment.