Skip to content

Commit

Permalink
Merge pull request #189 from mohamedOuladi/feat/issue188-add-keycloak…
Browse files Browse the repository at this point in the history
…-properties-deployment

feat: added keycloak url to deployment scripts
  • Loading branch information
MyleneSimon authored May 3, 2022
2 parents ec8aee3 + 756f332 commit 93d1c18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sed -i.bak \
-e "s|NODE_SELECTOR_VALUE|${NODE_SELECTOR}|g" \
-e "s|TOLERATIONS_VALUE|${TOLERATIONS}|g" \
-e "s|OME_CONVERTER_THREADS_VALUE|${OME_CONVERTER_THREADS}|g" \
-e "s|KEYCLOAK_AUTH_URL_VALUE|${KEYCLOAK_AUTH_URL}|g" \
deploy/kubernetes/backend-deployment.yaml
rm deploy/kubernetes/backend-deployment.yaml.bak

Expand Down
2 changes: 2 additions & 0 deletions deploy/kubernetes/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
value: TOLERATIONS_VALUE
- name: OME_CONVERTER_THREADS
value: OME_CONVERTER_THREADS_VALUE
- name: KEYCLOAK_AUTH_URL
value: KEYCLOAK_AUTH_URL_VALUE
volumeMounts:
- mountPath: /data/WIPP-plugins
name: data
Expand Down
3 changes: 2 additions & 1 deletion sample-env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ NODE_SELECTOR=<node selector in the format "key1:value1;key2:value2;">
TOLERATIONS=<pod tolerations in the format "key1:operator1:value1:effect1;", optional values can be skipped "key1:operator1::;">

OME_CONVERTER_THREADS=<number of concurrent threads for image conversion, default is 6>
KEYCLOAK_AUTH_URL=<url to keycloak>

BACKEND_HOST_NAME=<host name>
MONGO_HOST_NAME=<host name>
TENSORBOARD_HOST_NAME=<host name>
TENSORBOARD_HOST_NAME=<host name>

0 comments on commit 93d1c18

Please sign in to comment.