Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added keycloak url to deployment scripts #189

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>