getsentry / sentry-infra-tools

An attempt to move senytry-kube to its own repository
1 stars 0 forks source link

feat: Allow region overrides in service path #28

Closed rgibert closed 2 weeks ago

rgibert commented 3 weeks ago

This adds a new lookup for regional overrides in services/${service}/region_overrides/${region}/${cluster_name}.yaml. The intent is for this to ultimately replace the clusters/${cluster}/default.yaml service overrides so that they are more clearly broken out and easier to find. Also allows a more natural splitting out of service files rather than using the include workaround we're currently using.

The current order of variables getting loaded is:

  1. services/${service}_values.yaml
  2. services/${service}/region_overrides/${region}/${cluster_name}.yaml
  3. clusters/${cluster}/${cluster_name}.yaml

This is a backport of https://github.com/getsentry/ops/pull/11548

nikhars commented 2 weeks ago

Doing a mass sync of changes from the ops repo to sentry infra tools. These changes are being handled by the mass sync.