Skip to content

Releases: kubernetes-sigs/kustomize

v1.0.11

04 Dec 18:45
8f701a0
Compare
Choose a tag to compare

Changelog

ebf1efe Add StorageClass to the list of ordered objects
4827d99 Add example for generatorOptions
eed16af Add removeAll to fakeFs
4daa655 Add test coverage to gitloader.
8ba2ea9 Add test for mutatefield
d05bb6b Add/fix some documentation and vars names.
793577d Consult history in fileloader.
02d2d38 Deal with branch spec in simpleGitCloner.
a40c250 Delete hashicorp cloner.
4f9d00c Enforce relocatabile kustomizations.
6b93973 Fix #560 (kinda/sorta)
421ca3f Fix typo in namereference path for cronjobs
538aaaf Fix typos: expectd->expected, cluser->cluster
885c195 Improve test coverage.
d9ba209 Introduce simple git cloner.
3e1a3d8 Minor tweaks
25415c5 Remove -t flag in build and add configurations field in kustomization.yaml
6cddc25 Remove stray comment.
a8fbe35 Rename disableHash to disableNameSuffixHash
910eb32 Rename gitloader to gitcloner.
d04877a Simplify some code and add TODOs.
7c1277f Turn off hashicorp cloner.
e0ec802 Update TransformerConfig.Merge function to handle nil
57a5fa5 Update default var reference link
95fed47 Update generatorOptions.md
3488b54 add edit command option for editing name suffix
9d82d54 add fallback for GVK comparison
a14609f add suffix field to ResId
ecbf3c5 add support .yml extension for kusotmization file
93094c7 add transformer for appending suffix
51e9fec allow accessing labels and annotations in vars
f714e9f another tweak
d481dba combine transformers
04a030b enable nameSuffix field of kustomization.yaml
4cf916e fix incorrect path in default namereference configs
b8c2ed2 fix the command usage
c1e7f1b fix the order of YAMLs
5947f69 make sure the objects loaded have name and kind
a898457 refactor test code for readability
83bc67c remove glog dependency from kustomize code (#542)
7dc8ef1 update build command testdata
6ec77b2 update crd example by using configurations file list
e574948 update docs for vars
59df8a0 update docs, examples, comments
727b5eb update vendor_kustomize.sh
a094be4 update vendor_kustomize.sh with run-in-gopath.sh (#545)

v1.0.10

26 Oct 23:15
383b3e7
Compare
Choose a tag to compare

Changelog

1020167 Revert "Skip adding nameprefix to namespace"
f8a18ce Revert "create namespace resource if not found"
163515c dep ensure
4184552 enable dep pruning and gitignore macOS DS_Store
e97960c fix goreleaser version injection
6037734 fix spelling
9f73341 kustomize build loads transformer configs when path argument omitted
76ba38c make k8sdeps.NewFactory() importable

v1.0.9

24 Oct 21:29
ec86b30
Compare
Choose a tag to compare

Changelog

40b2bf7 Add KustFactory as a wrapper of all factories
a90c957 Add example for transformer configurations: crd
fb6130e Add flag to load transfomer configurations from files
0824433 Add generatorOptions in Kustomization type
5036a12 Add hash interface
5745d03 Add literals in configMapGenerator example
67adc56 Add resid tests.
2473331 Add tests for patch/resource reading.
8cc6df5 Add transformerconfig package and default configs
fa89a0a Add validator interface
fdf5fa5 Allow setting shell and timeout in generatorOptions
2283c06 Consolidate transformer config creation to factory.
65ee4e4 Deal with field deprecation immediately after load.
3e0f5ea Delete penultimate use of Patches field.
f20528b Delete some kunstruct code in favor of apimachinery code.
2b0e272 Delete some unnecessary parameter passing.
8fd9303 Delete unused exec package.
3b86e64 Delete unused unstruct code.
d9f9a51 Fix names/doc in transformation config code.
6d935b6 Fix some Go nits.
a3dce94 Fix some go nits.
3081430 Fix some minor naming mistakes. (#434)
4eb2757 Further isolate unstructured with factories.
1af119d Further isolate unstructured with factories.
aff76e0 Gather resmap factory code into one file.
188ede2 Goland wants these vendored hg files.
0f5a39f Hide unstructured.Unstructured behind interface.
bb9fafa Improve command package isolation.
a5f5602 Improve kustomization.go comments.
aaee97c Improve unstruct test coverage and error messages.
317833a Increase sort determinism.
fb355eb Introduce gvk package to isolate apimachinery schema.
8f150d8 Introduce k8sdeps package to isolate k8s deps.
56e11b5 Isolate generator calls.
e32e5c2 Isolate k8sdeps to top level internal.
df5c3ab Maintain fields of TransformerConfig in sorted order.
d8b27ef Modify PathConfig.PathSlice method and add tests
8534107 Move crd package to transformerconfig.factory.
cdb78cb Move template files from docs/ to root
dcc9c4d Move yaml check to file in which it is called.
e65995c Notes on mySql example
b198b65 Objectify nbrSlice code.
e6558fb PR comments
7ab7108 Refactor crd package to depend on transformerconfig
7813995 Rename Application to KustTarget
22d955b Replant tree (needed for example tests).
f35e16b Simplify default config code.
90d03b0 Skip adding nameprefix to namespace
c9aff4c Spelling nits.
6b30244 Test field output ordering.
ce3daf2 Update install doc to use sigs.k8s.io
3fe047f Update ptrs to DAM doc.
cbd7a1b Use Go 1.11
c9887e8 WIP residPackage
2953dad add MakeHashTransformer in TransformerFactory; remove hash interface
94c3b12 add command to save the default transformer configurations to local files
d5aed20 add commonLabel fieldpath for volumeClaimTemplates
13c368a add default configurations for different transformers
808df20 add missing lines after copyright (#468)
14fc54e add namespace to id when create resmap from files
da35a21 add script build/vendor_kustomize.sh
f2f1125 add tests for resmap
b5cf3a2 add yaml-version of jsonpatch tests
0cb02f1 allow add labels/annotations to generated resources
c6a78ce change github.com/aws/aws-sdk-go to be the same revision in kubernetes
e095815 change golang.org/x/net to be the same revision as used in kubernetes
8a8f358 change sets.NewString() to []string
c3ae23d combine HashComfigMap and HashSecret to Hash
f7353b1 copy TypeMeta from apimachinery
a5f0d45 create namespace resource if not found
a9cf197 decouple configmapandsecret and hash packages
d67425d enable crd testcase
9ef96e9 enable preserving order with generatorOptions
279826f error out if patchesJson6902 target can't be found, fixes #335
8209aee fix copyright misalignment (#472)
2d26d95 fix indent
c27279c fix integration test script
4828114 fix kustomize edit add label bug
74d8575 fix kustomize edit add label bug
9d804ba fix lint errors in internal (#469)
62f7cdb fix the flaky test in crd package
3d4bf3a for yaml-formatted JSON6902 patches, convert first to json, then use the same code as for json-formatted JSON6902 patches
f783486 hide core/v1 behind interface
78de537 hide patch transformer behind interface
c614f4b missing : after patchesJson6902
c33a97f move transformerconfig package to transformers/config
261d64e port to golangci and make travisci improvements
8e0c55f remove apimachinery dependency from crd package (#430)
08da245 remove apimachinery dependency from internal/error package
96091df remove decoder interface since it is only used inside k8sdeps
4c7b63a remove dependency on apimachinery from gvk package
078c90c remove hard coded pathconfig
6c5a75b remove metadata.creationTimestamp field from configMapGenerator
90c88d7 skip filtering resmap when the resource is a cluster level resource
23963e8 skip hash transformer when DisableHash is set to true
d33d154 split k8sdeps package into sub packages
e5ea1b0 typo
6d4ad82 use 'sed -i.bak' instead of 'sed -i' to make it compatible with macos sed
f3e4615 use FakeFileSystem in configmapandsecret tests
71c3cf1 use local types in var reference

v1.0.8

13 Sep 19:17
58492e2
Compare
Choose a tag to compare

In this release, following supports are added.

  • customizing an object by JSON patch 6902. JSON patch demo.

  • recognizing digest for image.

    kustomize edit set imagetag nginx:1.8.0 my-app:latest 
    alpine@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3
    

    will add following content to kustomization.YAML

     imageTags:
    - name: nginx	
      newTag: 1.8.0
    - name: my-app	
      newTag: latest
    - name: alpine
      digest: sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3
    

Changelog

6a3e3c3 Add JSONPatch to kustomization
1c616b1 Add examples and docs for patchesJson6902
95cf508 Add github.com/krishicks/yaml-patch to vendor
8da2f37 Add gopkg.in/yaml.v2 to Gopkg.lock
7811d9f Add multibases test with namereference conflict
21ff81b Add multibases test with namereference nonconflict
7f0e9e3 Add patchJson6902 transformer
6dbf4b5 Apply code review recommendations
9361816 Cleanup addmetadata.
8810027 Enable jsonpath transformers in application
cdbd83a Fix some busted documentation links.
71f5105 Fix typo on staging
5401bd3 Implement support for digests in imageTags
cda909a Remove duplicate code.
340cb2b Remove unnecessary import aliases.
99e770b Remove unused variable.
d782abb Update patch factory and add multi transformer with checking conflicts
cedf215 add PatchJson6902Factory to make transformer
9700bc3 added all the documented secret for storageclasses
ce31dac added storageclass paramether secret for glusterfs configuration with kustomize
3d9d4bd address comments
829cb2b address comments
64fdb8d change github.com/kubernetes-sigs to sigs.k8s.io (#343)
b713d5a change patches to patchesStrategicMerge in tests and examples
7b30144 filter by namespace and nameprefix in namereference transformer
d78e77f fix remote build's for subdirectories
a9f44aa fix the release and build files
a76cb0b force using the git protocol to downlaod every kind of repo non just from github
4a297fa improve idslice
60d8334 remove dependency on internal error
6dc8029 remove go get varcheck
81b5cf6 remove inline json patch format
6457162 use apimachinery for annotation/label validation

v1.0.7

27 Aug 16:12
633c43a
Compare
Choose a tag to compare

In this release, remote URL support is added. One can run kustomize build url or use the URL as a base in an overlay. More details, please take a look at remote target

Changelog

ec95e5f Add all dependency of go-getter
b29e449 Add docs README.md
759ba1c Add example for kustomize build {url}
3975ebc Add garbage collection KEP link
f018370 Add kustomize build {repoUrl}
a0089a2 Add missing files when running dep ensure
94ed0fe Add namereference of PersistentVolume in PersistentVolumeClain
20fd433 Add tests
f9a0e67 Add timeoutSeconds to secretArgs
f931e15 Add varcheck to presubmit.
b3993dc Adds starter validation framework for semantic validation of inputs.
38a5e12 Create CODE_OF_CONDUCT.md
950c353 Delete diff command and code it uses.
0833693 Disable creation of PDB matchLabels
2ae00db Don't crash on resource load errors
735a93d Fix some Go nits.
1e38240 Implements labels and annotations as subcommands of edit
da142a8 Move some docs to docs dir (declutter the top).
3b64447 Parse data into string map for easy access in RunAddMetadata
6a2786a Remove Complete function and references
1874154 Removed individual files in favor of combined metadata file
11c04dd Removes semantic validation from addmetadata.go and tests.
31dd8fc Restructured tests
524d593 Separate functions for RunnAddLabel and RunAddAnnotation
77f4811 Tests test Validate function
5fa209a Tweak docs readme
924aa6f Use iota declaration for constants and implements string method for KindOfAdd metadata
afac2fb Uses single file for both addLabel and addAnnotation commands, as the code is nearly identical. Tests included.
42e6ced add docs
2174741 add homebrew package to INSTALL.md
e2cd44f add support for kustomize edit set namespace
6221bed add typemeta to kustomization
6da691f cleanup after handling remote bases
72b1a4b combine fileLoader.New and NewLoader into one function: NewLoader
52c6b57 fix bug in the example download links
e113944 fix loader loader when run from gopath
3416917 fix the double quotation problem in ConfigMapGenerator
b02f777 manually add dependency on go-getter
6847bb7 trivial: Change dep constraint to an override

v1.0.6

10 Aug 16:48
017c4ae
Compare
Choose a tag to compare

Changelog

7b2baad Add -o flag to kustomize build
0b4df3d Add deprecation message for namePrefix behavior change
e304014 Add example for multibases
1b7171a Add glob support in edit add resource
bf73633 Add glob support in subcommands add patch and add configmap
5193d6b Add ingress annotations to the namereference path config
71f069c Add multibases example with different namespace
58bc4b1 Add support for using common base
f0cf457 Change the order of validate and expandFileSource in add configmap subcommand
9e5374e Combine loaderImpl and fileLoader.
7fe2338 Container Builder has been renamed Cloud Build
02f9329 Enumerate eschewed features in docs
37e9708 Eschew globbing doc
083d3cb More description of eschewed features
d7cbb95 More information in error message when secret gen fails
cf17050 Revert "Skip adding nameprefix to namespace"
10665c6 Skip adding nameprefix to namespace
4471b75 Use regexp in set imagetag
f881c19 add env sources to secrets
31c6a55 add namepreference for secret in ingress annotation
b6abd76 add namespace in ResId
79d1abe dep ensure run
7406dda fixes
2e7093e ignore the empty YAML object
8d7b5f8 preserve order and comments in edit
88aec95 remove commented code update multibases/README.md
de4d8b7 remove glob support from kustomization.yaml
36115a7 use regexp to determin if the image matched in imagetag transformer

v1.0.5

25 Jul 17:55
4569a09
Compare
Choose a tag to compare

Changelog

3fdaa2e Add ImageTags in kustomization type
838a766 Add docs and demo for imageTags
fa3a64e Add imageTagTransformer
5851f96 Add initContainers in imageTagTransformer
909de5c Add set imagetag command
ed9f716 Add unit test for NetworkPolicy
25d3ad7 Delete duplicative code.
fdc46fb Delete some code.
9986b65 Disable creation of NetworkPolicy podSelector.matchLabels
a78aa22 Drop useless or duplicative code.
564b0d6 Fix cluster of silly Go nits.
072bf99 Fix configGeneration.md
2eaeb83 Fix wrong path in diff tests on macOS
7f22f18 Introduce secret factory.
276693c Make a secret factory.
969f4f2 Pull factories out of the bowels.
9576a81 Put the two sets of configmap make codes sidebyside
b754557 Remove a util package; more cleanup for #86
9432671 Replace os.Stat with IsDir, simplifying FS abstraction.
4b6f180 address comments
05a9189 break helloWorld example into two examples: - one for declaring a ConfigMap as resources - one for declaring a ConfigMap from ConfigMapGenerator and rolling update
f14988f configMap factory refactor for #86
c8502c7 drop complete function from setImageTag subcommand
59b9872 enable imageTagTransformer in application
58aa45c fixed version info injection in build script
9645f39 remove adding hash for configmap/secret read from resource yaml files
08bc863 set the default behavior for SecretGenerator and ConfigMapGenerator as create

v1.0.4

17 Jul 21:54
94dab9d
Compare
Choose a tag to compare

Changelog

0c260ef Add NetworkPolicy to label transformer
7755d6c Add common labels to pod affinity/anti-affinity label selector
4325401 Add namespace transformation for subjects.namespace in ClusterRoleBinding
aa72922 Interpret projected configMap volume names
9674fd1 Run namehash transformer before resolving names for refvars
36772aa add PersistentVolumeClaim to name reference transformer
afbc1b0 docs(vars): add some docs explaining the usage and limitations of vars
d4c7131 fix linter dupl errors
81f246e skip adding namespace to CustomResourceDefinitions
d2b1898 update helloWorld example: change configmap to configmapGenerator

v1.0.3

29 Jun 19:02
6f82073
Compare
Choose a tag to compare

Changelog

d7b9f64 Absorb exec package from utils.
2a06a17 Add CronJob to refvars transformer
6392e66 Add glob support
6fd0330 Add gometalinter to pre-commit hook
2a3f09a Add integration test for glob support
4f05482 Add support for CRDs
46e8fd7 Add variable reference support for args
09ab2bb Add variable reference to container env
ad3cd47 Add variable reference to pod command,args,env
4e7610a Addresses review comments
37489ec Adds ability to add multiple base directories to kustomization
54e8a01 Adds example for secret download using curl
a1dcf33 Adds kustomize edit add base command
5a3c655 Clarifies hello-world example documentation
50c40eb CronJob transformation fixed
f557841 Enable unparam linter and fix issues
6a67183 Enhancement for format error message - add yaml format error handler - silent usage when build command fails
40bb811 Fixes #33; add SECURITY_CONTACTS
398ceb0 Jobs do not create a selector if not already present
2fb69db Move version.go to commands dir.
623e21d Rename examples dir to examplelayout.
c6d8bcb Replace deprecated crypto/md5 with crypto/sha256
f616e30 Update example to show correct environment
ea00134 Update pathconfigs library
e7ecceb Update vendor
5d24dda add imagePullSecrets namerefs
bbd29d9 add test
90d16c2 correct ordering of the k8s objects: NameSpace, CRD, ServiceAccount, Role, ClusterRole, RoleBinding, ClusterRoleBinding
d488d98 grepping for configMap name
730597b grepping for kiwi
991ffbb populate the map from a slice
809d5b1 put namespace objects first in the output
cc86903 remove extra package comment on crds
636ab87 update failed test

v1.0.2

11 Jun 22:26
5563f15
Compare
Choose a tag to compare

Changelog

92864ba Add Ingress spec.tls.secretName to Secret namerefs
b6efde1 Add README.md for wordpress to show variable reference usage
44696d5 Add TODO referencing bug
3772076 Add a test case
c7ef8a7 Add expansion package
e002b69 Add more test coverage for RawResources.
35344c1 Add test case for variable reference
1f8e56a Add wordpress example for demonstrating variable reference
1a28f3a Address comments: add unit tests, defaulting and update comment
49f586a Create and document diff package.
708cd7e Doc the error package.
8afba0b Document constants package.
0e2c71c Drop the util package.
c994130 Fix go lint error and add golint checks to a pre-commit hook
16fa340 Fix #40
5c8d82a Fixed gocyclo warnings and added pre-commit hook
de65503 Handle arb length paths in GetFieldName
2e0e43c Improve package doc.
ef71cb4 Introduce ResId and ResMap.
a42c72b Reduce indirection.
ccd255f Reduce unstruct notation noise in Resource construction.
d0c6a82 Remove util and privatize selectByGvk
bc14427 Removes help text for kustomize edit add secret
d06620c Rename OverlayTranformer to PatchTransformer.
bdad67c Return error along with a resource
5f75564 Skip adding nameprefix for CRD
211cda0 Some cleanup refactoring in app package.
d9b422c Update README with file layout
5563f15 Update README.md
aa88a05 Update README.md
00e5209 Update workflow doc
69d816d add PodDisruptionBudget labels
95f568b add comments in refvar transformer Refactor change
e3934ee add instructions for publishing a release
08e2a10 add namerefs for hpa
db15bc6 add namerefs for ingress
c83b701 add namerefs for initContainers
fa8d6f0 add namespace to the doc
815db03 add namespace.yaml
501e1a4 add regression coverage
934e37d add unit test and address comments
526ba2d add varialber reference support
ab0c9b4 address comments
1583486 base overlay notes
8f3fe7d betterFigs
7086e4f demos --> examples
6e54814 kustomize namespace
e017d04 make generated configmaps composable
f774172 refactor namespaces to use PathConfig
5a54c96 update readmes
920f538 use variant in figure