Damien Robichaud
8d4b6452d4
Make the replica transformer kind aware.
...
The previous implementation had a bug and poorly handled
types that should not have a `spec: replica:` field.
Documentation is updated to reflect the change in behavior,
and better highlights the cases where a patch should be
used instead of this shorthand.
2019-06-17 11:33:31 -07:00
Jeffrey Regan
81c98c855f
Convert inventory transformer to plugin, reduce k8sdeps.
2019-06-02 10:49:01 -07:00
Damien Robichaud
d4842ebd90
Cleanup the replica plugin implementation.
2019-05-31 13:28:51 -07:00
Damien Robichaud
5000a2e503
Implement replica transformer as patch alternative
2019-05-31 13:10:34 -07:00
jregan
47c965481f
Reduce k8ds deps
2019-05-27 15:37:03 -07:00
Jeffrey Regan
6a10654618
Delete the KV plugin code.
2019-05-24 16:49:16 -07:00
Jeffrey Regan
b28aaae66b
Break a bad dep.
2019-05-22 07:39:36 -07:00
jregan
a352ff3923
True and false are mysterious.
2019-05-21 10:58:43 -07:00
Jeffrey Regan
529db0493b
Introduce envs field.
2019-05-06 14:35:48 -07:00
Jingfang Liu
b4fc1e4357
change field name: prune -> inventory
2019-04-22 11:25:14 -07:00
Jingfang Liu
e9a3f9f5f6
address comments
2019-04-08 15:17:18 -07:00
Jingfang Liu
826affb8dd
generate configmap for pruning
2019-04-08 14:10:49 -07:00
jregan
16fe7ced6a
Cleanup plugin builds.
2019-04-06 13:16:46 -07:00
Jingfang Liu
deaf0779a1
add generators/transformers fields in kusotmization.yaml
2019-04-03 14:05:25 -07:00
Jeffrey Regan
3a7c8a03f4
Make builtin the default pluginType
2019-03-18 10:21:24 -07:00
jregan
103c1b3a4f
Put goplugins behind flag.
2019-03-17 13:39:48 -07:00
Seth Pollack
18f6328284
add secret and configmap generator plugins
2019-03-15 14:28:18 -04:00
Jingfang Liu
e905704b0c
allow apiVersion and Kind to be empty or specific values
2019-02-04 13:08:09 -08:00
Jingfang Liu
199763dec8
add group name to kustomize.config.k8s.io
2019-01-30 09:48:12 -08:00
Jingfang Liu
c461f1f766
remove patches and imageTags from kustomization.yaml
2019-01-25 14:26:17 -08:00
Jeff Regan
a9dff35a24
Merge pull request #707 from narg95/feature/add-set-image-command
...
add set image command
2019-01-23 09:29:57 -08:00
jregan
d141b2421c
DataSources is now common to Secrets and ConfigMaps.
2019-01-22 18:57:11 -08:00
Nestor
b22e43a4a7
add set image command
2019-01-21 11:01:15 +01:00
Kubernetes Prow Robot
2c1be17fe7
Merge pull request #704 from narg95/feature/add-image-transformer
...
Add image transformer
2019-01-18 09:17:06 -08:00
Nestor
6616b25d66
fix comment
2019-01-17 16:02:14 +01:00
Nestor
6d56c1750f
fix issues from code review
2019-01-17 15:50:34 +01:00
Jingfang Liu
2fa4a34589
replace commands/envcommand by DataSource in SecretGenerator
2019-01-16 11:17:34 -08:00
Nestor
6dd599a983
Add image transformer
2019-01-16 16:32:53 +01:00
Jingfang Liu
1cd99ab68e
change current version from v1 to v1beta1
2018-12-20 15:32:06 -08:00
Jingfang Liu
d0e4db74b7
fix the missing fields in all edit commands
2018-12-14 13:11:04 -08:00
Jingfang Liu
986c85e728
Add subcommand: edit fix
2018-12-13 14:09:55 -08:00
Jingfang Liu
0759136d3f
Add enforcement message for apiVersion and kind
2018-12-12 15:25:59 -08:00
Jeffrey Regan
cbcc976828
Extract common generator args to common type.
2018-12-07 13:27:19 -08:00
luktom
6ad5d9f55b
Add namespace for config map and secret generators
2018-12-05 11:36:23 +01:00
k8s-ci-robot
621ed52bab
Merge pull request #556 from zoncoen/name-suffix-2
...
Add nameSuffix field to kustomization.yaml
2018-11-20 08:50:22 -08:00
zoncoen
04a030bcf0
enable nameSuffix field of kustomization.yaml
2018-11-19 12:09:47 +09:00
Jingfang Liu
25415c5501
Remove -t flag in build and add configurations field in kustomization.yaml
2018-11-16 13:44:18 -08:00
Jeffrey Regan
a8fbe35ecf
Rename disableHash to disableNameSuffixHash
2018-10-30 11:36:00 -07:00
k8s-ci-robot
04167cf77e
Merge pull request #487 from monopole/deletePenultimateUseOfDeprecatedField
...
Delete penultimate use of Patches field.
2018-10-19 14:28:05 -07:00
Jingfang Liu
0824433260
Add generatorOptions in Kustomization type
2018-10-19 14:12:33 -07:00
Jeffrey Regan
3e0f5ea327
Delete penultimate use of Patches field.
2018-10-19 11:26:05 -07:00
jregan
a5f56027b5
Improve kustomization.go comments.
2018-10-17 14:24:20 -07:00
Jingfang Liu
f7353b1295
copy TypeMeta from apimachinery
2018-10-09 16:10:17 -07:00
Jeffrey Regan
65ee4e4f2a
Deal with field deprecation immediately after load.
2018-10-03 10:55:35 -07:00
jregan
c9aff4c47a
Spelling nits.
2018-10-01 10:56:35 -07:00
jregan
6d935b6a4a
Fix some Go nits.
2018-09-28 18:08:36 -07:00
Jingfang Liu
64fdb8d760
change github.com/kubernetes-sigs to sigs.k8s.io ( #343 )
...
* change github.com/kubernetes-sigs to sigs.k8s.io
* change go_import_path in .travis.yml
2018-09-12 12:41:38 -07:00
Alexandr Burdiyan
5401bd367b
Implement support for digests in imageTags
...
This commit adds a new field to imageTags transformer
so that digests can be used instead of image tags if needed.
Closes https://github.com/kubernetes-sigs/kustomize/issues/326
2018-09-10 11:21:53 +02:00
Jingfang Liu
b713d5a1cc
change patches to patchesStrategicMerge in tests and examples
2018-08-28 09:40:34 -07:00
Jingfang Liu
3d9d4bd36f
address comments
2018-08-27 15:44:42 -07:00