Skip to content

Commit ea94e3a

Browse files
burigolucastekton-robot
authored andcommitted
Remove schema for PodSecurityContext
1 parent 1a5ef2c commit ea94e3a

File tree

9 files changed

+21
-1356
lines changed

9 files changed

+21
-1356
lines changed

config/300-crds/300-pipelinerun.yaml

Lines changed: 8 additions & 900 deletions
Large diffs are not rendered by default.

config/300-crds/300-taskrun.yaml

Lines changed: 4 additions & 450 deletions
Large diffs are not rendered by default.

pkg/apis/pipeline/pod/template.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ type Template struct {
5353

5454
// SecurityContext holds pod-level security attributes and common container settings.
5555
// Optional: Defaults to empty. See type description for default values of each field.
56+
// See Pod.spec.securityContext (API version: v1)
5657
// +optional
58+
// +kubebuilder:pruning:PreserveUnknownFields
59+
// +kubebuilder:validation:Schemaless
5760
SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"`
5861

5962
// List of volumes that can be mounted by containers belonging to the pod.

pkg/apis/pipeline/v1/openapi_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"type": "string"
126126
},
127127
"securityContext": {
128-
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
128+
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. See Pod.spec.securityContext (API version: v1)",
129129
"$ref": "#/definitions/v1.PodSecurityContext"
130130
},
131131
"tolerations": {

pkg/apis/pipeline/v1alpha1/openapi_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1alpha1/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"type": "string"
126126
},
127127
"securityContext": {
128-
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
128+
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. See Pod.spec.securityContext (API version: v1)",
129129
"$ref": "#/definitions/v1.PodSecurityContext"
130130
},
131131
"tolerations": {

pkg/apis/pipeline/v1beta1/openapi_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1beta1/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"type": "string"
126126
},
127127
"securityContext": {
128-
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
128+
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. See Pod.spec.securityContext (API version: v1)",
129129
"$ref": "#/definitions/v1.PodSecurityContext"
130130
},
131131
"tolerations": {

0 commit comments

Comments
 (0)