From 01287b037d8f71a345bf46faa14f71e987f7519e Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Mon, 23 Sep 2024 16:53:09 +0100 Subject: [PATCH] Add test pkg for unready use case --- test/pkgs/unready/Kptfile | 14 ++++++++++++++ test/pkgs/unready/README.md | 5 +++++ test/pkgs/unready/namespace.yaml | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 test/pkgs/unready/Kptfile create mode 100644 test/pkgs/unready/README.md create mode 100644 test/pkgs/unready/namespace.yaml diff --git a/test/pkgs/unready/Kptfile b/test/pkgs/unready/Kptfile new file mode 100644 index 00000000..d02117f7 --- /dev/null +++ b/test/pkgs/unready/Kptfile @@ -0,0 +1,14 @@ +apiVersion: kpt.dev/v1 +kind: Kptfile +metadata: + name: unready +info: + description: sample description + readinessGates: + - conditionType: nephio.org.Specializer.specialize +status: + conditions: + - type: nephio.org.Specializer.specialize + status: "False" + reason: Ready + diff --git a/test/pkgs/unready/README.md b/test/pkgs/unready/README.md new file mode 100644 index 00000000..69077317 --- /dev/null +++ b/test/pkgs/unready/README.md @@ -0,0 +1,5 @@ +# unready + +## Description + +Base Blueprint with unready conditions diff --git a/test/pkgs/unready/namespace.yaml b/test/pkgs/unready/namespace.yaml new file mode 100644 index 00000000..2a8a1284 --- /dev/null +++ b/test/pkgs/unready/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: example