rancher-partner-charts/charts/prophetstor/federatorai/templates/federatorai-rest/rolebindings.yaml

25 lines
712 B
YAML
Raw Normal View History

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
{{- if .Values.global.commonAnnotations }}
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
{{- end }}
labels:
{{- if .Values.global.commonLabels }}
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
{{- end }}
app.kubernetes.io/part-of: federatorai
app: alameda
name: federatorai-rest
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: federatorai-rest
subjects:
- kind: ServiceAccount
name: federatorai-rest
namespace: {{ .Release.Namespace }}