cyberark/secrets-provider-for-k8s

View on GitHub
helm/secrets-provider/templates/role-binding.yaml

Summary

Maintainability
Test Coverage
{{- if .Values.rbac.create -}}
apiVersion: {{ include "conjur.rbac-api" . }}
kind: RoleBinding
metadata:
  namespace: {{ .Release.Namespace }}
  name: {{ .Values.rbac.roleBindingName }}
subjects:
  - kind: ServiceAccount
    namespace: {{ .Release.Namespace }}
    name: {{ .Values.rbac.serviceAccount.name }}
roleRef:
  kind: Role
  apiGroup: rbac.authorization.k8s.io
  name: {{ .Values.rbac.roleName }}
{{- end }}