blob: fe7057cc541eaa00aa895fb9e64a36df70def5e4 [file] [log] [blame]
# SPDX-FileCopyrightText: 2022-present Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
{{ if ".Values.onos-config.openpolicyagent.enabled" }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-opa-rbac
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
data:
{{ (.Files.Glob "files/opa-rbac/*.rego").AsConfig | indent 2 }}
{{end}}