File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
charts/prometheus-federator/templates Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22apiVersion : apps/v1
33kind : Deployment
44metadata :
5- name : prometheus-federator-helm-controller
5+ name : {{ template " prometheus-federator.name" . }} -helm-controller
66 namespace : {{ template "prometheus-federator.namespace" . }}
77 labels :
8- app : prometheus-federator-helm-controller
8+ app : {{ template " prometheus-federator.name" . }} -helm-controller
99spec :
1010 replicas : {{ .Values.helmController.deployment.replicas }}
1111 selector :
1212 matchLabels :
13- app : prometheus-federator-helm-controller
13+ app : {{ template " prometheus-federator.name" . }} -helm-controller
1414 template :
1515 metadata :
1616 labels :
17- app : prometheus-federator-helm-controller
17+ app : {{ template " prometheus-federator.name" . }} -helm-controller
1818 spec :
1919 # has to match cluster-admin service account
20- serviceAccountName : prometheus-federator-helm-controller
20+ serviceAccountName : {{ template " prometheus-federator.name" . }} -helm-controller
2121 containers :
2222 - name : helm-controller
2323 image : {{ template "helm-controller.imageRegistry" . }} {{ .Values.helmController.deployment.image.repository }}:{{ .Values.helmController.deployment.image.tag }}
3333 fieldPath : spec.serviceAccountName
3434 # this sets the `managedBy` annotations, must match the ones in prometheus-federator
3535 - name : CONTROLLER_NAME
36- value : {{ template "prometheus-federator.name" . }}
36+ value : {{ template "prometheus-federator.name" . }}-helm-controller
3737 # this sets the `systemNamespace` for the helm-controller to watch, should match the one in prometheus-federator
3838 - name : NAMESPACE
3939 value : {{ template "prometheus-federator.namespace" . }}
You can’t perform that action at this time.
0 commit comments