Skip to content

Instantly share code, notes, and snippets.

@viglesiasce
Created February 7, 2019 20:45
Show Gist options
  • Save viglesiasce/b069fdae8f7ba373a02f45834e2c1362 to your computer and use it in GitHub Desktop.
Save viglesiasce/b069fdae8f7ba373a02f45834e2c1362 to your computer and use it in GitHub Desktop.
{{- define "gitlab.appConfig.extra" -}}
extra:
+ {{ if .extra.googleAnalyticsId }}
google_analytics_id: {{ .extra.googleAnalyticsId | quote }}
+ {{- end }}
+ {{ if .extra.piwik_url }}
piwik_url: {{ .extra.piwikUrl | quote }}
+ {{- end }}
+ {{ if .extra.piwik_site_id }}
piwik_site_id: {{ .extra.piwikSiteId | quote }}
+ {{- end }}
{{- end -}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment