diff --git a/deployments/kubernetes/chart/ingressmonitorcontroller/templates/configmap.yaml b/deployments/kubernetes/chart/ingressmonitorcontroller/templates/configmap.yaml index de46f570..4f4d44a4 100644 --- a/deployments/kubernetes/chart/ingressmonitorcontroller/templates/configmap.yaml +++ b/deployments/kubernetes/chart/ingressmonitorcontroller/templates/configmap.yaml @@ -7,7 +7,9 @@ metadata: name: {{ template "name" . }} {{- end }} annotations: - fabric8.io/target-platform: kubernetes +{{- if .Values.ingressMonitorController.config.annotations }} +{{ toYaml .Values.ingressMonitorController.config.annotations | indent 4 }} +{{- end }} labels: app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" diff --git a/deployments/kubernetes/chart/ingressmonitorcontroller/values.yaml b/deployments/kubernetes/chart/ingressmonitorcontroller/values.yaml index d2a68d46..b4f6c867 100644 --- a/deployments/kubernetes/chart/ingressmonitorcontroller/values.yaml +++ b/deployments/kubernetes/chart/ingressmonitorcontroller/values.yaml @@ -17,6 +17,8 @@ ingressMonitorController: config: labels: version: 1.0.46 + annotations: + fabric8.io/target-platform: kubernetes rbac: create: true # Service account config for the agent pods