Skip to content
Snippets Groups Projects
Verified Commit f381a3ed authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

storage: Fix discrepancy naming in configuration key

This will solve the crashloopbackoff happening in the production cluster for the webapp.

Refs. swh/infra/sysadm-environment#5095
parent 1263aa8c
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ Generate the configuration for a remote storage
{{- $indent := indent (ternary 0 2 (empty $inPipeline)) "" -}}
{{- $storageConfiguration := get .Values .configurationRef -}}
{{- if $inPipeline -}}- {{ end }}cls: remote
{{ $indent }}url: {{ get $storageConfiguration "host" }}
{{ $indent }}url: {{ get $storageConfiguration "url" }}
{{- end -}}
{{/*
......
......@@ -42,14 +42,14 @@ cassandraStorageConfiguration:
# TODO: Use a true read-only storage
localRpcROStorageService:
cls: remote
host: http://storage:5002
url: http://storage:5002
localRpcROStorageConfiguration:
storageConfigurationRef: localRpcROStorageService
remoteStorageConfiguration:
cls: remote
host: http://storage:5002
url: http://storage:5002
storage_replayer:
enabled: true
......
saamStorageConfiguration:
cls: remote
host: http://saam.internal.softwareheritage.org:5002
url: http://saam.internal.softwareheritage.org:5002
remoteStorageConfiguration:
pipelineStepsRef: storagePipelineSteps
......
......@@ -45,7 +45,7 @@ roStoragePipelineSteps:
storage1StorageConfiguration:
cls: remote
host: http://storage1.internal.staging.swh.network:5002
url: http://storage1.internal.staging.swh.network:5002
remoteROStorageConfiguration:
pipelineStepsRef: roStoragePipelineSteps
......
......@@ -6,7 +6,7 @@ remoteStorageConfiguration:
localRpcRWStorageConfiguration:
cls: remote
host: http://storage:5002
url: http://storage:5002
rpcRWStorageConfiguration:
pipelineStepsRef: storagePipelineSteps
......
remoteStorageConfiguration:
cls: remote
url: http://storage1.internal.staging.swh.network:5002
......
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