Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [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 |
Amit Wankhede | 3d0bc58 | 2021-10-18 22:28:50 +0530 | [diff] [blame] | 4 | |
| 5 | apiVersion: config.onosproject.org/v1beta1 |
| 6 | kind: Model |
| 7 | metadata: |
| 8 | name: {{ template "plproxy.fullname" . }} |
| 9 | namespace: {{ .Release.Namespace }} |
| 10 | labels: |
| 11 | {{- include "plproxy.labels" . | nindent 4 }} |
| 12 | spec: |
| 13 | plugin: |
| 14 | type: PLProxy |
| 15 | version: {{ .Chart.AppVersion | quote }} |
| 16 | modules: |
| 17 | - name: plproxy-service |
| 18 | organization: Open Networking Foundation |
| 19 | revision: 2021-09-24 |
| 20 | file: prom-label-proxy.yang |
| 21 | files: |
| 22 | {{- range $path, $_ := $.Files.Glob "files/yang/*.yang" }} |
| 23 | {{ base $path }}: | |
| 24 | {{ $.Files.Get $path | indent 6 }} |
| 25 | {{- end }} |