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 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/

dang moved this task from Backlog to Doing on the Wikibase.cloud board.
Addshore moved this task from Doing to Backlog on the Wikibase.cloud board.
Addshore added a subscriber: dang.