Skip to content

Commit

Permalink
fix(Charts): mount root file system of containers as read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed Feb 1, 2024
1 parent 089b07a commit 06439ec
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 11 deletions.
5 changes: 5 additions & 0 deletions charts/bpdm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),
### Changed

- update application version to 5.0.0
- update BPDM Pool Chart to version 6.0.0
- update BPDM Gate Chart to version 5.0.0
- update BPDM Orchestrator Chart to version 2.0.0
- update BPDM Cleaning Service Dummy Chart to version 2.0.0
- update BPDM Bridge Chart to version 2.0.0

## [3.1.2] - 2023-11-16

Expand Down
12 changes: 6 additions & 6 deletions charts/bpdm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
name: bpdm
type: application
description: A Helm chart for Kubernetes that deploys the BPDM applications
version: 4.0.0-alpha.5
version: 4.0.0-alpha.6
appVersion: "5.0.0-alpha.5"
home: https://github.com/eclipse-tractusx/bpdm
sources:
Expand All @@ -33,23 +33,23 @@ maintainers:

dependencies:
- name: bpdm-gate
version: 5.0.0-alpha.5
version: 5.0.0-alpha.6
alias: bpdm-gate
condition: bpdm-gate.enabled
- name: bpdm-pool
version: 6.0.0-alpha.5
version: 6.0.0-alpha.6
alias: bpdm-pool
condition: bpdm-pool.enabled
- name: bpdm-bridge-dummy
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
alias: bpdm-bridge-dummy
condition: bpdm-bridge-dummy.enabled
- name: bpdm-cleaning-service-dummy
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
alias: bpdm-cleaning-service-dummy
condition: bpdm-cleaning-service-dummy.enabled
- name: bpdm-orchestrator
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
alias: bpdm-orchestrator
condition: bpdm-orchestrator.enabled
- name: postgresql
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-bridge-dummy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

- update application version to 5.0.0
- increase container's default groupid to 10001
- container is now executed with read-only root file systems

## [1.1.0] - 2023-11-03

Expand Down
2 changes: 1 addition & 1 deletion charts/bpdm/charts/bpdm-bridge-dummy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
type: application
name: bpdm-bridge-dummy
appVersion: "5.0.0-alpha.5"
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
description: A Helm chart for deploying the BPDM bridge dummy service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-bridge-dummy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ springProfiles: []
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 10001
runAsGroup: 10001
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

- Update application version to 5.0.0
- increase container's default groupid to 10001
- container is now executed with read-only root file systems

## [1.0.2] - 2023-11-23

Expand Down
2 changes: 1 addition & 1 deletion charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
type: application
name: bpdm-cleaning-service-dummy
appVersion: "5.0.0-alpha.5"
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
description: A Helm chart for deploying the BPDM cleaning service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-cleaning-service-dummy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ securityContext:
type: RuntimeDefault
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 10001
runAsGroup: 10001
capabilities:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-gate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

- Update application version to 5.0.0
- increase container's default groupid to 10001
- container is now executed with read-only root file systems

## [4.1.0] - 2023-11-03

Expand Down
2 changes: 1 addition & 1 deletion charts/bpdm/charts/bpdm-gate/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
type: application
name: bpdm-gate
appVersion: "5.0.0-alpha.5"
version: 5.0.0-alpha.5
version: 5.0.0-alpha.6
description: A Helm chart for deploying the BPDM gate service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-gate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ springProfiles: []
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 10001
runAsGroup: 10001
capabilities:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-orchestrator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

- Update application version to 5.0.0
- increase container's default groupid to 10001
- container is now executed with read-only root file systems

## [1.0.1] - 2023-11-23

Expand Down
2 changes: 1 addition & 1 deletion charts/bpdm/charts/bpdm-orchestrator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
type: application
name: bpdm-orchestrator
appVersion: "5.0.0-alpha.5"
version: 2.0.0-alpha.5
version: 2.0.0-alpha.6
description: A Helm chart for deploying the BPDM Orchestrator service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-orchestrator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ securityContext:
type: RuntimeDefault
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 10001
runAsGroup: 10001
capabilities:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-pool/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

- Update application version to 5.0.0
- increase container's default groupid to 10001
- container is now executed with read-only root file systems

## [5.1.1] - 2023-11-16

Expand Down
2 changes: 1 addition & 1 deletion charts/bpdm/charts/bpdm-pool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: v2
type: application
name: bpdm-pool
appVersion: "5.0.0-alpha.5"
version: 6.0.0-alpha.5
version: 6.0.0-alpha.6
description: A Helm chart for deploying the BPDM pool service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/bpdm/charts/bpdm-pool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ springProfiles: []
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 10001
runAsGroup: 10001
capabilities:
Expand Down

0 comments on commit 06439ec

Please sign in to comment.