kitchenowl is now just one image

This commit is contained in:
Tobias Brunner 2024-04-09 21:33:12 +02:00
parent b8301dc919
commit d2ba56b954
Signed by: tobru
SSH Key Fingerprint: SHA256:kywVhvCA+MIxL6eBgoQa+BfC/ROJqcfD2bpy1PR6Ebk
2 changed files with 2 additions and 50 deletions

View File

@ -17,46 +17,14 @@ spec:
component: kitchenowl-web
spec:
containers:
- image: docker.io/tombursch/kitchenowl-web:v0.5.0
- image: docker.io/tombursch/kitchenowl:v0.5.0
imagePullPolicy: Always
name: web
ports:
- containerPort: 80
name: web
protocol: TCP
---
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
resources: {}
volumeMounts:
- name: data
mountPath: /data

View File

@ -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
kind: Service
metadata: