blob: 33bcae82c7369964a64e148a9711c8a6a2216ea6 [file] [log] [blame]
Yi Tseng17657892021-10-11 16:04:59 -07001# Copyright 2021-present Open Networking Foundation
Charles Chand1b4bf92022-02-02 16:27:10 -08002# SPDX-License-Identifier: Apache-2.0
Yi Tseng17657892021-10-11 16:04:59 -07003---
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 }}