blob: fe7057cc541eaa00aa895fb9e64a36df70def5e4 [file] [log] [blame]
SeanCondon3c3d08f2022-05-27 11:39:58 +01001# SPDX-FileCopyrightText: 2022-present Intel Corporation
2#
3# SPDX-License-Identifier: Apache-2.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}}