blob: 123f3e5b2e567f8c3470b87d5205ffc170344eea [file] [log] [blame]
# 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 }}