Skip to content

Commit

Permalink
Update securityContext defaults (#1346)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Suderman <andy@fairwinds.com>
  • Loading branch information
bodgit and sudermanjr authored Oct 17, 2023
1 parent 8acf1f1 commit d426e2c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/goldilocks/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: "v4.10.0"
version: 7.3.0
version: 7.3.1
kubeVersion: ">= 1.22.0-0"
description: |
A Helm chart for running Fairwinds Goldilocks. See https://github.com/FairwindsOps/goldilocks
Expand Down
4 changes: 2 additions & 2 deletions stable/goldilocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This will completely remove the VPA and then re-install it using the new method.
| controller.affinity | object | `{}` | Affinity for the controller pods |
| controller.topologySpreadConstraints | list | `[]` | Topology spread constraints for the controller pods |
| controller.resources | object | `{"limits":{},"requests":{"cpu":"25m","memory":"256Mi"}}` | The resources block for the controller pods |
| controller.podSecurityContext | object | `{}` | Defines the podSecurityContext for the controller pod |
| controller.podSecurityContext | object | `{"seccompProfile":{"type":"RuntimeDefault"}}` | Defines the podSecurityContext for the controller pod |
| controller.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":10324}` | The container securityContext for the controller container |
| controller.deployment.extraVolumeMounts | list | `[]` | Extra volume mounts for the controller container |
| controller.deployment.extraVolumes | list | `[]` | Extra volumes for the controller pod |
Expand Down Expand Up @@ -119,7 +119,7 @@ This will completely remove the VPA and then re-install it using the new method.
| dashboard.ingress.hosts[0].paths[0].type | string | `"ImplementationSpecific"` | |
| dashboard.ingress.tls | list | `[]` | |
| dashboard.resources | object | `{"limits":{},"requests":{"cpu":"25m","memory":"256Mi"}}` | A resources block for the dashboard. |
| dashboard.podSecurityContext | object | `{}` | Defines the podSecurityContext for the dashboard pod |
| dashboard.podSecurityContext | object | `{"seccompProfile":{"type":"RuntimeDefault"}}` | Defines the podSecurityContext for the dashboard pod |
| dashboard.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":10324}` | The container securityContext for the dashboard container |
| dashboard.nodeSelector | object | `{}` | |
| dashboard.tolerations | list | `[]` | |
Expand Down
8 changes: 6 additions & 2 deletions stable/goldilocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ controller:
cpu: 25m
memory: 256Mi
# controller.podSecurityContext -- Defines the podSecurityContext for the controller pod
podSecurityContext: {}
podSecurityContext:
seccompProfile:
type: RuntimeDefault
# controller.securityContext -- The container securityContext for the controller container
securityContext:
readOnlyRootFilesystem: true
Expand Down Expand Up @@ -163,7 +165,9 @@ dashboard:
cpu: 25m
memory: 256Mi
# dashboard.podSecurityContext -- Defines the podSecurityContext for the dashboard pod
podSecurityContext: {}
podSecurityContext:
seccompProfile:
type: RuntimeDefault
# dashboard.securityContext -- The container securityContext for the dashboard container
securityContext:
readOnlyRootFilesystem: true
Expand Down

0 comments on commit d426e2c

Please sign in to comment.