Browse Source

Small errors in deployment.yaml

pull/1/head
Öystein Andersen 4 years ago
parent
commit
0f26b7b470
  1. 8
      kube/deployment.yaml

8
kube/deployment.yaml

@ -1,4 +1,4 @@
-- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@ -7,7 +7,7 @@ metadata:
data: data:
REDIS_TRIM: "10000" REDIS_TRIM: "10000"
--- ---
apiVersion: v1 apiVersion: batch/v1beta1
kind: CronJob kind: CronJob
metadata: metadata:
name: redis-clean-trigger name: redis-clean-trigger
@ -24,12 +24,12 @@ spec:
# - name: k2-repository # - name: k2-repository
containers: containers:
- name: alarmlist-trigger - 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: envFrom:
- configMapRef: - configMapRef:
name: k2 name: k2
- configMapRef: - configMapRef:
name: redis_clean_trigger name: redis-clean-trigger
env: env:
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:

Loading…
Cancel
Save