Sean Sullivan
29453805d1
Move pkg/kubectl/util to staging
...
Kubernetes-commit: 7083332c634d540c2769b48e32fc4afb8f4f6cd7
2019-07-24 11:59:28 -07:00
Sean Sullivan
76879de3d3
Moved files from pkg/kubectl/scheme to staging
...
Kubernetes-commit: be3b2cc1a45520cfc6f042cfdbcfb835276dc27b
2019-06-25 22:11:54 -07:00
Ted Yu
91f15560e3
Remove unnecessay call to findNewReplicaSet
...
Kubernetes-commit: e2ac674a712fa6b2bffa04ed645ca159386a90f5
2019-06-28 14:10:59 +08:00
David Eads
62764072b5
make kubectl --raw consistent for create, update, get, delete
...
Kubernetes-commit: 09c55bd1172e9b044762957efeae2c34de145bef
2019-07-03 08:27:19 -04:00
Sean Sullivan
48d0bc9f5c
Move pkg/kubectl/validation to staging
...
Kubernetes-commit: 5eac54e755b47f145a6c76c2242b4ef8a469a850
2019-06-26 12:56:28 -07:00
Mike Dame
32e1c844d6
Move pkg/util/logs to staging and update ref
...
Kubernetes-commit: a710a83aa93e2d1c06ffacda3caa06c0e144ac05
2019-06-19 22:37:10 -04:00
Mike Dame
da9a085a27
Move pkg/util/slice and update refs
...
Kubernetes-commit: 5f7dbefa036582410abb52ae54d0af6dd978904e
2019-06-19 23:24:56 -04:00
Sean Sullivan
1abdefd8c0
Move pkg/kubectl/util/fieldpath to staging
...
Kubernetes-commit: 6274ef995f2cb8a609a83e77a96623021e9299a5
2019-06-19 17:13:57 -07:00
Sean Sullivan
fde0975f4c
Move pkg/kubectl/util/certificate to staging
...
Kubernetes-commit: 541cb300c74c6d9b4d02fa3199f5a100c3108860
2019-06-19 13:04:40 -07:00
Sally O'Malley
8b8df7887a
Move pkg/kubectl/util/resource to staging
...
Kubernetes-commit: 7e253e1d0e2b32a0cdd0e46be122398e8f9d2750
2019-06-26 09:05:47 -04:00
Sally O'Malley
15b5312c26
Move pkg/kubectl/util/qos to staging
...
Kubernetes-commit: acd3b91f9efc533fdf85fd2bb2cc87e73b84507d
2019-06-19 23:34:19 -04:00
Peter Swica
1d28a7a01b
Moving pkg/kubectl/util/storage to staging
...
Kubernetes-commit: d8362f750809b5ab6c1bcc41eabdf1945d96035e
2019-06-07 01:13:40 -04:00
Sean Sullivan
1a243a897b
Move pkg/kubectl/util/event into staging
...
Kubernetes-commit: d4a5b75a67f101959b706240c425fc283a4ac376
2019-06-19 15:31:51 -07:00
Mike Dame
4fd08ad133
Move pkg/util/rbac to staging and update refs
...
Kubernetes-commit: a507ca338ac8f9d609793ace6840a161d99696e9
2019-06-19 23:11:57 -04:00
Sean Sullivan
b95b466364
Move pkg/kubectl/util/hash to staging
...
Kubernetes-commit: 7aa214d2c3f78598238c761099dacd6ead3d6fcd
2019-06-19 19:11:21 -07:00
Sean Sullivan
5e233e6624
Moved pkg/kubectl/util/deployment to staging
...
Kubernetes-commit: c3f6418b59b6299f34d20f8d4e68675d80be8f49
2019-06-19 14:16:48 -07:00
Sally O'Malley
ce66ba423e
Move pkg/kubectl/util/podutils to staging
...
Kubernetes-commit: 4c58308b4e646be92f69dec772d70e81c1541148
2019-06-19 22:53:12 -04:00
Mike Dame
eefb7e1577
Move pkg/util/printers to staging and update refs
...
Kubernetes-commit: 5f3818230d925c101c5fe3c74659e1831b09d996
2019-06-19 22:53:53 -04:00
Peter Swica
9a7c9cace9
Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging
...
Kubernetes-commit: 123fa89f2116a9fd144551631925b96c872db293
2019-06-19 16:31:38 +02:00
Sean Sullivan
8182c7acf9
Clear entire kubectl repo before turning on staging publishing bot
2019-05-28 14:34:40 -07:00
Phillip Wittrock
3227d2f3ec
fixup goimports so travis passes
2019-03-12 13:22:34 -07:00
Kubernetes Prow Robot
2a31209eeb
Merge pull request #408 from thockin-tmp/gcr-vanity
...
Use k8s GCR vanity URL
2019-02-25 18:11:23 -08:00
max8899
ff88fc3b7a
fix some typos
...
criterias -> criteria
taht -> that
2018-06-28 13:38:42 +08:00
Jeffrey Regan
dd002b1774
Remove kustomize - see https://github.com/kubernetes-sigs/kustomize
2018-05-11 15:20:35 -07:00
AdamDang
b705f44328
Typo fix in the returned info.
...
creat->create
2018-05-02 19:29:36 +08:00
Richard Marshall
b3f9141d2f
Add subcommand for adding patches to the kustomization file.
2018-04-27 07:10:47 -07:00
Jeffrey Regan
043884620c
kustomize.yaml becomes kustomization.yaml
2018-04-17 11:16:49 -07:00
Jeffrey Regan
8edc8c0a0a
Some kustomization field renaming.
2018-04-13 13:34:44 -07:00
Jeffrey Regan
b55fb6ad17
Drop the init command
2018-04-13 10:01:05 -07:00
k8s-ci-robot
6d60a04ecc
Merge pull request #438 from monopole/kustomization
...
manifest becomes kustomization
2018-04-12 20:43:58 -07:00
Jeffrey Regan
9f9fd39dd2
manifest becomes kustomization
2018-04-12 17:17:01 -07:00
k8s-ci-robot
fe5aff0d65
Merge pull request #435 from mengqiy/update_dep
...
Update vendor and related hash func
2018-04-12 17:15:58 -07:00
Jeffrey Regan
3f446803ea
Drop k8s metatype fields from kustomize.yaml struct
2018-04-11 19:03:51 -07:00
Mengqi Yu
3ae6eefc2d
update hash util
2018-04-11 15:20:49 -07:00
Sunil Arora
7de1790e59
updated namereference config for missing references.
...
highlights:
RBAC references
ServiceAccountName reference
StatefulSet headless service reference
2018-04-11 13:22:07 -07:00
Jingfang Liu
91a113776f
change kinflate to kustomize
2018-04-11 11:21:31 -07:00
k8s-ci-robot
47cb3bb93b
Merge pull request #419 from mengqiy/scheme
...
swtich to depend on the scheme in client-go
2018-04-10 15:42:55 -07:00
Jingfang Liu
1af9a54096
change Kube-manifest.yaml to kustomize.yaml
2018-04-10 11:55:35 -07:00
Mengqi Yu
b8bec5e8de
swtich to depend on the scheme in client-go
2018-04-10 11:17:57 -07:00
Mengqi Yu
ada56ace67
add tests
2018-04-09 14:44:51 -07:00
Mengqi Yu
9c049921e7
support conflict detection in patches
2018-04-06 17:42:46 -07:00
Jeffrey Regan
14f80eef68
Command organization - build and edit
2018-04-06 15:54:00 -07:00
Jingfang Liu
7c406f01af
Add logging for replacing and merging configmap and secrets
2018-04-06 14:55:53 -07:00
Tim Hockin
dd241f66b8
Pass 2: k8s GCR vanity URL
2018-04-06 08:51:53 -07:00
k8s-ci-robot
cfab6e145b
Merge pull request #394 from Liujingfang1/cmgenerator
...
change ConfigMap to ConfigMapGenerator
2018-04-04 15:21:09 -07:00
Jingfang Liu
2cdb11614a
change secretGenerators to secretGenerator
2018-04-04 14:39:26 -07:00
Jingfang Liu
7a840f0f25
change ConfigMap to ConfigMapGenerator
2018-04-04 14:37:30 -07:00
Jeffrey Regan
d7d2c843de
Remove the -f option
2018-04-04 13:54:19 -07:00
Sunil Arora
f70ce7da75
kinflate: remove prune field from the manifest
2018-04-04 10:41:59 -07:00
Jingfang Liu
df1bf932b5
Add different behavior for secretGenerator in overlay
2018-04-03 15:54:17 -07:00
k8s-ci-robot
f6b6365d3b
Merge pull request #373 from Liujingfang1/cm
...
Add different behavior for configmaps in overlay
2018-04-03 15:38:07 -07:00
k8s-ci-robot
8e52829247
Merge pull request #383 from jberkhahn/return_config
...
Return rest config and regular config from pluginutil Init method
2018-04-03 11:36:07 -07:00
Jingfang Liu
7772932f7f
Add different behavior for configmaps in overlay
2018-04-03 11:26:05 -07:00
Sunil Arora
f3cb81e449
kinflate: added version command
2018-04-02 17:35:36 -07:00
Sunil Arora
04ab5927db
integrated glog in command structure
2018-03-30 16:05:07 -07:00
Jonathan Berkhahn
b212714c99
Return rest config and regular config from pluginutil Init method
...
-add namespace overriding based on kubectl plugin env var
2018-03-28 14:11:57 -07:00
Mengqi Yu
b58c4b4066
detect unknown fields in Kube-manifest.yaml
2018-03-27 19:04:56 -07:00
k8s-ci-robot
9c2320cdb1
Merge pull request #367 from Liujingfang1/bases
...
change packages to bases in Manifest
2018-03-26 16:14:01 -07:00
k8s-ci-robot
09240ed0d4
Merge pull request #370 from mengqiy/multiple_patches
...
support multiple patches for the same GVKN
2018-03-23 08:41:01 -07:00
k8s-ci-robot
2c8c714add
Merge pull request #348 from jberkhahn/parse_context
...
Use passed-in context in pluginutils config initializer
2018-03-22 14:45:03 -07:00
Mengqi Yu
67532e09da
support multiple patches for the same GVKN
2018-03-22 14:09:18 -07:00
Jingfang Liu
f24ba4e2ee
change packages to bases in Manifest
2018-03-22 09:27:46 -07:00
Antoine Pelisse
25cd875d37
Remove the suffix S from selectors
...
Since the package is now called "selectors", the S at the end of each
type name is no longer needed.
2018-03-20 15:15:47 -07:00
Antoine Pelisse
ec3eca8944
selectors: Remove "Map" and "Slice"
...
Transforming from Interface to Map or Slice in order to get a sub-item
was cumbersome, so now you can only get children directly from the
interface.
Maps and Slices are at the same level as Number or string (you can only
filter or get). Also rename Map/Slice/Number/String to
AsMap/AsSlice/AsNumber/AsString to remove ambiguity.
2018-03-19 16:56:40 -07:00
Antoine Pelisse
81e47da354
Move predicates and unstructpath to path
...
And rename unstructpath to selectors, since the package only contains
selectors now. The name of types in the selectors package could be
improved now that the package name is more specific.
2018-03-19 10:53:04 -07:00
Antoine Pelisse
3c97ce6d61
predicates: Rename Value into Interface
...
Since the original "Value" class is gone, it doesn't make sense anymore
to refer to that name. Now it's simply an "interface{}", so the name
Interface is more suited.
2018-03-19 10:41:18 -07:00
Antoine Pelisse
5a77a28cf3
unstructpath: Move predicates to their own package
...
Move the predicates to a "predicates" package, to simplify the
structure. This is purely mechanical change. Better documentation for
the package will come next, as well as a few other changes.
2018-03-19 09:20:54 -07:00
Antoine Pelisse
576bbe944f
unstructpath: Create json path type package.
...
This package let's you find specific path in your unstruct types, kind
of like jsonpath does. But this is statically compiled.
2018-03-14 10:18:07 -07:00
Antoine Pelisse
030ff82b5c
unstructpath: Create predicates
...
Predicates are type that determine if a value of a given type matches
some criteria. They will be useful as a filter type.
2018-03-14 10:11:11 -07:00
Mengqi Yu
3753d9a681
fix bug when update name ref in multi layer setup
2018-03-12 16:40:57 -07:00
Mengqi Yu
2e06ca8bc0
cleanup Resouce slice related code
2018-03-12 13:59:19 -07:00
Mengqi Yu
90262399c7
Rename KObject to ResourceCollection
2018-03-09 16:41:13 -08:00
Jonathan Berkhahn
b8ef16af1e
Use passed-in context in pluginutils config initializer
2018-03-08 16:00:09 -08:00
Mengqi Yu
4200a36e9f
appending name hash only applies to current layer
2018-03-07 18:01:47 -08:00
Jingfang Liu
e069e421d0
Remove package tree
2018-03-07 09:04:29 -08:00
k8s-ci-robot
62ee664fbe
Merge pull request #341 from Liujingfang1/remove_tree
...
Add util functions to read/write manifest file and update sub commands
2018-03-06 16:49:53 -08:00
Jingfang Liu
ea5dfd15c2
Add util functions to read/write manifest file and update sub commands
2018-03-06 16:14:57 -08:00
k8s-ci-robot
8d9cc2a7bf
Merge pull request #340 from mengqiy/CRD
...
fall back to JSON merge patch for types w/o schema (CRD)
2018-03-06 10:37:53 -08:00
Ellen Körbes
a9cf1354c1
rebase
2018-03-06 13:46:41 -03:00
Ellen Körbes
3be8109b17
resource library
2018-03-06 13:46:41 -03:00
Mengqi Yu
135ef05443
fall back to JSON merge patch for types w/o schema (CRD)
2018-03-05 18:25:05 -08:00
Jingfang Liu
97859f4abd
Update inflate/diff and corresponding tests
2018-03-02 15:50:33 -08:00
Jingfang Liu
dc31abde47
Change inflate to use Application interface
2018-03-02 13:55:20 -08:00
Mengqi Yu
6a26e64255
implement Application interface for applicationImpl
2018-03-02 11:05:03 -08:00
Mengqi Yu
12e3e4da6f
update resource pkg
2018-03-01 14:04:40 -08:00
k8s-ci-robot
3bbff70115
Merge pull request #328 from seans3/kinflate-refactor
...
Simplified Loader.New() to always take a directory
2018-02-28 14:58:55 -08:00
Sean Sullivan
9bad8083a6
Simplified Loader.New() to always take a directory (not a file)
2018-02-28 11:41:18 -08:00
Jingfang Liu
d5639f26d2
Add nameHashTransformer
2018-02-27 16:00:52 -08:00
Sean Sullivan
177dbb7b01
Allow fake loader be initialized with directory
2018-02-27 15:30:32 -08:00
Sean Sullivan
85349364cc
Update FakeLoader for simpler interface; FakeLoader uses real Loader
2018-02-27 12:43:01 -08:00
Sean Sullivan
b7f1bd4a49
Updated loader test to remove variables and logic; makes test easier to validated and reason about
2018-02-26 16:32:14 -08:00
Sean Sullivan
afdcd30ffa
Move fake loader into its own package
2018-02-26 15:38:48 -08:00
Sean Sullivan
5a92d7a586
Merge pull request #317 from seans3/kinflate-refactor
...
Refactor Loader interface
2018-02-26 15:26:03 -08:00
Sean Sullivan
d7b14caf92
Fix for FakeLoader to add new Root() method in Loader interface
2018-02-26 13:28:03 -08:00
Sean Sullivan
4010cdf9bd
Merge remote-tracking branch 'origin/master' into kinflate-refactor
2018-02-26 13:25:14 -08:00
Jingfang Liu
5c32af7778
change function name from ResourceFromPath to NewFromPath
2018-02-26 13:18:34 -08:00
Sean Sullivan
8a9c0b5e0a
Fix change to Loader interface; Root() method added to fake loader
2018-02-26 12:53:50 -08:00
k8s-ci-robot
84e23a1949
Merge pull request #316 from droot/configmap-impl
...
configmap resource implementation using loader
2018-02-26 11:53:44 -08:00
Sunil Arora
41e65e3eab
kinflate: configmap resource implementation using loader
2018-02-26 11:32:51 -08:00
k8s-ci-robot
717da4872a
Merge pull request #319 from Liujingfang1/secretresource
...
Add secret resource
2018-02-26 11:32:45 -08:00
Jingfang Liu
70d0048d35
Add secret resource
2018-02-26 11:22:46 -08:00
Sean Sullivan
3d0b7df0dd
Refactor Loader interface
2018-02-26 10:42:07 -08:00
Antoine Pelisse
65711a3c63
kinflate/transformers: Keep private things private
2018-02-26 09:24:48 -08:00
Jingfang Liu
93a241acda
Add appresource implementation
2018-02-23 13:26:44 -08:00
k8s-ci-robot
34b29797e2
Merge pull request #313 from droot/app-stage-1
...
added configmap resource implementation
2018-02-23 11:19:44 -08:00
Sunil Arora
225f166de3
added configmap resource implementation
...
This also changes the resource to be a concrete type instead of
interface.
2018-02-23 10:55:54 -08:00
k8s-ci-robot
49b69b4bc8
Merge pull request #315 from seans3/kinflate-refactor
...
Refactor Loader interface
2018-02-23 09:23:47 -08:00
Sean Sullivan
47a51d9072
Refactor Loader interface
2018-02-22 15:38:43 -08:00
k8s-ci-robot
451fec7f9d
Merge pull request #310 from mengqiy/update_import
...
update yaml import pkg
2018-02-22 08:34:40 -08:00
k8s-ci-robot
8ae33d805c
Merge pull request #312 from seans3/kinflate-refactor
...
First pass at Application abstraction with unimplemented methods
2018-02-21 15:08:40 -08:00
Sean Sullivan
6f5b9ac206
First pass at Application abstraction with unimplemented methods; Includesthe first pass at the Resource interface
2018-02-21 15:04:09 -08:00
Jingfang Liu
ec449fc3d6
Use ManifestLoader to read and write the kubemanifest file
2018-02-21 14:46:14 -08:00
Mengqi Yu
a2b109c008
update yaml import pkg
2018-02-21 14:37:46 -08:00
Jingfang Liu
a0699c2c7a
Move ManifestLoader under tree package
2018-02-21 11:23:16 -08:00
Mengqi Yu
851637079b
add diff command
2018-02-21 10:30:39 -08:00
Mengqi Yu
3d4f816787
port some useful diff utils
2018-02-21 10:30:39 -08:00
Mengqi Yu
ada76c11a9
add test for noop option
2018-02-21 10:30:39 -08:00
Mengqi Yu
138fe78abf
support noop option for kinflate inflate
2018-02-21 10:30:39 -08:00
Mengqi Yu
56bb36802b
initial commit for file loader
2018-02-20 18:12:39 -08:00
Jingfang Liu
0b1416cdd5
move error types into internal error package
2018-02-20 15:23:55 -08:00
Jingfang Liu
a07208518f
Create different internal error types
2018-02-20 14:58:12 -08:00
Antoine Pelisse
7448de587a
kinflate: Add timeout context to Command secret
...
Commands ran to create secrets will timeout after 5 minutes. Also adds a
test to make sure we fail correctly if the command fails.
2018-02-16 16:01:00 -08:00
Antoine Pelisse
76cd598602
Rename "Secret" to "SecretGenetor"
2018-02-16 16:01:00 -08:00
Antoine Pelisse
6f080f0f11
kinflate: Re-merge "GenericSecret" and "TLSSecret"
...
Since we have a new way to create generic secrets that also makes sense
with TLS secrets, let's just use that one method for all types of
secrets.
2018-02-16 16:00:39 -08:00
Antoine Pelisse
4cb628bda9
kinflate: Generate secrets with commands
...
Remove the DataSources for secret, and generate the content of secrets
with the output of commands. This allows more dynamic encrypted/secure
secrets that are not just saved plain in the repository.
2018-02-16 15:57:25 -08:00
Mengqi Yu
bf5929ef65
better integration test
2018-02-16 11:38:45 -08:00
Sunil Arora
8f0ccc0bf7
kinflate: removed non-existing resources from manifest file
...
`kinflate init` generates a manifest file which contains
non-existent resources in `resources` section. This change
keeps those resources in commented form so that 'kinflate inflate'
doesnt barf at the user.
2018-02-16 09:30:53 -08:00
Sean Sullivan
f25986dd97
New structure (ManifestError) to encasulate info needed for descriptive errors
2018-02-15 13:02:58 -08:00
Sean Sullivan
01ea12b4fb
Checkpoint including new Loader class and minor fixes.
2018-02-14 14:52:33 -08:00
Jingfang Liu
cc14158a3e
fix filesystem tech debt and improve the error message
2018-02-13 16:41:34 -08:00
k8s-ci-robot
b0567ec0ae
Merge pull request #280 from seans3/master
...
More specific error messages for missing/bad manifest file
2018-02-13 13:08:51 -08:00
Mengqi Yu
fb5b445baf
add NOP transformer
2018-02-12 17:41:31 -08:00
Sean Sullivan
3e5a79b1cb
More specific error messages for missing/bad manifest file
2018-02-12 16:56:22 -08:00
Mengqi Yu
316d259564
error out when a patch has not matching object
2018-02-12 16:29:42 -08:00
k8s-ci-robot
f6db52a337
Merge pull request #274 from mengqiy/kinflate_tree
...
Kinflate use manifest tree builder
2018-02-12 15:46:50 -08:00
Mengqi Yu
af383be150
address comments
2018-02-12 15:33:30 -08:00
yank1
e94e4d5c46
fix a typo init.go
2018-02-11 14:24:57 +08:00
Mengqi Yu
d55a17cdcc
switch kinflate to use manifest tree build
2018-02-09 18:20:48 -08:00
Mengqi Yu
33db5d53c6
change overlay applier as a transformer
2018-02-09 18:20:07 -08:00
Mengqi Yu
2f7b478a21
address comments
2018-02-09 10:28:54 -08:00
Mengqi Yu
d19bd04960
add tree builder
2018-02-08 15:13:01 -08:00
Mengqi Yu
c7739649af
move cm & secret util
2018-02-08 15:13:01 -08:00
Mengqi Yu
73aad712c7
util to merge 2 maps
2018-02-08 13:58:58 -08:00
Mengqi Yu
85fe9d2354
add Packages field in the Manifest
2018-02-08 13:58:18 -08:00
Sunil Arora
c738ff9a19
kinflate: added set subcommand
2018-02-07 12:39:13 -08:00
k8s-ci-robot
6daa07ef04
Merge pull request #262 from droot/add-verb
...
kinflate: implemented 'add' subcommand
2018-02-07 10:20:45 -08:00
Sunil Arora
89598b9b11
kinflate: implemented 'add' subcommand
2018-02-07 10:13:23 -08:00
Antoine Pelisse
45193fb480
Remove pkg/framework/test that has moved to https://github.com/kubernetes-sig-testing/frameworks
2018-02-07 09:40:55 -08:00
ymqytw
021e6bd569
fix wrong paths of name reference transformer config
2018-02-06 17:10:22 -08:00
k8s-ci-robot
087c096eff
Merge pull request #259 from seans3/tls-secret
...
Kinflate add secret tls command.
2018-02-06 15:40:44 -08:00
Jingfang Liu
932009c951
Change command setprefixname to setnameprefix
2018-02-06 15:00:50 -08:00
Sean Sullivan
5e9c1e231d
Kinflate add secret tls command.
2018-02-06 12:01:40 -08:00
Sean Sullivan
f9f329ba29
Kinflate add generic secret command.
2018-02-06 11:42:40 -08:00
k8s-ci-robot
9b8afdfec9
Merge pull request #256 from droot/add-configmap
...
Add configmap
2018-02-05 20:12:08 -08:00
Sunil Arora
5518d5dfb9
kinflate: adds 'configmap' command
...
This change contributes configmap command to add a configmap to the
manifest.
2018-02-05 16:20:22 -08:00
Jeffrey Regan
f5855945de
add setprefixname command
2018-02-05 13:23:11 -08:00
Sunil Arora
2325bb8957
fixed manifest loader test
2018-02-05 10:48:17 -08:00
Antoine Pelisse
bbb1fd0b65
kinflate: Create manifest loader
...
The manifest loader is used to read and write a manifest file to/from
disk.
2018-02-05 10:48:17 -08:00
k8s-ci-robot
1f4c1efbdf
Merge pull request #240 from apelisse/apelisse-droot-seans3
...
kinflate: Manifest type improvements
2018-02-05 10:28:11 -08:00
k8s-ci-robot
d9ff92051a
Merge pull request #251 from hangyan/function-name-typo
...
Fix typo in function name and comment
2018-02-05 09:37:11 -08:00
Hang Yan
fd1e5f18b5
Fix typo in function name and comment
2018-02-05 17:31:54 +08:00
Antoine Pelisse
b6e4fe00ee
kinflate: Update Manifest type for configmap and secrets
...
- Generic type is now named DataSources to remove ambiguity,
- NamePrefix is now just Name, since that's what it is,
- Secret have been split in GenericSecret and TLSSecret,
The code, test and examples have been updated to work with these new
types.
2018-02-02 21:31:26 -08:00
Sunil Arora
33bc00af62
Kinflate: added fs as a parameter
2018-02-02 17:02:17 -08:00
Sunil Arora
4a03e39222
Kinflate: refactoring inputs flags forn config/map to common datastructure
2018-02-02 17:02:17 -08:00
ymqytw
e5ff878c1e
fix a bug of nameprefix lost after applying patch
2018-02-02 16:45:19 -08:00
ymqytw
3d138d072a
all Run functions should not depend on Cobra
2018-02-02 13:34:53 -08:00
ymqytw
daa4a7f1d2
add a constructor for multitransformer
2018-02-02 09:43:08 -08:00
ymqytw
96624740b2
restructure the code a bit
2018-02-01 17:25:43 -08:00
ymqytw
3f225f926b
multitransformer
2018-02-01 17:25:43 -08:00
k8s-ci-robot
6b8558525e
Merge pull request #239 from apelisse/apelisse-droot-seans3
...
Apelisse droot seans3
2018-01-31 14:40:05 -08:00
Antoine Pelisse
3506c4f9f9
kinflate: Adding configmap/secret cmds examples
2018-01-31 11:45:39 -08:00
Antoine Pelisse
b21ff8e2d3
kinflate: Add tests and fix some bugs.
2018-01-31 11:34:54 -08:00
k8s-ci-robot
872d0ab69f
Merge pull request #238 from monopole/simplifyInit
...
Init writes only a manifest to the current dir.
2018-01-31 10:57:09 -08:00
k8s-ci-robot
0c40ddb53f
Merge pull request #235 from apelisse/kinflate-add-configmap
...
kinflate: Create AddConfigMap structure
2018-01-31 10:54:11 -08:00
Antoine Pelisse
c398a3f462
kinflate: Create AddSecret command
...
This is empty and does nothing.
2018-01-31 10:21:49 -08:00
Antoine Pelisse
973a56222f
kinflate: Create AddConfigMap structure
...
This is empty and does nothing.
2018-01-31 10:21:49 -08:00
Jeffrey Regan
0e4382bac8
Init writes only a manifest to the current dir.
2018-01-31 09:52:47 -08:00
Jeffrey Regan
79c13c8262
More addresource code
2018-01-30 16:21:28 -08:00
Jeffrey Regan
a5ccaf6f6e
start addresource command
2018-01-30 14:46:46 -08:00
ymqytw
b273a61a86
real kinflate init
2018-01-30 13:08:46 -08:00
Jeffrey Regan
d8d9157afc
Tweak the fakes, add a test of fake.
2018-01-30 11:24:37 -08:00
ymqytw
8368d2e3ba
mock fs and file for testing
2018-01-30 09:59:51 -08:00
Jeffrey Regan
eebd1921d8
Add init command.
2018-01-29 15:46:38 -08:00
ymqytw
20faf5d931
delete dead code
2018-01-29 12:56:45 -08:00
ymqytw
333d6e8ddf
fix name ref issue
2018-01-26 15:03:01 -08:00
ymqytw
553437f678
update test to ensure each layer of manifest will be applied
2018-01-26 11:40:38 -08:00
ymqytw
154242c1a0
update cm|secret and kinflate
2018-01-26 11:10:10 -08:00
ymqytw
adfc372027
rebase kinflate on new utils and remove dead code
2018-01-25 12:02:50 -08:00
ymqytw
e0d1ff954c
support construct unstructured configmap and secret
2018-01-25 11:25:43 -08:00
ymqytw
fc54207123
add util to update name reference
2018-01-24 14:43:56 -08:00
k8s-ci-robot
f9dd21c734
Merge pull request #222 from mengqiy/format_nameprefix
...
fix golink and refactor test
2018-01-24 14:18:39 -08:00
k8s-ci-robot
66eb14fc83
Merge pull request #182 from jberkhahn/plugin_framework
...
Add framework to init config in a plugin
2018-01-24 13:38:39 -08:00
ymqytw
331dee4a7d
fix golink and refactor test
2018-01-23 18:11:54 -08:00
ymqytw
9ab47fd44f
add MapTransformer and constructor for labels and annotations
2018-01-23 16:58:01 -08:00
ymqytw
eec253d14c
fix golint, refactor test
2018-01-23 12:55:52 -08:00
ymqytw
808a43fad6
additional labels and annotations util
2018-01-22 15:50:47 -08:00
ymqytw
28ea59a0ee
change transformer interface and pathconfig definition
2018-01-22 09:39:25 -08:00
ymqytw
1c14f2b735
prefix name util
2018-01-19 16:10:02 -08:00
ymqytw
a5e7bc08ff
encode and decode util
2018-01-19 11:09:44 -08:00
ymqytw
8fb1e1a267
update mutate func
2018-01-19 09:54:34 -08:00