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
619ccb70
Commit
619ccb70
authored
Feb 05, 2016
by
Paul Weil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't enable psp by default and fix comment
parent
c78f3a68
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
3 deletions
+3
-3
v1beta1.json
api/swagger-spec/v1beta1.json
+0
-0
definitions.html
docs/api-reference/extensions/v1beta1/definitions.html
+0
-0
operations.html
docs/api-reference/extensions/v1beta1/operations.html
+0
-0
types.go
pkg/apis/extensions/v1beta1/types.go
+1
-1
types_swagger_doc_generated.go
pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go
+1
-1
master.go
pkg/master/master.go
+1
-1
No files found.
api/swagger-spec/v1beta1.json
View file @
619ccb70
This diff is collapsed.
Click to expand it.
docs/api-reference/extensions/v1beta1/definitions.html
View file @
619ccb70
This diff is collapsed.
Click to expand it.
docs/api-reference/extensions/v1beta1/operations.html
View file @
619ccb70
This diff is collapsed.
Click to expand it.
pkg/apis/extensions/v1beta1/types.go
View file @
619ccb70
...
...
@@ -938,7 +938,7 @@ type PodSecurityPolicy struct {
// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
v1
.
ObjectMeta
`json:"metadata,omitempty"`
//
S
pec defines the policy enforced.
//
s
pec defines the policy enforced.
Spec
PodSecurityPolicySpec
`json:"spec,omitempty"`
}
...
...
pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go
View file @
619ccb70
...
...
@@ -497,7 +497,7 @@ func (NodeUtilization) SwaggerDoc() map[string]string {
var
map_PodSecurityPolicy
=
map
[
string
]
string
{
""
:
"Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."
,
"metadata"
:
"Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"
,
"spec"
:
"
S
pec defines the policy enforced."
,
"spec"
:
"
s
pec defines the policy enforced."
,
}
func
(
PodSecurityPolicy
)
SwaggerDoc
()
map
[
string
]
string
{
...
...
pkg/master/master.go
View file @
619ccb70
...
...
@@ -574,7 +574,7 @@ func (m *Master) thirdpartyapi(group, kind, version string) *apiserver.APIGroupV
// getExperimentalResources returns the resources for extenstions api
func
(
m
*
Master
)
getExtensionResources
(
c
*
Config
)
map
[
string
]
rest
.
Storage
{
// All resources except these are disabled by default.
enabledResources
:=
sets
.
NewString
(
"horizontalpodautoscalers"
,
"ingresses"
,
"jobs"
,
"
podsecuritypolicy"
,
"
replicasets"
)
enabledResources
:=
sets
.
NewString
(
"horizontalpodautoscalers"
,
"ingresses"
,
"jobs"
,
"replicasets"
)
resourceOverrides
:=
m
.
ApiGroupVersionOverrides
[
"extensions/v1beta1"
]
.
ResourceOverrides
isEnabled
:=
func
(
resource
string
)
bool
{
// Check if the resource has been overriden.
...
...
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