Remove unneeded context in prometheus service annotation

Removes an unused context declaration from the prometheus service
annotation template in helm-toolkit

Change-Id: I118b352d2b5a80fc43f27d7f3f154b61e5406f8c
This commit is contained in:
Steve Wilkerson 2018-01-11 18:03:55 -06:00
parent 2c436f1231
commit 6116e84416

View File

@ -22,7 +22,6 @@ limitations under the License.
{{- define "helm-toolkit.snippets.prometheus_service_annotations" -}}
{{- $endpoint := index . 0 -}}
{{- $context := index . 1 -}}
prometheus.io/scrape: {{ $endpoint.scrape | quote }}
prometheus.io/scheme: {{ $endpoint.scheme.default | quote }}
prometheus.io/path: {{ $endpoint.path.default | quote }}