Skip to content

Commit

Permalink
updates to helm files
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Sep 5, 2022
1 parent 6e4a1e9 commit 87b6529
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 6 deletions.
7 changes: 6 additions & 1 deletion deploy/helm/Gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ replicaCount: 1
image:
repository: registry.gitlab.com/answerdigital/londonai/aide/workflow-manager-images/infomatics-gateway
pullPolicy: IfNotPresent
tag: 2022-08-01
tag: 2022-08-30-01

imagePullSecrets:
- name: gitlab-image-pull

enviromentVariables:
InformaticsGateway__messaging__publisherSettings__endpoint: "rabbitmq-monai"
Expand All @@ -29,6 +32,8 @@ enviromentVariables:
InformaticsGateway__storage__settings__accessKey: "rootminio"
InformaticsGateway__storage__settings__accessToken: "rootminio"
InformaticsGateway__dicom__scp__rejectUnknownSources: false
Kestrel__EndPoints__Http__Url: "http://::5000"
InformaticsGateway__storage__watermarkPercent: 95


service:
Expand Down
54 changes: 54 additions & 0 deletions deploy/helm/MTM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

image:
repository: registry.gitlab.com/answerdigital/londonai/aide/workflow-manager-images/task-manager
pullPolicy: IfNotPresent
tag: 2022-08-22-02

imagePullSecrets:
- name: gitlab-image-pull

enviromentVariables:
WorkflowManager__storage__settings__endpoint: "minio.monai:9000"
WorkflowManager__storage__settings__accessKey: "rootminio"
WorkflowManager__storage__settings__accessToken: "rootminio"
WorkflowManager__storage__settings__executableLocation: "mc"
WorkflowManager__messaging__publisherSettings__endpoint: "rabbitmq.monai"
WorkflowManager__messaging__subscriberSettings__endpoint: "rabbitmq.monai"

enviromentVariablesFromSecrets:
secrets:
- name: WorkflowManager__messaging__subscriberSettings__username
secretName: rabbit-secret-master
secretKey: username
- name: WorkflowManager__messaging__subscriberSettings__password
secretName: rabbit-secret-master
secretKey: password
- name: WorkflowManager__messaging__publisherSettings__username
secretName: rabbit-secret-master
secretKey: username
- name: WorkflowManager__messaging__publisherSettings__password
secretName: rabbit-secret-master
secretKey: password

service:
type: ClusterIP
port: 5000




5 changes: 3 additions & 2 deletions deploy/helm/MWM.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ enviromentVariables:
WorkflowManager__storage__settings__accessKey: "rootminio"
WorkflowManager__storage__settings__accessToken: "rootminio"
WorkflowManager__storage__settings__executableLocation: "mc"
WorkflowManager__messaging__publisherSettings__endpoint: "rabbitmq.monai"
WorkflowManager__messaging__subscriberSettings__endpoint: "rabbitmq.monai"
WorkflowManager__messaging__publisherSettings__endpoint: "rabbitmq-monai.monai"
WorkflowManager__messaging__subscriberSettings__endpoint: "rabbitmq-monai.monai"
WorkloadManagerDatabase__ConnectionString: "mongodb://root:[email protected]:27017"
Kestrel__EndPoints__Http__Url: "http://::5000"

enviromentVariablesFromSecrets:
secrets:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
value: {{ $value | quote }}
{{- end }}

{{- range .Values.enviromentVariablesFromSecrets.secrets }}
{{- range (.Values.enviromentVariablesFromSecrets).secrets }}
- name: {{ .name }}
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/templates/volume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{{- if .Values.volumeMounts -}}
{{- if .Values.volumeMounts }}
apiVersion: v1
kind: PersistentVolume
metadata:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/templates/volumeclaim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{{- if .Values.volumeMounts -}}
{{- if .Values.volumeMounts }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down

0 comments on commit 87b6529

Please sign in to comment.