fix: use variable to reference hydra-migrate job
This commit is contained in:
parent
bb79c56c30
commit
abe220ff40
|
@ -21,4 +21,13 @@ configMapGenerator:
|
|||
- URLS_LOGIN=http://hydra-login-app/login
|
||||
- URLS_CONSENT=http://hydra-consent-app/consent
|
||||
- URLS_LOGOUT=http://hydra-logout-app/logout
|
||||
- HYDRA_SERVE_ALL_ARGS=
|
||||
- HYDRA_SERVE_ALL_ARGS=
|
||||
|
||||
vars:
|
||||
- name: HYDRA_MIGRATE_JOB_NAME
|
||||
objref:
|
||||
name: hydra-migrate
|
||||
kind: Job
|
||||
apiVersion: batch/v1
|
||||
fieldref:
|
||||
fieldpath: metadata.name
|
|
@ -22,7 +22,7 @@ spec:
|
|||
image: reg.cadoles.com/proxy_cache/groundnuty/k8s-wait-for:v1.3
|
||||
args:
|
||||
- job
|
||||
- hydra-migrate
|
||||
- $(HYDRA_MIGRATE_JOB_NAME)
|
||||
containers:
|
||||
- name: hydra
|
||||
image: reg.cadoles.com/proxy_cache/oryd/hydra:v2.0.3
|
||||
|
|
Loading…
Reference in New Issue