@@ -20,7 +20,7 @@ type KustomizationSpec struct {
2020 // Decrypt Kubernetes secrets before applying them on the cluster.
2121 // +optional
2222 Decryption *Decryption ` json:"decryption,omitempty"`
23-
23+
2424 // The interval at which to reconcile the Kustomization.
2525 // +required
2626 Interval metav1.Duration ` json:"interval"`
@@ -30,7 +30,7 @@ type KustomizationSpec struct {
3030 // value to retry failures.
3131 // +optional
3232 RetryInterval *metav1.Duration ` json:"retryInterval,omitempty"`
33-
33+
3434 // The KubeConfig for reconciling the Kustomization on a remote cluster.
3535 // When specified, KubeConfig takes precedence over ServiceAccountName.
3636 // +optional
@@ -54,7 +54,7 @@ type KustomizationSpec struct {
5454 // A list of resources to be included in the health assessment.
5555 // +optional
5656 HealthChecks []meta.NamespacedObjectKindReference ` json:"healthChecks,omitempty"`
57-
57+
5858 // A list of images used to override or set the name and tag for container images.
5959 // +optional
6060 Images []Image ` json:"images,omitempty"`
@@ -631,8 +631,10 @@ You can replicate the controller post-build substitutions locally using
631631and Drone's [envsubst](https://github.com/drone/envsubst) :
632632
633633` ` ` console
634+ $ $ go install github.com/drone/envsubst/cmd/envsubst
635+
634636$ export region=eu-central-1
635- $ kustomize build ./apps/ | envsubst
637+ $ kustomize build ./apps/ | $GOPATH/bin/ envsubst
636638---
637639apiVersion: v1
638640kind: Namespace
0 commit comments