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
e7c1f050
Commit
e7c1f050
authored
Oct 11, 2018
by
zuoxiu.jm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync PSP v1beta1 api definitions with internals
parent
e6c5fb46
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 @
e7c1f050
...
@@ -248,6 +248,10 @@ type AllowedHostPath struct {
...
@@ -248,6 +248,10 @@ type AllowedHostPath struct {
// FSType gives strong typing to different file systems that are used by volumes.
// FSType gives strong typing to different file systems that are used by volumes.
type
FSType
string
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
(
var
(
AzureFile
FSType
=
"azureFile"
AzureFile
FSType
=
"azureFile"
Flocker
FSType
=
"flocker"
Flocker
FSType
=
"flocker"
...
@@ -268,8 +272,15 @@ var (
...
@@ -268,8 +272,15 @@ var (
DownwardAPI
FSType
=
"downwardAPI"
DownwardAPI
FSType
=
"downwardAPI"
FC
FSType
=
"fc"
FC
FSType
=
"fc"
ConfigMap
FSType
=
"configMap"
ConfigMap
FSType
=
"configMap"
VsphereVolume
FSType
=
"vsphereVolume"
Quobyte
FSType
=
"quobyte"
Quobyte
FSType
=
"quobyte"
AzureDisk
FSType
=
"azureDisk"
AzureDisk
FSType
=
"azureDisk"
PhotonPersistentDisk
FSType
=
"photonPersistentDisk"
StorageOS
FSType
=
"storageos"
Projected
FSType
=
"projected"
PortworxVolume
FSType
=
"portworxVolume"
ScaleIO
FSType
=
"scaleIO"
CSI
FSType
=
"csi"
All
FSType
=
"*"
All
FSType
=
"*"
)
)
...
@@ -356,6 +367,9 @@ type FSGroupStrategyOptions struct {
...
@@ -356,6 +367,9 @@ type FSGroupStrategyOptions struct {
type
FSGroupStrategyType
string
type
FSGroupStrategyType
string
const
(
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 meant that container must have FSGroup of X applied.
FSGroupStrategyMustRunAs
FSGroupStrategyType
=
"MustRunAs"
FSGroupStrategyMustRunAs
FSGroupStrategyType
=
"MustRunAs"
// FSGroupStrategyRunAsAny means that container may make requests for any FSGroup labels.
// FSGroupStrategyRunAsAny means that container may make requests for any FSGroup labels.
...
@@ -378,6 +392,9 @@ type SupplementalGroupsStrategyOptions struct {
...
@@ -378,6 +392,9 @@ type SupplementalGroupsStrategyOptions struct {
type
SupplementalGroupsStrategyType
string
type
SupplementalGroupsStrategyType
string
const
(
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 means that container must run as a particular gid.
SupplementalGroupsStrategyMustRunAs
SupplementalGroupsStrategyType
=
"MustRunAs"
SupplementalGroupsStrategyMustRunAs
SupplementalGroupsStrategyType
=
"MustRunAs"
// SupplementalGroupsStrategyRunAsAny means that container may make requests for any gid.
// 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