Skip to content

Commit d7f03df

Browse files
committed
docs(tutorial): add note about custom policies with Helm chart
1 parent 6f2ee09 commit d7f03df

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/tutorials/writing-custom-configuration-audit-policies.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ data:
134134
}
135135
```
136136
137+
When using the Helm chart, this can be accomplished as follows:
138+
139+
```yaml
140+
additionalPolicies:
141+
policy:
142+
recommended_labels:
143+
kinds: "*"
144+
rego: |-
145+
...
146+
```
147+
137148
In this example, to add a new policy, you must define two data entries in the `starboard-policies-config`
138149
ConfigMap:
139150

0 commit comments

Comments
 (0)