k8s set up ready

This commit is contained in:
Mikhail Shabanov committed 2021-01-07 13:38:37 +01:00
1 parent 36f02ce738
commit 480c453bfa
4 files changed
+85 -6

No files matched your search

+8
View File
@@ -19,7 +19,15 @@ spec:
containers:
- env:
- name: MONGO_INITDB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: MONGO_INITDB_ROOT_PASSWORD
- name: MONGO_INITDB_ROOT_USERNAME
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: MONGO_INITDB_ROOT_USERNAME
image: mongo
imagePullPolicy: ""
name: wot-blitz-statistics-mongo
+12
View File
@@ -18,8 +18,20 @@ spec:
containers:
- env:
- name: Mongo__ConnectionString
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: Mongo__ConnectionString
- name: Mongo__DatabaseName
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: Mongo__DatabaseName
- name: WargamingApi__ApplicationId
valueFrom:
secretKeyRef:
name: wot-blitz-statistics-secret
key: WargamingApi__ApplicationId
image: mike/wot-blitz-statistics-pro:v1
imagePullPolicy: ""
name: wot-blitz-statististics-web