diff --git a/incubator/redis-exporter/templates/deployment.yaml b/incubator/redis-exporter/templates/deployment.yaml index 2a6287ec78..1a1b4f5af9 100644 --- a/incubator/redis-exporter/templates/deployment.yaml +++ b/incubator/redis-exporter/templates/deployment.yaml @@ -1,7 +1,7 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: - name: {{ template "redis-exporter.fullname" . }} + name: {{ .Release.Name }} labels: app: {{ template "redis-exporter.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} @@ -23,7 +23,7 @@ spec: - containerPort: {{ .Values.service.internalPort }} env: - name: REDIS_ADDR - value: {{ .Values.redisAddress }} + value: {{ .Values.redisAddress }} livenessProbe: httpGet: path: / diff --git a/incubator/redis-exporter/templates/service.yaml b/incubator/redis-exporter/templates/service.yaml index 0c04c48878..1ad7958ec5 100644 --- a/incubator/redis-exporter/templates/service.yaml +++ b/incubator/redis-exporter/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ template "redis-exporter.fullname" . }} + name: {{ .Release.Name }} labels: app: {{ template "redis-exporter.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}