Merge pull request #68 from v1k0d3n/master

add basic tests for users
This commit is contained in:
Brandon B. Jozsa 2016-12-24 10:39:15 -05:00 committed by GitHub
commit 32334ccf99
2 changed files with 27 additions and 0 deletions

14
tests/dns-test.yaml Normal file
View File

@ -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

13
tests/pvc-test.yaml Normal file
View File

@ -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