From fa31dff330360b277a427a36c55abda3150809c6 Mon Sep 17 00:00:00 2001 From: dgboss Date: Tue, 13 Feb 2024 10:31:47 -0800 Subject: [PATCH] Crass Curing job auth fix (#3404) --- openshift/templates/grass_curing.cronjob.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/openshift/templates/grass_curing.cronjob.yaml b/openshift/templates/grass_curing.cronjob.yaml index 7d1f45170..d4f684a33 100644 --- a/openshift/templates/grass_curing.cronjob.yaml +++ b/openshift/templates/grass_curing.cronjob.yaml @@ -103,6 +103,56 @@ objects: secretKeyRef: name: ${GLOBAL_NAME} key: rocket.chat-auth-token-secret + - name: WFWX_BASE_URL + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.wfwx-base-url + - name: WFWX_AUTH_URL + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.wfwx-auth-url + - name: WFWX_USER + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.wfwx-user + - name: WFWX_SECRET + valueFrom: + secretKeyRef: + name: ${GLOBAL_NAME} + key: wfwx-secret + - name: REDIS_HOST + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.redis-host + - name: REDIS_PORT + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.redis-port + - name: REDIS_STATION_CACHE_EXPIRY + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.redis-station-cache-expiry + - name: REDIS_AUTH_CACHE_EXPIRY + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.redis-auth-cache-expiry + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: wps-redis + key: database-password + - name: REDIS_USE + valueFrom: + configMapKeyRef: + name: ${GLOBAL_NAME} + key: env.redis-use resources: limits: cpu: "1"