v3.1.0

    2019年07月26日

    Since this version, Kustomize allows applying one patch to multiple resources. This works for both Strategic Merge Patch and JSON Patch. Take a look at patch multiple objects.

    Multiple improvements have been made to allow the user to leverage “namespace” instead/or with “name suffix/prefix” to segregate resources.

    It is possible to add namespace field to the variable declaration. In the following example, two objects with the same elasticsearch name have been declared. Specifying the namespace in the objRef of the corresponding varriables, allows Kustomize to resovlve thoses variables. If the namespace is not specified, Kustomize will handle it has a “wildcard” value.

    Extract of kustomization.yaml:

    Kustomize is now able to deal with simultaneous changes of name and namespace. Special attention has been paid the handling of:

    • ValidatingWebhookConfiguration “webhooks” field.

    Extract of kustomization.yaml:

    Kustomize is now able to support more aggregation patterns.

    If for instance, the top level of kustomization.yaml, is simply combining sub-components, (as in the following example), Kustomize has improved resource matching capabilities. This removes some of the constraints which were present on the utilization of prefix/suffix and namespace transformers in the individual components.

    • Image transformation has been improved. This allows the user to update the sha256 of an image with another sha256.
    • Multiple default transformer configuration entries have been added, removing the need for the user to add them as part of the section of the kustomization.yaml.
    • 下一页 →