Files

59 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2021-01-07 11:54:27 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: wot-blitz-statistics-web
name: wot-blitz-statistics-pro-app-web-deployment
spec:
replicas: 1
selector:
matchLabels:
app: wot-blitz-statistics-web
strategy: {}
template:
metadata:
labels:
app: wot-blitz-statistics-web
spec:
containers:
- env:
- name: Mongo__ConnectionString
2021-01-07 13:38:37 +01:00
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: Mongo__ConnectionString
2021-01-07 11:54:27 +01:00
- name: Mongo__DatabaseName
2021-01-07 13:38:37 +01:00
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: Mongo__DatabaseName
2021-01-07 11:54:27 +01:00
- name: WargamingApi__ApplicationId
2021-01-07 13:38:37 +01:00
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: WargamingApi__ApplicationId
2021-02-26 18:19:34 +01:00
image: mike/wot-blitz-statistics-pro:v2
2021-01-24 18:16:15 +01:00
livenessProbe:
httpGet:
path: /health/self
port: 80
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 1
failureThreshold: 3
startupProbe:
httpGet:
path: /health/startup
port: 80
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 30
2021-01-07 11:54:27 +01:00
imagePullPolicy: ""
name: wot-blitz-statististics-web
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}