diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 39527fe..5aa975c 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -75,7 +75,7 @@ spec: serviceAccountName: {{ include "cf-service-operator.fullname" . }} automountServiceAccountToken: true containers: - - name: controller + - name: {{ include "cf-service-operator.name" . }} image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }} imagePullPolicy: {{ .Values.image.pullPolicy }} ports: diff --git a/chart/templates/service.yaml b/chart/templates/service.yaml index 8da8682..53930dc 100644 --- a/chart/templates/service.yaml +++ b/chart/templates/service.yaml @@ -11,5 +11,9 @@ spec: protocol: TCP targetPort: webhooks name: https + - name: metrics + port: 8080 + protocol: TCP + targetPort: metrics selector: - {{- include "cf-service-operator.selectorLabels" . | nindent 4 }} \ No newline at end of file + {{- include "cf-service-operator.selectorLabels" . | nindent 4 }}