blob: 22bc94b89716ccc793ffdf2be7969fb149dd3ee8 [file] [log] [blame]
Charles Chane1e5e622022-02-16 15:17:05 -08001{{/*
2# Copyright 2020-present Open Networking Foundation
3# SPDX-License-Identifier: Apache-2.0
4*/}}
5
6{{- if .Values.podsecuritypolicy.enabled }}
7apiVersion: rbac.authorization.k8s.io/v1
8kind: ClusterRole
9metadata:
10 name: psp:upf
11rules:
12- apiGroups: ['policy']
13 resources: ['podsecuritypolicies']
14 verbs: ['use']
15 resourceNames:
16 - 1-upf
17{{- end }}