the pod yaml type error and add apiVersion

This commit is contained in:
jianglingxia
2017-09-25 16:40:38 +08:00
committed by Andrew Chen
parent b9fa59644f
commit f7edb82547
@@ -325,14 +325,15 @@ spec:
**Pod spec after admission controller:**
```yaml
apiVersion: v1
kind: Pod
metadata:
metadata:
labels:
app: guestbook
tier: frontend
annotations:
podpreset.admission.kubernetes.io/podpreset-allow-database: "resource version"
spec:
spec:
containers:
- name: php-redis
image: gcr.io/google_samples/gb-frontend:v3