UNCLASSIFIED - NO CUI

Skip to content

Add Ability to Disable Gravatar

Feature Request

Why

During an audit, my team observed the Gravatar service entry. We do not make use of this feature and do not want to "whitelist" any traffic to the Gravatar endpoints. We have the ability to delete the service entry with a post renderer, but it would be nice if it could be disabled natively through the chart.

Proposed Solution

I'd recommend adding a global.appConfig.gravatar.enabled parameter to the chart's values.yaml file and defaulting it to true.

Then this parameter can be used to determine whether or not the Gravtar setting will be adding to the following ConfigMaps:

  • /chart/charts/gitlab/charts/geo-logcursor/templates/configmap.yml
  • /chart/charts/gitlab/charts/sidekiq/templates/configmap.yaml
  • /chart/charts/gitlab/charts/webservice/templates/configmap.yml

It can also be added to the Gravatar service entry (/chart/templates/bigbang/serviceentries/gravatarServiceEntry.yaml) to control its creation altogether.

By defaulting this new parameter to true, it will not change the default behavior of this chart.