Skip to content
Snippets Groups Projects

swh/cassandra: update storage configuration

Merged Guillaume Samson requested to merge cassandra_objstorage_config into production
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
25 25 {{- end }}
26 26 {{- end }}
27 27 objstorage:
28 {{- toYaml .Values.storage.objstorage | nindent 8 }}
28 cls: {{ .Values.storage.objstorageClass }}
29 {{- if eq .Values.storage.objstorageClass "filtered" }}
30 {{- toYaml .Values.storage.objstorageConfig | nindent 8 }}
31 {{- else if eq .Values.storage.objstorageClass "multiplexer" }}
32 objstorages:
33 {{ .Values.storage.objstorageConfig }}
  • no further indentation needed here (the first one does an 'nindent 8')?

  • No, the objstorageConfig is imported from a secret and contains several lines. The indentation has to be defined in the secret otherwise only the first line is indented and the deployment fails. It's ugly but it allows to deploy a more complex configuration.

  • Please register or sign in to reply
  • Antoine R. Dumont approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading