All the deployment updates

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2020-02-21 19:28:11 +01:00
parent ba1c9438f3
commit 4d3b8a33e5
2 changed files with 20 additions and 10 deletions

View File

@ -1,12 +1,12 @@
apiVersion: v1 apiVersion: v1
data: data:
strings.json: "{\r\n \"strings\": [\r\n\t \"Let Pineboy choose!\",\r\n\t \"They're config.json: |
from the North\",\r\n \"Refers to food\"\r\n ]\r\n}" {
"channels": ["iMartynOnTwitch"],
"externalUrl": "karaokards.ing.martyn.berlin"
}
strings.json: "{\r\n \"strings\": [\r\n\t \"They're from the North\",\r\n
\ \"Refers to food\"\r\n ]\r\n}\n"
kind: ConfigMap kind: ConfigMap
metadata: metadata:
creationTimestamp: "2020-01-27T20:04:58Z" name: kardconfig
name: extracards
namespace: karaokards
resourceVersion: "48537355"
selfLink: /api/v1/namespaces/karaokards/configmaps/extracards
uid: 4b1d73b0-4140-11ea-94d8-9cb6540931b5

View File

@ -24,7 +24,7 @@ spec:
run: kardbot run: kardbot
spec: spec:
containers: containers:
- image: imartyn/karaokardbot:0.0.3-linux-amd64 - image: imartyn/karaokardbot:devel
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: kardbot name: kardbot
ports: ports:
@ -39,6 +39,9 @@ spec:
- mountPath: /app/strings.json - mountPath: /app/strings.json
name: extracards name: extracards
subPath: strings.json subPath: strings.json
- mountPath: /app/config.json
name: config
subPath: config.json
- mountPath: /data - mountPath: /data
name: data name: data
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
@ -56,8 +59,15 @@ spec:
items: items:
- key: strings.json - key: strings.json
path: strings.json path: strings.json
name: extracards name: kardconfig
name: extracards name: extracards
- configMap:
defaultMode: 420
items:
- key: config.json
path: config.json
name: kardconfig
name: config
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: kkard-data claimName: kkard-data