kitchenowl is now just one image
This commit is contained in:
parent
b8301dc919
commit
d2ba56b954
|
@ -17,46 +17,14 @@ spec:
|
||||||
component: kitchenowl-web
|
component: kitchenowl-web
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: docker.io/tombursch/kitchenowl-web:v0.5.0
|
- image: docker.io/tombursch/kitchenowl:v0.5.0
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: web
|
name: web
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: web
|
name: web
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
---
|
resources: {}
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: kitchenowl-ch
|
|
||||||
name: kitchenowl-api
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
component: kitchenowl-api
|
|
||||||
strategy:
|
|
||||||
type: RollingUpdate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
component: kitchenowl-api
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: docker.io/tombursch/kitchenowl:v93
|
|
||||||
imagePullPolicy: Always
|
|
||||||
name: api
|
|
||||||
envFrom:
|
|
||||||
- secretRef:
|
|
||||||
name: kitchenowl
|
|
||||||
ports:
|
|
||||||
- containerPort: 5000
|
|
||||||
name: api
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 80
|
|
||||||
name: web
|
|
||||||
protocol: TCP
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
|
|
@ -1,19 +1,3 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: kitchenowl
|
|
||||||
name: back
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 5000
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 5000
|
|
||||||
selector:
|
|
||||||
component: kitchenowl-api
|
|
||||||
type: ClusterIP
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Reference in a new issue