From 93981ecd6f82ca547786c57c44e73c493fdcd383 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Thu, 9 May 2019 03:34:39 +0200 Subject: [PATCH 1/3] Gets rid of the "error validating kustomization.yaml" for apply -f, while still being a valid Kustomization base. Fixes #269. --- kafka/{kustomization.yaml => Kustomization} | 0 zookeeper/{kustomization.yaml => Kustomization} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename kafka/{kustomization.yaml => Kustomization} (100%) rename zookeeper/{kustomization.yaml => Kustomization} (100%) diff --git a/kafka/kustomization.yaml b/kafka/Kustomization similarity index 100% rename from kafka/kustomization.yaml rename to kafka/Kustomization diff --git a/zookeeper/kustomization.yaml b/zookeeper/Kustomization similarity index 100% rename from zookeeper/kustomization.yaml rename to zookeeper/Kustomization From 7f348de8936f441e8722c3cc7753e444bb95a996 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Thu, 9 May 2019 03:37:10 +0200 Subject: [PATCH 2/3] Fixes the warning for rbac as well --- rbac-namespace-default/{kustomization.yaml => Kustomization} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename rbac-namespace-default/{kustomization.yaml => Kustomization} (100%) diff --git a/rbac-namespace-default/kustomization.yaml b/rbac-namespace-default/Kustomization similarity index 100% rename from rbac-namespace-default/kustomization.yaml rename to rbac-namespace-default/Kustomization From 3e8807f20bf43e82eae7b1ad6b66ce0d00107ddc Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Thu, 9 May 2019 03:37:54 +0200 Subject: [PATCH 3/3] Classic apply -f works as it did pre-6.0 now --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 94ac487d..dd7a005b 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,6 @@ We suggest you `apply -f` manifests in the following order: That'll give you client "bootstrap" `bootstrap.kafka.svc.cluster.local:9092`. -With the introduction of [-k](#kustomize) support, apply `-f` will report `error: unable to decode "zookeeper/kustomization.yaml": Object 'Kind' is missing in ...`. With kubectl v1.14+ you can avoid that using: `kubectl apply -k variants/scale-3-5/`. - ## Fork Our only dependency is `kubectl`. Not because we dislike Helm or Operators, but because we think plain manifests make it easier to collaborate.