-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prometheus-memcached-exporter] Fixing problem when enabling security…
… context (#4729) * Fixing problem when enabling security context Signed-off-by: Ignacio Silvera <[email protected]> * Bumped chart version Signed-off-by: Ignacio Silvera <[email protected]> * Add CI test cases Signed-off-by: zeritti <[email protected]> --------- Signed-off-by: Ignacio Silvera <[email protected]> Signed-off-by: zeritti <[email protected]> Co-authored-by: zeritti <[email protected]>
- Loading branch information
1 parent
c241f04
commit a99cf38
Showing
5 changed files
with
25 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
## Test case: use chart's default values |
14 changes: 14 additions & 0 deletions
14
charts/prometheus-memcached-exporter/ci/02-security-context-values.yaml
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
podSecurityContext: | ||
fsGroup: 2000 | ||
|
||
securityContext: | ||
allowPrivilegeEscalation: false | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 3000 | ||
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault |
8 changes: 8 additions & 0 deletions
8
charts/prometheus-memcached-exporter/ci/03-resources-values.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 32Mi | ||
requests: | ||
cpu: 100m | ||
memory: 32Mi |
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