Fix invalid kamonTags setting (#658)
* Update invoker-pod.yaml
* Update invoker-pod.yaml
* Update invoker-pod.yaml
* Update controller-pod.yaml
diff --git a/helm/openwhisk/templates/controller-pod.yaml b/helm/openwhisk/templates/controller-pod.yaml
index f40180d..28a9756 100644
--- a/helm/openwhisk/templates/controller-pod.yaml
+++ b/helm/openwhisk/templates/controller-pod.yaml
@@ -178,7 +178,7 @@
- name: "METRICS_KAMON"
value: "true"
{{ end }}
-{{ if or .Values.metrics.kamonTags .Values.metrics.prometheusEnabled }}
+{{ if .Values.metrics.kamonTags }}
- name: "METRICS_KAMON_TAGS"
value: "true"
{{ end }}
diff --git a/helm/openwhisk/templates/invoker-pod.yaml b/helm/openwhisk/templates/invoker-pod.yaml
index 04180fd..dbb8028 100644
--- a/helm/openwhisk/templates/invoker-pod.yaml
+++ b/helm/openwhisk/templates/invoker-pod.yaml
@@ -181,7 +181,7 @@
- name: "METRICS_KAMON"
value: "true"
{{ end }}
-{{ if and .Values.metrics.kamonTags .Values.metrics.prometheusEnabled }}
+{{ if .Values.metrics.kamonTags }}
- name: "METRICS_KAMON_TAGS"
value: "true"
{{ end }}