helm/secrets-provider/templates/role.yaml
{{- if .Values.rbac.create -}}
apiVersion: {{ include "conjur.rbac-api" . }}
kind: Role
metadata:
name: {{ .Values.rbac.roleName }}
namespace: {{ .Release.Namespace }}
rules:
- apiGroups: [""]
resources: [ "secrets" ]
verbs: [ "get", "update" ]
{{- end}}