From d67425daf1d3bc2d756787b304279986224f420a Mon Sep 17 00:00:00 2001 From: Jingfang Liu Date: Fri, 28 Sep 2018 10:48:16 -0700 Subject: [PATCH] enable crd testcase --- .../crd/bee.yaml | 0 .../crd/kustomization.yaml | 0 .../crd/mycrd.json | 0 .../crd/mykind.yaml | 0 .../crd/secret.yaml | 0 .../expected.diff | 0 .../expected.yaml | 14 +++++++------- .../test.yaml | 0 8 files changed, 7 insertions(+), 7 deletions(-) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/crd/bee.yaml (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/crd/kustomization.yaml (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/crd/mycrd.json (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/crd/mykind.yaml (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/crd/secret.yaml (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/expected.diff (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/expected.yaml (100%) rename pkg/commands/testdata/{skip-testcase-crds => testcase-crds}/test.yaml (100%) diff --git a/pkg/commands/testdata/skip-testcase-crds/crd/bee.yaml b/pkg/commands/testdata/testcase-crds/crd/bee.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/crd/bee.yaml rename to pkg/commands/testdata/testcase-crds/crd/bee.yaml diff --git a/pkg/commands/testdata/skip-testcase-crds/crd/kustomization.yaml b/pkg/commands/testdata/testcase-crds/crd/kustomization.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/crd/kustomization.yaml rename to pkg/commands/testdata/testcase-crds/crd/kustomization.yaml diff --git a/pkg/commands/testdata/skip-testcase-crds/crd/mycrd.json b/pkg/commands/testdata/testcase-crds/crd/mycrd.json similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/crd/mycrd.json rename to pkg/commands/testdata/testcase-crds/crd/mycrd.json diff --git a/pkg/commands/testdata/skip-testcase-crds/crd/mykind.yaml b/pkg/commands/testdata/testcase-crds/crd/mykind.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/crd/mykind.yaml rename to pkg/commands/testdata/testcase-crds/crd/mykind.yaml diff --git a/pkg/commands/testdata/skip-testcase-crds/crd/secret.yaml b/pkg/commands/testdata/testcase-crds/crd/secret.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/crd/secret.yaml rename to pkg/commands/testdata/testcase-crds/crd/secret.yaml diff --git a/pkg/commands/testdata/skip-testcase-crds/expected.diff b/pkg/commands/testdata/testcase-crds/expected.diff similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/expected.diff rename to pkg/commands/testdata/testcase-crds/expected.diff diff --git a/pkg/commands/testdata/skip-testcase-crds/expected.yaml b/pkg/commands/testdata/testcase-crds/expected.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/expected.yaml rename to pkg/commands/testdata/testcase-crds/expected.yaml index 3485e6556..8116db1e6 100644 --- a/pkg/commands/testdata/skip-testcase-crds/expected.yaml +++ b/pkg/commands/testdata/testcase-crds/expected.yaml @@ -5,13 +5,6 @@ kind: Secret metadata: name: test-crdsecret --- -apiVersion: v1beta1 -kind: Bee -metadata: - name: test-bee -spec: - action: fly ---- apiVersion: jingfang.example.com/v1beta1 kind: MyKind metadata: @@ -21,3 +14,10 @@ spec: name: test-bee secretRef: name: test-crdsecret +--- +apiVersion: v1beta1 +kind: Bee +metadata: + name: test-bee +spec: + action: fly diff --git a/pkg/commands/testdata/skip-testcase-crds/test.yaml b/pkg/commands/testdata/testcase-crds/test.yaml similarity index 100% rename from pkg/commands/testdata/skip-testcase-crds/test.yaml rename to pkg/commands/testdata/testcase-crds/test.yaml