From 0f26b7b47086ad90f38c8ad5118cdd9cca1320c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96ystein=20Andersen?= Date: Mon, 23 Nov 2020 14:29:20 +0100 Subject: [PATCH] Small errors in deployment.yaml --- kube/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kube/deployment.yaml b/kube/deployment.yaml index f59be14..c42604d 100644 --- a/kube/deployment.yaml +++ b/kube/deployment.yaml @@ -1,4 +1,4 @@ --- +--- apiVersion: v1 kind: ConfigMap metadata: @@ -7,7 +7,7 @@ metadata: data: REDIS_TRIM: "10000" --- -apiVersion: v1 +apiVersion: batch/v1beta1 kind: CronJob metadata: name: redis-clean-trigger @@ -24,12 +24,12 @@ spec: # - name: k2-repository containers: - name: alarmlist-trigger - image: 935062023832.dkr.ecr.eu-west-1.amazonaws.com/redis_clean_trigger:1.0.0 + image: 935062023832.dkr.ecr.eu-west-1.amazonaws.com/redis_clean_trigger:1.0.1 envFrom: - configMapRef: name: k2 - configMapRef: - name: redis_clean_trigger + name: redis-clean-trigger env: - name: REDIS_PASSWORD valueFrom: