blob: 33bcae82c7369964a64e148a9711c8a6a2216ea6 [file] [log] [blame]
# Copyright 2021-present Open Networking Foundation
# SPDX-License-Identifier: Apache-2.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 }}