Files
Suraj Deshmukh af064f5ce3 fix PodPreset manifests
Update the image in PodPreset manifest to use the real image,
also removed the hard-coded namespace in manifest.
2017-11-20 18:39:16 +05:30

26 lines
487 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: website
labels:
app: website
role: frontend
annotations:
podpreset.admission.kubernetes.io/podpreset-allow-database: "resource version"
spec:
containers:
- name: website
image: nginx
volumeMounts:
- mountPath: /cache
name: cache-volume
ports:
- containerPort: 80
env:
- name: DB_PORT
value: "6379"
volumes:
- name: cache-volume
emptyDir: {}