Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
Helm charts for swh packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Infrastructure
CI CD
Helm charts for swh packages
Commits
53bac30d
Verified
Commit
53bac30d
authored
2 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
Add redis configuration to storage replayer configmap
Refs.
swh/infra/sysadm-environment#4809
parent
3858d97e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
swh/templates/storage-replayer/configmap.yaml
+8
-0
8 additions, 0 deletions
swh/templates/storage-replayer/configmap.yaml
swh/values.yaml
+7
-0
7 additions, 0 deletions
swh/values.yaml
swh/values/staging-cassandra.yaml
+4
-0
4 additions, 0 deletions
swh/values/staging-cassandra.yaml
with
19 additions
and
0 deletions
swh/templates/storage-replayer/configmap.yaml
+
8
−
0
View file @
53bac30d
{{
if .Values.storage_replayer.enabled -
}}
{{
- $error_reporter
:
= .Values.storage_replayer.error_reporter
}}
{{
- range $deployment
,
$deployment_config
:
= .Values.storage_replayer.deployments -
}}
---
apiVersion
:
v1
...
...
@@ -43,5 +44,12 @@ data:
{{- range $object := get $deployment_config "objects" }}
- {{ $object }}
{{- end }}
{{- if $error_reporter }}
replayer:
error_reporter:
{{- range $option, $value := $error_reporter }}
{{ $option }}: {{ $value }}
{{- end }}
{{- end }}
{{
end
}}
{{
- end -
}}
This diff is collapsed.
Click to expand it.
swh/values.yaml
+
7
−
0
View file @
53bac30d
...
...
@@ -83,6 +83,13 @@ storage_replayer:
-
seed2
keySpace
:
swh
consistencyLevel
:
LOCAL_QUORUM
# optional 'replayer' configuration may be specified with a 'error_reporter' config
# entry allowing to specify redis connection parameters. It will be used to report
# non-recoverable replaying issues
# error_reporter:
# host: redis.redis
# port: 6379
# db: 1
deployments
:
# Example of deployments
# origins:
...
...
This diff is collapsed.
Click to expand it.
swh/values/staging-cassandra.yaml
+
4
−
0
View file @
53bac30d
...
...
@@ -25,6 +25,10 @@ storage_replayer:
-
cassandra1.internal.staging.swh.network
-
cassandra2.internal.staging.swh.network
-
cassandra3.internal.staging.swh.network
error_reporter
:
host
:
redis.redis
port
:
6379
db
:
1
deployments
:
content
:
objects
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment