Açıklama Yok

shuffle-worker-role-binding.yaml 747B

12345678910111213141516171819
  1. {{ if .Values.worker.rbac.create }}
  2. kind: RoleBinding
  3. apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
  4. metadata:
  5. name: {{ template "shuffle.worker.name" . }}
  6. namespace: {{ include "common.names.namespace" . | quote }}
  7. labels: {{- include "shuffle.worker.labels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
  8. {{- if .Values.commonAnnotations }}
  9. annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
  10. {{- end }}
  11. subjects:
  12. - kind: ServiceAccount
  13. name: {{ include "shuffle.worker.serviceAccount.name" . }}
  14. roleRef:
  15. apiGroup: rbac.authorization.k8s.io
  16. kind: Role
  17. name: {{ template "shuffle.worker.name" . }}
  18. {{- end }}