Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Dec 1, 2023
1 parent 55ddacd commit c84db60
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/anvil-fluent-controller/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
]
},
"crd_name": "fluentbits.anvil.dev",
"blackbox_custom_fields": "data.anvil-fluent-controller.prune",
"k8s_fields": "data.anvil-fluent-controller.k8s_mapping",
"seed_custom_resource": "data/anvil-fluent-controller/cr.yaml",
"kubernetes_version": "v1.26.3",
Expand Down
13 changes: 13 additions & 0 deletions data/anvil-fluent-controller/prune.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from acto.input.input import OverSpecifiedField

custom_fields = [
OverSpecifiedField(['spec', 'affinity']),
OverSpecifiedField(['spec', 'containerSecurityContext']),
OverSpecifiedField(['spec', 'envVars'], array=True),
OverSpecifiedField(['spec', 'initContainers']),
OverSpecifiedField(['spec', 'livenessProbe']),
OverSpecifiedField(['spec', 'readinessProbe']),
OverSpecifiedField(['spec', 'securityContext']),
OverSpecifiedField(['spec', 'tolerations'], array=True),
OverSpecifiedField(['spec', 'volumes'], array=True),
]

0 comments on commit c84db60

Please sign in to comment.