Skip to content

Commit

Permalink
Merge pull request #34 from OpenShiftDemos/jnewsome97-patch-1
Browse files Browse the repository at this point in the history
LGTM, thanks.
  • Loading branch information
gnunn1 authored Jan 9, 2024
2 parents f57521f + 921cb06 commit 6ca1b81
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions documentation/modules/ROOT/pages/03-kustomize.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ spec:
- image: quay.io/redhatworkshops/welcome-php:latest
name: welcome-php
resources: {}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
----

=== Kustomize `edit`
Expand Down Expand Up @@ -206,6 +215,15 @@ spec:
- image: quay.io/redhatworkshops/welcome-php:ffcd15
name: welcome-php
resources: {}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
----

[NOTE]
Expand Down

0 comments on commit 6ca1b81

Please sign in to comment.