Skip to content

Commit

Permalink
Crass Curing job auth fix (bcgov#3404)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgboss authored Feb 13, 2024
1 parent 4e7ae0f commit fa31dff
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions openshift/templates/grass_curing.cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fa31dff

Please sign in to comment.