trmm-awesome/kubernetes/deployment/tactical-frontend.yaml

47 lines
924 B
YAML
Raw Normal View History

2022-01-03 08:37:09 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: tacticalrmm
labels:
app: tacticalrmm
service: tactical-frontend
name: tactical-frontend
spec:
replicas: 1
selector:
matchLabels:
service: tactical-frontend
strategy: {}
template:
metadata:
labels:
service: tactical-frontend
spec:
2022-01-18 01:51:44 +01:00
securityContext:
runAsUser: 1000
fsGroup: 1000
2022-01-03 08:37:09 +01:00
containers:
- name: trmm-frontend
2022-07-09 00:34:12 +02:00
image: tacticalrmm/tactical-frontend:0.14.1
2022-01-03 08:37:09 +01:00
resources: {}
env:
- name: API_HOST
value: api.rmm.mydomain.com
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
namespace: tacticalrmm
labels:
app: tacticalrmm
service: tactical-frontend
name: tactical-frontend
spec:
ports:
- name: "http"
2022-01-18 01:51:44 +01:00
port: 8080
targetPort: 8080
2022-01-03 08:37:09 +01:00
selector:
service: tactical-frontend