Skip to content

Commit bfd4145

Browse files
kabicinkabicin
authored andcommitted
Cite PodSecurityContext source
1 parent 6a90c45 commit bfd4145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ type BaseComponentTopologySpreadConstraints interface {
196196
}
197197

198198
// Define PodSecurityContext without overlapping fields in SecurityContext
199+
// This struct is based upon the PodSecurityContext specification in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
199200
// +kubebuilder:object:generate=true
200201
type IsolatedPodSecurityContext struct {
201202
// A list of groups applied to the first process run in each container, in addition

0 commit comments

Comments
 (0)