Skip to content

Commit

Permalink
Add team labels (#275)
Browse files Browse the repository at this point in the history
* added team label to the daemonset.

* generated new values schema.
  • Loading branch information
Strigix authored Aug 12, 2024
1 parent 247faca commit 1410144
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add custom rule to detect access to root CA key file in control plane nodes
- Added the falco-k8s-metacollector.
- Added team label to the daemonset.

### Changed

Expand Down
79 changes: 79 additions & 0 deletions helm/falco/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,40 @@
"falco": {
"type": "object",
"properties": {
"collectors": {
"type": "object",
"properties": {
"kubernetes": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
}
}
},
"controller": {
"type": "object",
"properties": {
"labels": {
"type": "object",
"properties": {
"application.giantswarm.io/team": {
"type": "string"
}
}
}
}
},
"customRules": {
"type": "object",
"properties": {
"gs-root-ca-key-access.yaml": {
"type": "string"
}
}
},
"driver": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -90,6 +124,32 @@
}
}
},
"k8s-metacollector": {
"type": "object",
"properties": {
"fullnameOverride": {
"type": "string"
},
"service": {
"type": "object",
"properties": {
"ports": {
"type": "object",
"properties": {
"broker-grpc": {
"type": "object",
"properties": {
"port": {
"type": "integer"
}
}
}
}
}
}
}
}
},
"priorityClassName": {
"type": "string"
},
Expand All @@ -114,6 +174,9 @@
}
}
}
},
"tty": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -219,6 +282,22 @@
}
}
},
"k8s-metacollector": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string"
},
"repository": {
"type": "string"
}
}
}
}
},
"kyvernoPolicyExceptions": {
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions helm/falco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ falco:
key: node-role.kubernetes.io/control-plane
# ebpf:
# enabled: true
controller:
labels:
application.giantswarm.io/team: "shield"
falco:
grpc:
enabled: true
Expand Down

0 comments on commit 1410144

Please sign in to comment.