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
Merge requests
!42
swh: add storage service
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
swh: add storage service
4811_swh_storage
into
staging
Overview
10
Commits
4
Pipelines
0
Changes
11
Closed
Guillaume Samson
requested to merge
4811_swh_storage
into
staging
1 year ago
Overview
10
Commits
4
Pipelines
0
Changes
11
Expand
Related to
swh/infra/sysadm-environment#4811 (closed)
0
0
Merge request reports
Compare
staging
version 7
ef2eb66a
1 year ago
version 6
2ebb31eb
1 year ago
version 5
49e41573
1 year ago
version 4
f907c20e
1 year ago
version 3
b0a05c85
1 year ago
version 2
5dafed7f
1 year ago
version 1
0e7b1df6
1 year ago
staging (base)
and
latest version
latest version
e40118b8
4 commits,
1 year ago
version 7
ef2eb66a
4 commits,
1 year ago
version 6
2ebb31eb
4 commits,
1 year ago
version 5
49e41573
3 commits,
1 year ago
version 4
f907c20e
2 commits,
1 year ago
version 3
b0a05c85
2 commits,
1 year ago
version 2
5dafed7f
2 commits,
1 year ago
version 1
0e7b1df6
2 commits,
1 year ago
11 files
+
461
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
swh/templates/storage/configmap.yaml
0 → 100644
+
29
−
0
Options
{{
if .Values.storage.enabled -
}}
---
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
namespace
:
{{
.Values.namespace
}}
name
:
storage-configuration-template
data
:
config.yml.template
:
|
storage:
cls: {{ .Values.storage.storageClass }}
{{- if eq .Values.storage.storageClass "cassandra" }}
hosts:
{{- range $seed := .Values.storage.cassandra.seeds }}
- {{ $seed }}
{{- end }}
keyspace: {{ .Values.storage.cassandra.keySpace }}
consistency_level: {{ .Values.storage.cassandra.consistencyLevel }}
{{- else if eq .Values.storage.storageClass "postgresql" }}
db: host={{ .Values.storage.postgresql.host }} port={{ .Values.storage.postgresql.port | default "5432" }} user={{ .Values.storage.postgresql.user | default "guest" }} dbname={{ .Values.storage.postgresql.db | default "swh" }} password=${POSTGRESQL_PASSWORD}
{{- end }}
{{- if .Values.storage.specific_options -}}
{{- range $option, $value := .Values.storage.specific_options }}
{{ $option }}: {{ $value }}
{{- end }}
{{- end }}
objstorage:
{{- toYaml .Values.storage.objstorage | nindent 8 }}
{{
- end -
}}
Loading