Skip to content

Commit

Permalink
:sparkling: adding comment one the scaffolds to warn users about the …
Browse files Browse the repository at this point in the history
…seccomp spec field usage
  • Loading branch information
Camila Macedo committed Jun 13, 2022
1 parent eea565c commit e1f1b5b
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solutions on vendors versions which are not supporting
# it like Openshift versions < 4.11.
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
4 changes: 4 additions & 0 deletions testdata/project-v3-addon/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
4 changes: 4 additions & 0 deletions testdata/project-v3-config/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
4 changes: 4 additions & 0 deletions testdata/project-v3-multigroup/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
4 changes: 4 additions & 0 deletions testdata/project-v3-v1beta1/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solutions on vendors versions which are not supporting
# it like Openshift versions < 4.11.
seccompProfile:
type: RuntimeDefault
containers:
Expand Down
4 changes: 4 additions & 0 deletions testdata/project-v3/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
spec:
securityContext:
runAsNonRoot: true
# Note: Do no use the seccompProfile if you are looking for
# to support old Kubernetes versions < 1.19 or distribute
# your solution on vendors versions which are NOT supporting
# this field (i.e. Openshift < 4.11 ).
seccompProfile:
type: RuntimeDefault
containers:
Expand Down

0 comments on commit e1f1b5b

Please sign in to comment.