diff --git a/charts/shuffle/templates/orborus-app/orborus-app-network-policy.yaml b/charts/shuffle/templates/shuffle-app/shuffle-app-network-policy.yaml similarity index 100% rename from charts/shuffle/templates/orborus-app/orborus-app-network-policy.yaml rename to charts/shuffle/templates/shuffle-app/shuffle-app-network-policy.yaml diff --git a/charts/shuffle/templates/orborus-app/orborus-app-role-binding.yaml b/charts/shuffle/templates/shuffle-app/shuffle-app-role-binding.yaml similarity index 77% rename from charts/shuffle/templates/orborus-app/orborus-app-role-binding.yaml rename to charts/shuffle/templates/shuffle-app/shuffle-app-role-binding.yaml index 91115fb4..ec369148 100644 --- a/charts/shuffle/templates/orborus-app/orborus-app-role-binding.yaml +++ b/charts/shuffle/templates/shuffle-app/shuffle-app-role-binding.yaml @@ -8,11 +8,9 @@ metadata: {{- if .Values.commonAnnotations }} annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} -# Deployed shuffle apps will use the default service account. There is currently no way to change that. -# https://github.com/Shuffle/Shuffle/pull/1421#issuecomment-2382623260 subjects: - kind: ServiceAccount - name: default + name: {{ include "shuffle.app.serviceAccountName" . }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role diff --git a/charts/shuffle/templates/orborus-app/orborus-app-role.yaml b/charts/shuffle/templates/shuffle-app/shuffle-app-role.yaml similarity index 100% rename from charts/shuffle/templates/orborus-app/orborus-app-role.yaml rename to charts/shuffle/templates/shuffle-app/shuffle-app-role.yaml diff --git a/charts/shuffle/templates/orborus-app/orborus-app-service-account.yaml b/charts/shuffle/templates/shuffle-app/shuffle-app-service-account.yaml similarity index 100% rename from charts/shuffle/templates/orborus-app/orborus-app-service-account.yaml rename to charts/shuffle/templates/shuffle-app/shuffle-app-service-account.yaml diff --git a/charts/shuffle/templates/orborus-worker/orborus-worker-network-policy.yaml b/charts/shuffle/templates/shuffle-worker/shuffle-worker-network-policy.yaml similarity index 100% rename from charts/shuffle/templates/orborus-worker/orborus-worker-network-policy.yaml rename to charts/shuffle/templates/shuffle-worker/shuffle-worker-network-policy.yaml diff --git a/charts/shuffle/templates/orborus-worker/orborus-worker-role-binding.yaml b/charts/shuffle/templates/shuffle-worker/shuffle-worker-role-binding.yaml similarity index 77% rename from charts/shuffle/templates/orborus-worker/orborus-worker-role-binding.yaml rename to charts/shuffle/templates/shuffle-worker/shuffle-worker-role-binding.yaml index 71479700..1e952733 100644 --- a/charts/shuffle/templates/orborus-worker/orborus-worker-role-binding.yaml +++ b/charts/shuffle/templates/shuffle-worker/shuffle-worker-role-binding.yaml @@ -8,11 +8,9 @@ metadata: {{- if .Values.commonAnnotations }} annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} -# Deployed shuffle workers will use the default service account. There is currently no way to change that. -# https://github.com/Shuffle/Shuffle/pull/1421#issuecomment-2382623260 subjects: - kind: ServiceAccount - name: default + name: {{ include "shuffle.worker.serviceAccountName" . }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role diff --git a/charts/shuffle/templates/orborus-worker/orborus-worker-role.yaml b/charts/shuffle/templates/shuffle-worker/shuffle-worker-role.yaml similarity index 100% rename from charts/shuffle/templates/orborus-worker/orborus-worker-role.yaml rename to charts/shuffle/templates/shuffle-worker/shuffle-worker-role.yaml diff --git a/charts/shuffle/templates/orborus-worker/orborus-worker-service-account.yaml b/charts/shuffle/templates/shuffle-worker/shuffle-worker-service-account.yaml similarity index 100% rename from charts/shuffle/templates/orborus-worker/orborus-worker-service-account.yaml rename to charts/shuffle/templates/shuffle-worker/shuffle-worker-service-account.yaml