the pod yaml type error and add apiVersion
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user