Skip to content

Commit

Permalink
Chart: Allow to enable auditd through `global.components.auditd.ena…
Browse files Browse the repository at this point in the history
…bled`. (#847)
  • Loading branch information
Gacko authored Sep 19, 2024
1 parent 0a896dd commit 02bae8c
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Chart: Add `global.connectivity.network.pods.nodeCidrMaskSize` to schema.
- Chart: Allow to enable `auditd` through `global.components.auditd.enabled`.

## [1.1.1] - 2024-09-18

Expand Down
2 changes: 2 additions & 0 deletions helm/cluster-aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ Advanced configuration of components that are running on all nodes.

| **Property** | **Description** | **More Details** |
| :----------- | :-------------- | :--------------- |
| `global.components.auditd` | **Auditd** - Enable Auditd service.|**Type:** `object`<br/>|
| `global.components.auditd.enabled` | **Enabled** - Whether or not the Auditd service shall be enabled. When true, the Auditd service is enabled. When false, the Auditd rules service is disabled.|**Type:** `boolean`<br/>**Default:** `false`|
| `global.components.containerd` | **Containerd** - Configuration of containerd.|**Type:** `object`<br/>|
| `global.components.containerd.containerRegistries` | **Container registries** - Endpoints and credentials configuration for container registries.|**Type:** `object`<br/>**Default:** `{"docker.io":[{"endpoint":"registry-1.docker.io"},{"endpoint":"giantswarm.azurecr.io"}]}`|
| `global.components.containerd.containerRegistries.*` | **Registries** - Container registries and mirrors|**Type:** `array`<br/>|
Expand Down
21 changes: 21 additions & 0 deletions helm/cluster-aws/ci/test-auditd-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
global:
release:
version: v27.0.0-alpha.1
metadata:
name: test-wc-minimal
organization: test
servicePriority: lowest
components:
auditd:
enabled: true
connectivity:
baseDomain: example.com
providerSpecific:
region: "eu-west-1"
managementCluster: test

cluster:
internal:
ephemeralConfiguration:
offlineTesting:
renderWithoutReleaseResource: true
14 changes: 14 additions & 0 deletions helm/cluster-aws/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,20 @@
"description": "Advanced configuration of components that are running on all nodes.",
"additionalProperties": false,
"properties": {
"auditd": {
"type": "object",
"title": "Auditd",
"description": "Enable Auditd service.",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "Whether or not the Auditd service shall be enabled. When true, the Auditd service is enabled. When false, the Auditd rules service is disabled.",
"default": false
}
}
},
"containerd": {
"type": "object",
"title": "Containerd",
Expand Down
2 changes: 2 additions & 0 deletions helm/cluster-aws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ global:
verticalPodAutoscaler: {}
verticalPodAutoscalerCrd: {}
components:
auditd:
enabled: false
containerd:
containerRegistries:
docker.io:
Expand Down

0 comments on commit 02bae8c

Please sign in to comment.