barretthousen/env/base/admin-client-deployment.yaml

44 lines
937 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: admin-client
spec:
selector:
matchLabels:
app: admin-client
template:
metadata:
labels:
app: admin-client
spec:
serviceAccountName: barretthousen-service
containers:
- name: admin-client
image: barretthousen/client-admin-client:latest
imagePullPolicy: Always
stdin: true
tty: true
env:
- name: BH_CLIENT_INTERNAL_API_HOST
value: "http://proxy-admin"
- name: ORIGIN
value: https://admin.barretthousen.com
ports:
- containerPort: 80
name: http
resources:
limits:
memory: "512Mi"
cpu: "500m"
---
apiVersion: v1
kind: Service
metadata:
name: admin-client
spec:
selector:
app: admin-client
ports:
- port: 80
targetPort: 80