|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
-- |
|
|
|
|
--- |
|
|
|
|
apiVersion: v1 |
|
|
|
|
kind: ConfigMap |
|
|
|
|
metadata: |
|
|
|
@ -7,7 +7,7 @@ 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:
@@ -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: |
|
|
|
|