42 lines
No EOL
953 B
YAML
42 lines
No EOL
953 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: silly-game-frontend-deployment
|
|
namespace: silly-game
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: silly-game-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: silly-game-frontend
|
|
spec:
|
|
containers:
|
|
- name: silly-game-frontend
|
|
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:latest
|
|
ports:
|
|
- containerPort: 80
|
|
# volumeMounts:
|
|
# - name: config-volume
|
|
# mountPath: /app/src/environments/environment.ts
|
|
# subPath: environment.ts
|
|
# volumes:
|
|
# - name: config-volume
|
|
# configMap:
|
|
# name: silly-game-config
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: silly-game-frontend-service
|
|
namespace: silly-game
|
|
spec:
|
|
selector:
|
|
app: silly-game-frontend
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80 |