blob: 123f3e5b2e567f8c3470b87d5205ffc170344eea [file] [log] [blame]
Yi Tseng17657892021-10-11 16:04:59 -07001# Copyright 2021-present Open Networking Foundation
2# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
3---
4apiVersion: v1
5kind: ConfigMap
6metadata:
7 name: "{{ template "int-host-reporter.fullname" . }}"
8 labels:
9 app: int-host-reporter
10 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
11 release: "{{ .Release.Name }}"
12 heritage: "{{ .Release.Service }}"
13data:
14 watchlist.yaml: |
15 rules:
16 {{- if .Values.intWatchlistRules }}
17 {{- range .Values.intWatchlistRules }}
18 - protocol: "{{ .protocol }}"
19 src-addr: "{{ .srcAddr }}"
20 dst-addr: "{{ .dstAddr }}"
21 {{- end }}
22 {{- end }}