natasha41575
2554d690c8
deprecate enable-managedby-label flag in favor of a field
2022-01-19 16:53:27 -08:00
natasha41575
a8f58b4080
collect origin data only when the option is set
2021-12-13 11:38:03 -08:00
natasha41575
d8f406d06f
add omitempty tag to replacement sources and targets
2021-11-08 12:33:30 -08:00
Natasha Sarkar
1e1b9b484a
exec function working dir is the kustomization that referenced it ( #4125 )
...
* exec function working dir is the kustomization that referenced it
* suggested changes
* more code review
* use a field instead of an annotation
* more code review
2021-08-19 20:15:24 -07:00
Natasha Sarkar
3350c7213c
option for origin data as annotation
2021-08-12 20:09:41 -07:00
Natasha Sarkar
9a27a9f19f
replace genargs with two separate annotations
2021-07-29 15:46:09 -07:00
Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -07:00
Khris Richardson
727e24f365
append AsCurrentUser to FnPluginLoadingOptions
2021-06-15 12:29:59 -07:00
Natasha Sarkar
7458a53a73
copy method for selector
2021-06-08 11:18:38 -07:00
Natasha Sarkar
cf6e6ca4db
omitempty for replacement type
2021-06-08 11:18:27 -07:00
Jeff Regan
d9435bd1b1
Merge pull request #3898 from dmizelle/add-helm-include-crds
...
Add includeCRDs Field to HelmChart
2021-05-27 16:04:07 -07:00
Natasha Sarkar
5a2a7709a4
add IAMPolicyGenerator
2021-05-26 16:54:38 -07:00
Devon Mizelle
73da51d0ac
Apply suggestions from code review
...
Co-authored-by: Steven E. Harris <seh@panix.com >
2021-05-17 12:18:33 -04:00
Devon Mizelle
df10d5a17d
Add includeCRDs Field to HelmChart
...
This commit adds functionality for a user to specify that `helm` should
include CRDs when inflating a Helm Chart.
As of Helm v3, the `install-crd` hook is no more, with
`CustomResourceDefinitions` existing in the root of the chart, under the
`crds` directory.
When calling `helm template`, `helm` does not output these CRDs unless
the user passes the `--include-crds` flag to the command.
With this commit, users can set `includeCRDs: true` as part of their helm
chart definition in `kustomize.yaml` to have these included as part of
the output.
Signed-off-by: Devon Mizelle <devon.mizelle@onepeloton.com >
2021-05-14 16:46:30 -04:00
Kubernetes Prow Robot
b8e7cf04b6
Merge pull request #3832 from cehoffman/helm-chart-namespace
...
Add ability to set target namespace for helm chart template
2021-05-11 13:09:13 -07:00
monopole
c8dddac5b9
Move resid package from api to kyaml
2021-04-30 20:39:32 -07:00
monopole
c828b1e49a
Use resid.ResId in replacements.
2021-04-23 09:30:05 -07:00
Chris Hoffman
53f78260a9
Add ability to set target namespace for helm chart template
2021-04-22 18:31:26 -05:00
Jeff Regan
06add3ab35
Merge pull request #3737 from natasha41575/ReplacementTransformer
...
replacement transformer that uses the new replacement filter
2021-04-22 11:22:51 -07:00
Kubernetes Prow Robot
21e65990c1
Merge pull request #3795 from jlandowner/master
...
Support immutable attribute on generators
2021-04-15 22:36:22 -07:00
Natasha Sarkar
038bc7713b
add replacement transformer
2021-04-15 14:12:33 -07:00
jlandowner
82ff64c374
Support immutable attribute on generators
2021-04-13 01:02:58 +00:00
monopole
240cda089a
Add flag --enable-helm
2021-04-12 13:40:21 -07:00
monopole
3af1ae4159
Enhance test harness.
2021-04-11 18:14:30 -07:00
Natasha Sarkar
a40c74e545
use field options to refine replacements
2021-04-09 11:15:49 -07:00
Natasha Sarkar
0fe3f303e8
add use of rejects field in replacement filter
2021-04-07 16:00:18 -07:00
Natasha Sarkar
94c45e0f9f
add more tests for replacement filter
2021-04-02 11:30:10 -07:00
Kubernetes Prow Robot
ca527a8e4c
Merge pull request #3735 from natasha41575/ReplacementFilter
...
add replacement filter to support replacmenttransformer
2021-03-31 18:03:21 -07:00
Natasha Sarkar
fa0b237178
add replacement filter to support replacmenttransformer
2021-03-31 17:04:43 -07:00
Jeff Regan
197bb9d9e3
Merge pull request #3744 from KnVerey/plugin-dir-error
...
Do no require exec/go plugin home to use fn plugins
2021-03-26 11:26:48 -07:00
Katrina Verey
3255c73c71
Loader FS and empty env fix
2021-03-24 18:44:29 -07:00
Donny Xia
ccb95ab269
add conflict check
2021-03-24 10:41:37 -07:00
Katrina Verey
e77c284924
Do no require exec/go plugin home to use fn plugins
2021-03-23 10:47:16 -07:00
Donny Xia
5ed2067be9
Add labels field to kustomization
2021-03-22 17:01:45 -07:00
monopole
235101a614
Drop uses of 'unstructured' terminology.
2021-03-15 15:59:06 -07:00
Natasha Sarkar
f96ac2d61e
allow general name and kind changes via an options field in patches
2021-03-10 14:58:58 -08:00
monopole
a8b851f84a
Reinstate configmap/secret generator env field.
2021-03-07 20:42:41 -08:00
Jeff Regan
61daea0202
Merge pull request #3245 from natasha41575/UseOpenApiVersions
...
Use `openApi` field in kustomization file to specify OpenAPI schema version
2021-02-03 10:35:08 -08:00
monopole
b3a9314e27
Expose smart path splitter as a utility.
2021-01-31 06:45:04 -08:00
Natasha Sarkar
866dbf2017
added an openapi field to the kustomization file
2021-01-22 16:06:57 -08:00
jregan
99c9edfc3d
Drop close in timed call.
2020-12-28 08:31:42 -08:00
Petr Michalec
fa69d4ba9d
helm values on inflator config - types
...
Signed-off-by: Petr Michalec <epcim@apealive.net >
2020-12-15 08:37:34 +01:00
jregan
6bbc829593
Add a loader test.
2020-12-09 17:17:21 -08:00
Jeff Regan
51ba54ad82
Revert "helm values on inflator config"
2020-12-07 12:52:31 -08:00
Petr Michalec
f6e5eedee2
helm values on inflator config spec.
2020-12-07 13:49:30 +01:00
Donny Xia
2bf73c60c3
Add field extraArgs to helm generator
2020-11-30 14:22:25 -08:00
jregan
eb5227680e
Add generated code.
2020-11-23 16:47:00 -08:00
Donny Xia
65db82df0c
Merge pull request #3177 from Shell32-Natsu/json-patch
...
Improve json patch plugin
2020-11-06 16:17:24 -08:00
Donny Xia
78c26f55b5
support regex in GVK selection
2020-11-06 13:23:55 -08:00
Donny Xia
3b79944190
improve target in JSON6902 transformer
2020-11-03 17:13:43 -08:00