forked from wildfly/wildfly-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wildfly#266] Updated Pod security standards
* Revert the default security context Signed-off-by: Jeff Mesnil <[email protected]>
- Loading branch information
Showing
4 changed files
with
2 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,8 +68,6 @@ type WildFlyServerSpec struct { | |
// More info: https://pkg.go.dev/k8s.io/[email protected]/core/v1#ResourceRequirements | ||
Resources *corev1.ResourceRequirements `json:"resources,omitempty"` | ||
// SecurityContext defines the security capabilities required to run the application. | ||
// If omitted, a default security context is created which runs with a non-root "jboss (185)" user without priviledges | ||
// escalation and all security capabilities dropped. | ||
SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters