Skip to content

Fix reference to piwik url and site ID in GitLab chart template.

Currently, the way described in the documentation does not create the correct output. When using the following code, as mentioned in the documentation, no values are stored in the gitlab.yml.erb file.

global:
  appConfig:
    extra:
      piwikUrl: "matomo.example.com"
      piwikSiteId: "1"

A workaround with the current codebase would be:

global:
  appConfig:
    extra:
      piwik_url: "-"
      piwik_site_id: "-"
      piwikUrl: "matomo.example.com"
      piwikSiteId: "1"

This MR corrects the IF statements such that they are in line with the documentation.

Merge request reports