From 4071565f66ea1501ee05928d36505276d0cc1e5a Mon Sep 17 00:00:00 2001 From: "Brandon B. Jozsa" Date: Sat, 24 Dec 2016 10:37:55 -0500 Subject: [PATCH] add basic tests for users --- tests/dns-test.yaml | 14 ++++++++++++++ tests/pvc-test.yaml | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/dns-test.yaml create mode 100644 tests/pvc-test.yaml diff --git a/tests/dns-test.yaml b/tests/dns-test.yaml new file mode 100644 index 0000000000..43ea5fb858 --- /dev/null +++ b/tests/dns-test.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Pod +metadata: + name: dns-test + namespace: kube-system +spec: + containers: + - image: busybox + command: + - sleep + - "3600" + imagePullPolicy: IfNotPresent + name: busybox + restartPolicy: Always diff --git a/tests/pvc-test.yaml b/tests/pvc-test.yaml new file mode 100644 index 0000000000..9701275a14 --- /dev/null +++ b/tests/pvc-test.yaml @@ -0,0 +1,13 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: pvc-test + annotations: + volume.beta.kubernetes.io/storage-class: general +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi