Page MenuHomePhabricator

Consider defining service names in some shared place
Open, LowPublic1 Estimated Story Points

Description

Right now service names/addresses like sql-mariadb-secondary.default.svc.cluster.local in our values files.
This means the same string is repeated in multiple places.
We may want to read these from a shared place.
We should consider the pros and cons, and see what this would look like.

This probably also involves the investigation of base layers for our helmfile, that we don't use yet.

https://github.com/roboll/helmfile

#
# Advanced Configuration: Layering
#
# Helmfile merges all the "base" state files and this state file before processing.
#
# Assuming this state file is named `helmfile.yaml`, all the files are merged in the order of:
#   environments.yaml <- defaults.yaml <- templates.yaml <- helmfile.yaml
bases:
- environments.yaml
- defaults.yaml
- templates.yaml

AC

  • Service names / addresses are read from a shared place and not duplicated across environments

Event Timeline

Addshore moved this task from Backlog (incoming) to Ready to Pick Up on the Wikibase Cloud board.
Addshore set the point value for this task to 1.
Addshore updated the task description. (Show Details)

Another alternative is a chart to compose these other charts together. See: https://helm.sh/docs/chart_template_guide/subcharts_and_globals/

Addshore moved this task from Doing to Backlog (incoming) on the Wikibase Cloud board.
Addshore added a subscriber: dang.