Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
Sean Condon | 160ec1d | 2022-02-08 12:58:25 +0000 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 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}} |