All the deployment updates
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
ba1c9438f3
commit
4d3b8a33e5
|
@ -1,12 +1,12 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
strings.json: "{\r\n \"strings\": [\r\n\t \"Let Pineboy choose!\",\r\n\t \"They're
|
||||
from the North\",\r\n \"Refers to food\"\r\n ]\r\n}"
|
||||
config.json: |
|
||||
{
|
||||
"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
|
||||
metadata:
|
||||
creationTimestamp: "2020-01-27T20:04:58Z"
|
||||
name: extracards
|
||||
namespace: karaokards
|
||||
resourceVersion: "48537355"
|
||||
selfLink: /api/v1/namespaces/karaokards/configmaps/extracards
|
||||
uid: 4b1d73b0-4140-11ea-94d8-9cb6540931b5
|
||||
name: kardconfig
|
||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
|||
run: kardbot
|
||||
spec:
|
||||
containers:
|
||||
- image: imartyn/karaokardbot:0.0.3-linux-amd64
|
||||
- image: imartyn/karaokardbot:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: kardbot
|
||||
ports:
|
||||
|
@ -39,6 +39,9 @@ spec:
|
|||
- mountPath: /app/strings.json
|
||||
name: extracards
|
||||
subPath: strings.json
|
||||
- mountPath: /app/config.json
|
||||
name: config
|
||||
subPath: config.json
|
||||
- mountPath: /data
|
||||
name: data
|
||||
dnsPolicy: ClusterFirst
|
||||
|
@ -56,8 +59,15 @@ spec:
|
|||
items:
|
||||
- key: strings.json
|
||||
path: strings.json
|
||||
name: kardconfig
|
||||
name: extracards
|
||||
name: extracards
|
||||
- configMap:
|
||||
defaultMode: 420
|
||||
items:
|
||||
- key: config.json
|
||||
path: config.json
|
||||
name: kardconfig
|
||||
name: config
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: kkard-data
|
Loading…
Reference in New Issue