Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
521028ed
Unverified
Commit
521028ed
authored
Oct 12, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69704 from yue9944882/chore/sync-psp-api
Sync PSP v1beta1 api definitions with internals
parents
46f0f2a2
e7c1f050
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
types.go
staging/src/k8s.io/api/policy/v1beta1/types.go
+17
-0
No files found.
staging/src/k8s.io/api/policy/v1beta1/types.go
View file @
521028ed
...
...
@@ -253,6 +253,10 @@ type AllowedHostPath struct {
// FSType gives strong typing to different file systems that are used by volumes.
type
FSType
string
// AllowAllCapabilities can be used as a value for the PodSecurityPolicy.AllowAllCapabilities
// field and means that any capabilities are allowed to be requested.
var
AllowAllCapabilities
v1
.
Capability
=
"*"
var
(
AzureFile
FSType
=
"azureFile"
Flocker
FSType
=
"flocker"
...
...
@@ -273,8 +277,15 @@ var (
DownwardAPI
FSType
=
"downwardAPI"
FC
FSType
=
"fc"
ConfigMap
FSType
=
"configMap"
VsphereVolume
FSType
=
"vsphereVolume"
Quobyte
FSType
=
"quobyte"
AzureDisk
FSType
=
"azureDisk"
PhotonPersistentDisk
FSType
=
"photonPersistentDisk"
StorageOS
FSType
=
"storageos"
Projected
FSType
=
"projected"
PortworxVolume
FSType
=
"portworxVolume"
ScaleIO
FSType
=
"scaleIO"
CSI
FSType
=
"csi"
All
FSType
=
"*"
)
...
...
@@ -385,6 +396,9 @@ type FSGroupStrategyOptions struct {
type
FSGroupStrategyType
string
const
(
// FSGroupStrategyMayRunAs means that container does not need to have FSGroup of X applied.
// However, when FSGroups are specified, they have to fall in the defined range.
FSGroupStrategyMayRunAs
FSGroupStrategyType
=
"MayRunAs"
// FSGroupStrategyMustRunAs meant that container must have FSGroup of X applied.
FSGroupStrategyMustRunAs
FSGroupStrategyType
=
"MustRunAs"
// FSGroupStrategyRunAsAny means that container may make requests for any FSGroup labels.
...
...
@@ -407,6 +421,9 @@ type SupplementalGroupsStrategyOptions struct {
type
SupplementalGroupsStrategyType
string
const
(
// SupplementalGroupsStrategyMayRunAs means that container does not need to run with a particular gid.
// However, when gids are specified, they have to fall in the defined range.
SupplementalGroupsStrategyMayRunAs
SupplementalGroupsStrategyType
=
"MayRunAs"
// SupplementalGroupsStrategyMustRunAs means that container must run as a particular gid.
SupplementalGroupsStrategyMustRunAs
SupplementalGroupsStrategyType
=
"MustRunAs"
// SupplementalGroupsStrategyRunAsAny means that container may make requests for any gid.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment