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 320614e commit dd7dc45
Show file tree
Hide file tree
Showing 9 changed files with 482 additions and 183 deletions.
9 changes: 8 additions & 1 deletion api/swagger-spec/api-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22773,7 +22773,8 @@
"allowHostPorts",
"allowHostPID",
"allowHostIPC",
"readOnlyRootFilesystem"
"readOnlyRootFilesystem",
"allowedFlexDrivers"
],
"properties": {
"kind": {
Expand Down Expand Up @@ -22885,6 +22886,12 @@
"type": "string"
},
"description": "SeccompProfiles lists the allowed profiles that may be set for the pod or container's seccomp annotations. An unset (nil) or empty value means that no profiles may be specifid by the pod or container.\tThe wildcard '*' may be used to allow all profiles. When used to generate a value for a pod the first non-wildcard profile will be used as the default."
},
"allowedFlexDrivers": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand Down
128 changes: 64 additions & 64 deletions pkg/authorization/apis/authorization/v1/generated.pb.go

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

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 dd7dc45

Please sign in to comment.