Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 1 | # 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" }} |
| 6 | apiVersion: v1 |
| 7 | kind: ConfigMap |
| 8 | metadata: |
| 9 | name: {{ .Release.Name }}-opa-rbac |
| 10 | labels: |
| 11 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 12 | release: "{{ .Release.Name }}" |
| 13 | heritage: "{{ .Release.Service }}" |
| 14 | data: |
| 15 | {{ (.Files.Glob "files/opa-rbac/*.rego").AsConfig | indent 2 }} |
| 16 | {{end}} |