Skip to content

Commit

Permalink
[SECURITY] Set seccompProfile to RuntimeDefault for OpenSearch, OpenS…
Browse files Browse the repository at this point in the history
…earch Dashboards and Fluent Bit pods
  • Loading branch information
gsmith-sas authored Dec 4, 2024
1 parent 017a324 commit fcc5ac9
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# SAS Viya Monitoring for Kubernetes

## Unreleased
* **Logging**
* [SECURITY] Set `seccompProfile` to `RuntimeDefault` for OpenSearch, OpenSearch Dashboards and Fluent Bit pods in
non-OpenShift environments.

## Version 1.2.31 (15NOV2024)
* **Logging**
* [UPGRADE] OpenSearch and OpenSearch Dashboards upgraded from 2.15.0 to 2.17.1
Expand Down
4 changes: 4 additions & 0 deletions logging/fb/fluent-bit_helm_values_azmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ resources:
requests:
cpu: 100m
memory: 128Mi

podSecurityContext:
seccompProfile:
type: RuntimeDefault
4 changes: 4 additions & 0 deletions logging/fb/fluent-bit_helm_values_events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ securityContext:
runAsUser: 1001
readOnlyRootFilesystem: true

podSecurityContext:
seccompProfile:
type: RuntimeDefault

resources:
# limits:
# cpu: 100m
Expand Down
4 changes: 4 additions & 0 deletions logging/fb/fluent-bit_helm_values_opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ resources:
requests:
cpu: 100m
memory: 128Mi

podSecurityContext:
seccompProfile:
type: RuntimeDefault
5 changes: 5 additions & 0 deletions logging/opensearch/opensearch_helm_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,8 @@ sysctlInit:

#sysctlVmMaxMapCount:
# 262144


podSecurityContext:
seccompProfile:
type: RuntimeDefault
5 changes: 5 additions & 0 deletions logging/opensearch/osd_helm_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ config:
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false

podSecurityContext:
seccompProfile:
type: RuntimeDefault

1 change: 1 addition & 0 deletions logging/openshift/values-fluent-bit-events.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
podSecurityContext: null
securityContext:
privileged: true
openShift:
Expand Down
1 change: 1 addition & 0 deletions logging/openshift/values-fluent-bit.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
podSecurityContext: null
securityContext:
privileged: true
openShift:
Expand Down

0 comments on commit fcc5ac9

Please sign in to comment.