blob: e123fa54dc60da9b06140b4e3d85a0b406bdcaf3 [file] [log] [blame]
Scott Baker69654392021-09-17 13:50:16 -07001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
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}}