From 292b86572033d621e0d456b971608245d47d765b Mon Sep 17 00:00:00 2001 From: see Date: Fri, 21 Jan 2022 14:06:02 +0100 Subject: [PATCH] updates --- .../matomo/deployments-template.yaml | 35 +++---------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/src/main/resources/matomo/deployments-template.yaml b/src/main/resources/matomo/deployments-template.yaml index 5d1d776..388843e 100644 --- a/src/main/resources/matomo/deployments-template.yaml +++ b/src/main/resources/matomo/deployments-template.yaml @@ -1,52 +1,27 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: shynet-webserver + name: shynet-application namespace: default labels: - app: shynet-webserver + app: shynet-application spec: selector: matchLabels: - app: shynet-webserver + app: shynet-application strategy: type: Recreate replicas: 1 template: metadata: labels: - app: shynet-webserver + app: shynet-application spec: containers: - - name: shynet-webserver + - name: shynet-application image: milesmcc/shynet:edge imagePullPolicy: IfNotPresent - envFrom: - - secretRef: - name: shynet-settings ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: shynet-celeryworker - namespace: default - labels: - app: shynet-celeryworker -spec: - selector: - matchLabels: - app: shynet-celeryworker - replicas: 1 - template: - metadata: - labels: - app: shynet-celeryworker - spec: - containers: - - name: shynet-celeryworker - image: milesmcc/shynet:edge command: ["./celeryworker.sh"] - imagePullPolicy: IfNotPresent envFrom: - secretRef: name: shynet-settings