File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,29 @@ will be marked as failed. See the [Helm documentation][2].
72
72
In addition you can set the ` test_rollback ` setting to run ` helm rollback ` if
73
73
the tests fail.
74
74
75
+ ## ` post_kustomization `
76
+
77
+ The ` post_kustomization ` allows to modify helm charts with customize.
78
+ See [ here] [ 3 ] for the official documentation. The ` resources ` field is
79
+ set via the plugin.
80
+
81
+ Example:
82
+
83
+ ``` yaml
84
+ post_kustomization : |
85
+ patches:
86
+ - patch: |
87
+ - op: remove
88
+ path: /spec/template/spec/securityContext
89
+ - op: remove
90
+ path: /spec/template/spec/containers/0/securityContext
91
+ target:
92
+ kind: StatefulSet
93
+ labelSelector:
94
+ app.kubernetes.io/name=opensearch
95
+ ` ` `
96
+
75
97
76
98
[1]: https://github.com/bitsbeats/drone-helm3/blob/master/main.go#L22
77
99
[2]: https://helm.sh/docs/topics/chart_tests/
100
+ [3]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/
You can’t perform that action at this time.
0 commit comments