Add INT host reporter chart
Also modified the following
- image pull secrets, use the same way like other charts
- use generated fully qualified name
Change-Id: I4c00d9aa5786a15f2d1080e71e97710c49307de8
diff --git a/int-host-reporter/templates/configmap-watchlist.yaml b/int-host-reporter/templates/configmap-watchlist.yaml
new file mode 100644
index 0000000..123f3e5
--- /dev/null
+++ b/int-host-reporter/templates/configmap-watchlist.yaml
@@ -0,0 +1,22 @@
+# Copyright 2021-present Open Networking Foundation
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: "{{ template "int-host-reporter.fullname" . }}"
+ labels:
+ app: int-host-reporter
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ release: "{{ .Release.Name }}"
+ heritage: "{{ .Release.Service }}"
+data:
+ watchlist.yaml: |
+ rules:
+ {{- if .Values.intWatchlistRules }}
+ {{- range .Values.intWatchlistRules }}
+ - protocol: "{{ .protocol }}"
+ src-addr: "{{ .srcAddr }}"
+ dst-addr: "{{ .dstAddr }}"
+ {{- end }}
+ {{- end }}
\ No newline at end of file