Yi Tseng | 1765789 | 2021-10-11 16:04:59 -0700 | [diff] [blame] | 1 | # Copyright 2021-present Open Networking Foundation |
Charles Chan | d1b4bf9 | 2022-02-02 16:27:10 -0800 | [diff] [blame] | 2 | # SPDX-License-Identifier: Apache-2.0 |
Yi Tseng | 1765789 | 2021-10-11 16:04:59 -0700 | [diff] [blame] | 3 | --- |
| 4 | apiVersion: v1 |
| 5 | kind: ConfigMap |
| 6 | metadata: |
| 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 }}" |
| 13 | data: |
| 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 }} |