From e7fe6a921a944241c13a66086888816b00e3db0d Mon Sep 17 00:00:00 2001 From: Michael Goodness Date: Wed, 6 Feb 2019 17:12:18 -0600 Subject: [PATCH] Update for kustomize v2 Signed-off-by: Michael Goodness --- kustomize/base/kustomization.yaml | 3 +++ kustomize/overlays/psp_calico/kustomization.yaml | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/kustomize/base/kustomization.yaml b/kustomize/base/kustomization.yaml index 5626bb98..0bba32e3 100644 --- a/kustomize/base/kustomization.yaml +++ b/kustomize/base/kustomization.yaml @@ -1,3 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + resources: - daemonset.yaml - rbac.yaml diff --git a/kustomize/overlays/psp_calico/kustomization.yaml b/kustomize/overlays/psp_calico/kustomization.yaml index 72df6e0d..7e6d2659 100644 --- a/kustomize/overlays/psp_calico/kustomization.yaml +++ b/kustomize/overlays/psp_calico/kustomization.yaml @@ -1,16 +1,19 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + bases: - github.com/jtblin/kube2iam//kustomize/base commonLabels: app.kubernetes.io/name: kube2iam -imageTags: +images: - name: jtblin/kube2iam newTag: 0.10.6 namespace: kube2iam -patches: +patchesStrategicMerge: - daemonset.yaml resources: