blob: 7cdf89f10f5ce391b5eac785214bce7148dbf0b9 [file] [log] [blame]
Scott Baker69654392021-09-17 13:50:16 -07001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
2#
Sean Condon160ec1d2022-02-08 12:58:25 +00003# SPDX-License-Identifier: Apache-2.0
Scott Baker69654392021-09-17 13:50:16 -07004
5{{ if ".Values.onos-config.openpolicyagent.enabled" }}
6apiVersion: v1
7kind: ConfigMap
8metadata:
9 name: {{ .Release.Name }}-opa-rbac
10 labels:
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14data:
15{{ (.Files.Glob "files/opa-rbac/*.rego").AsConfig | indent 2 }}
16{{end}}