blob: 7cdf89f10f5ce391b5eac785214bce7148dbf0b9 [file] [log] [blame]
# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.0
{{ if ".Values.onos-config.openpolicyagent.enabled" }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-opa-rbac
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
data:
{{ (.Files.Glob "files/opa-rbac/*.rego").AsConfig | indent 2 }}
{{end}}