diff --git a/platform-apps/charts/loki/templates/es-loki.yaml b/platform-apps/charts/loki/templates/es-loki.yaml index f34d09c2..33e90c4c 100644 --- a/platform-apps/charts/loki/templates/es-loki.yaml +++ b/platform-apps/charts/loki/templates/es-loki.yaml @@ -18,7 +18,7 @@ spec: SECRETACCESSKEY: "{{ `{{ .SECRETACCESSKEY }}` }}" ACCESSKEYID: "{{ `{{ .ACCESSKEYID }}` }}" ENDPOINT: "{{ `{{ .ENDPOINT }}` }}" - ACCESSKEYID: "{{ `{{ .ACCESSKEYID }}` }}" + BUCKETNAME: "{{ `{{ .BUCKETNAME }}` }}" data: - secretKey: ACCESSKEYID remoteRef: diff --git a/platform-apps/charts/loki/values-uibklab.yaml b/platform-apps/charts/loki/values-uibklab.yaml index 1c6f46e4..00c8b789 100644 --- a/platform-apps/charts/loki/values-uibklab.yaml +++ b/platform-apps/charts/loki/values-uibklab.yaml @@ -28,7 +28,7 @@ loki: type: s3 s3: s3: null # instead of s3 url we use the attributes below - endpoint: https://"${ENDPOINT}" # IP / Hostname of s3 bucket + endpoint: https://${ENDPOINT} # IP / Hostname of s3 bucket region: us-east-1 # doesn't matter secretAccessKey: "${SECRETACCESSKEY}" accessKeyId: "${ACCESSKEYID}" diff --git a/platform-apps/charts/mimir/templates/es-mimir.yaml b/platform-apps/charts/mimir/templates/es-mimir.yaml index bf4bf5e4..1c8f6746 100644 --- a/platform-apps/charts/mimir/templates/es-mimir.yaml +++ b/platform-apps/charts/mimir/templates/es-mimir.yaml @@ -18,7 +18,7 @@ spec: SECRETACCESSKEY: "{{ `{{ .SECRETACCESSKEY }}` }}" ACCESSKEYID: "{{ `{{ .ACCESSKEYID }}` }}" ENDPOINT: "{{ `{{ .ENDPOINT }}` }}" - ACCESSKEYID: "{{ `{{ .ACCESSKEYID }}` }}" + BUCKETNAME: "{{ `{{ .BUCKETNAME }}` }}" data: - secretKey: ACCESSKEYID remoteRef: @@ -36,4 +36,4 @@ spec: remoteRef: key: sx-cnp-oss-kv/data/observability/s3 property: BUCKETNAME -{{- end }} \ No newline at end of file +{{- end }}