Skip to content

Commit

Permalink
Templetize annotations in configmap
Browse files Browse the repository at this point in the history
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
  • Loading branch information
faizanahmad055 committed Nov 7, 2018
1 parent b8b55d6 commit 7070638
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7070638

Please sign in to comment.