|
{{ if .Values.appProxy.enabled }}
|
|
|
|
kind: Role
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: {{ include "cf-app-proxy.fullname" . }}
|
|
labels: {{- include "cf-app-proxy.labels" . | nindent 4 }}
|
|
rules:
|
|
- apiGroups: [ "" ]
|
|
resources: [ "secrets" ]
|
|
verbs: [ "get" ]
|
|
|
|
{{end}} |