Browse Source

All the deployment updates

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
master
Martyn 1 year ago
parent
commit
4d3b8a33e5
2 changed files with 20 additions and 10 deletions
  1. +8
    -8
      deployments/kubernetes/configmap.yaml
  2. +12
    -2
      deployments/kubernetes/deploy.yaml

+ 8
- 8
deployments/kubernetes/configmap.yaml View File

@ -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

+ 12
- 2
deployments/kubernetes/deploy.yaml View File

@ -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: extracards
name: kardconfig
name: extracards
- configMap:
defaultMode: 420
items:
- key: config.json
path: config.json
name: kardconfig
name: config
- name: data
persistentVolumeClaim:
claimName: kkard-data

Loading…
Cancel
Save