diff --git a/charts/bpdm/charts/bpdm-bridge-dummy/templates/_helpers.tpl b/charts/bpdm/charts/bpdm-bridge-dummy/templates/_helpers.tpl index 66577c475..a18c4dc67 100644 --- a/charts/bpdm/charts/bpdm-bridge-dummy/templates/_helpers.tpl +++ b/charts/bpdm/charts/bpdm-bridge-dummy/templates/_helpers.tpl @@ -70,13 +70,13 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if and $pool (not (empty (index $pool "base-url"))) -}} {{- index $pool "base-url" -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- end }} @@ -89,13 +89,13 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if and $gate (not (empty (index $gate "base-url"))) -}} {{- index $gate "base-url" -}} {{- else -}} - {{- printf "%s-bpdm-gate" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-gate" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-gate" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-gate" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-gate" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-gate" .Release.Name) ":8080" -}} {{- end -}} {{- end }} diff --git a/charts/bpdm/charts/bpdm-gate/templates/_helpers.tpl b/charts/bpdm/charts/bpdm-gate/templates/_helpers.tpl index 9b89831e8..056eb70ad 100644 --- a/charts/bpdm/charts/bpdm-gate/templates/_helpers.tpl +++ b/charts/bpdm/charts/bpdm-gate/templates/_helpers.tpl @@ -70,13 +70,13 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if and $pool (not (empty (index $pool "base-url"))) -}} {{- index $pool "base-url" -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- else -}} - {{- printf "%s-bpdm-pool" .Release.Name -}} + {{- print "http://" (printf "%s-bpdm-pool" .Release.Name) ":8080" -}} {{- end -}} {{- end }} diff --git a/charts/bpdm/values.yaml b/charts/bpdm/values.yaml index 628bbc13a..b392709d5 100644 --- a/charts/bpdm/values.yaml +++ b/charts/bpdm/values.yaml @@ -8,9 +8,11 @@ bpdm-gate: tag: "" # ... more configuration for bpdm-gate if need... applicationConfig: - bpdm: - pool: - base-url: "" +# Use this configuration to specify custom base-urls for the bpdm pool and gate. +# Only needed if the automatic default deploy is not used. +# bpdm: +# pool: +# base-url: "" postgres: enabled: false @@ -38,11 +40,13 @@ bpdm-bridge-dummy: pullPolicy: Always tag: "" applicationConfig: - bpdm: - pool: - base-url: "" - gate: - base-url: "" +# Use this configuration to specify custom base-urls for the bpdm pool and gate. +# Only needed if the automatic default deploy is not used. +# bpdm: +# pool: +# base-url: "" +# gate: +# base-url: "" postgres: enabled: false @@ -65,16 +69,11 @@ opensearch: memory: 2Gi config: opensearch.yml: | - # Bind to all interfaces because we don't know what - # IP address Docker will assign to us. network.host: 0.0.0.0 - # Disable security plugins.security.disabled: true securityConfig: enabled: false extraInitContainers: - # Image that performs the sysctl operation to modify Kernel settings - # needed sometimes to avoid boot errors - name: sysctl image: docker.io/bitnami/bitnami-shell:10-debian-10-r199 imagePullPolicy: "IfNotPresent"