Skip to content
Snippets Groups Projects
Commit edfb1ea5 authored by Yurii Pelykh [EPAM / GCP]'s avatar Yurii Pelykh [EPAM / GCP] Committed by Oleksandr Kosse (EPAM)
Browse files

GONRG-6573: File service always use https s3 endpoint

parent e20b4d17
No related branches found
No related tags found
1 merge request!355GONRG-6573: File service always use https s3 endpoint
......@@ -391,8 +391,8 @@ The following software have components provided under the terms of this license:
- Google APIs Client Library for Java (from https://repo1.maven.org/maven2/com/google/api-client/google-api-client)
- Google App Engine extensions to the Google HTTP Client Library for Java. (from https://repo1.maven.org/maven2/com/google/http-client/google-http-client-appengine)
- Google Cloud Core (from https://github.com/googleapis/google-cloud-java, https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core, https://github.com/googleapis/java-core)
- Google Cloud Core HTTP (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http, https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http, https://github.com/googleapis/java-core)
- Google Cloud Core gRPC (from https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc, https://github.com/googleapis/java-core)
- Google Cloud Core HTTP (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http, https://github.com/googleapis/google-cloud-java, https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http, https://github.com/googleapis/java-core)
- Google Cloud Core gRPC (from https://github.com/googleapis/google-cloud-java, https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc, https://github.com/googleapis/java-core)
- Google Cloud Datastore (from https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-datastore, https://github.com/googleapis/java-datastore)
- Google Cloud IAM Service Account Credentials (from https://github.com/googleapis/google-cloud-java, https://github.com/googleapis/java-iamcredentials)
- Google Cloud Logging (from https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-logging, https://github.com/googleapis/java-logging)
......
......@@ -129,6 +129,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**conf.domain** | your domain | string | - | yes
**conf.onPremEnabled** | whether on-prem is enabled | boolean | false | yes
**conf.secret** | secret for postgres | string | partition-postgres-secret | yes
**conf.domainTlsEnabled** | whether TLS is enabled in domain - defines whether to use HTTPS instead of HTTP for connection to the minio s3 endpoint | boolean | true | yes
**auth.realm** | realm in keycloak | string | osdu | yes
### ISTIO variables
......
......@@ -14,8 +14,12 @@ data:
DOMAIN: "{{ .Values.conf.domain }}"
BUCKET_PREFIX: {{ .Values.data.bucketPrefix | quote }}
MINIO_ENDPOINT: {{ default "http://minio:9000" .Values.data.minioExternalEndpoint | quote }}
{{- if .Values.conf.domainTlsEnabled }}
FILE_MINIO_ENDPOINT: {{ default (printf "https://s3.%s" .Values.conf.domain) .Values.data.minioExternalEndpoint | quote }}
{{- else }}
FILE_MINIO_ENDPOINT: {{ default (printf "http://s3.%s" .Values.conf.domain) .Values.data.minioExternalEndpoint | quote }}
{{- end }}
{{- else }}
{{- if .Values.data.dataProjectId }}
PROJECT_ID: "{{ .Values.data.dataProjectId }}"
{{- else }}
......
......@@ -27,6 +27,7 @@ conf:
domain: ""
onPremEnabled: false
secret: "partition-postgres-secret"
domainTlsEnabled: true
auth:
realm: "osdu"
istio:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment