fix PodPreset manifests

Update the image in PodPreset manifest to use the real image,
also removed the hard-coded namespace in manifest.
pull/6385/head
Suraj Deshmukh 2017-11-20 18:39:16 +05:30
parent 28071a25f8
commit af064f5ce3
9 changed files with 5 additions and 9 deletions

View File

@ -10,7 +10,7 @@ metadata:
spec: spec:
containers: containers:
- name: website - name: website
image: ecorp/website image: nginx
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
name: cache-volume name: cache-volume

View File

@ -2,7 +2,6 @@ apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset kind: PodPreset
metadata: metadata:
name: allow-database name: allow-database
namespace: myns
spec: spec:
selector: selector:
matchLabels: matchLabels:

View File

@ -8,7 +8,7 @@ metadata:
spec: spec:
containers: containers:
- name: website - name: website
image: ecorp/website image: nginx
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
name: cache-volume name: cache-volume

View File

@ -2,7 +2,6 @@ apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset kind: PodPreset
metadata: metadata:
name: allow-database name: allow-database
namespace: myns
spec: spec:
selector: selector:
matchLabels: matchLabels:

View File

@ -10,7 +10,7 @@ metadata:
spec: spec:
containers: containers:
- name: website - name: website
image: ecorp/website image: nginx
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
name: cache-volume name: cache-volume

View File

@ -11,7 +11,7 @@ metadata:
spec: spec:
containers: containers:
- name: website - name: website
image: ecorp/website image: nginx
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
name: cache-volume name: cache-volume

View File

@ -8,7 +8,7 @@ metadata:
spec: spec:
containers: containers:
- name: website - name: website
image: ecorp/website image: nginx
ports: ports:
- containerPort: 80 - containerPort: 80

View File

@ -2,7 +2,6 @@ apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset kind: PodPreset
metadata: metadata:
name: allow-database name: allow-database
namespace: myns
spec: spec:
selector: selector:
matchLabels: matchLabels:

View File

@ -2,7 +2,6 @@ apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset kind: PodPreset
metadata: metadata:
name: proxy name: proxy
namespace: myns
spec: spec:
selector: selector:
matchLabels: matchLabels: