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