This is an automated email from the ASF dual-hosted git repository. tloubrieu pushed a commit to branch moc_deployment in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit 431eb1dc962129c8758497f37254488259689d67 Author: thomas loubrieu <[email protected]> AuthorDate: Tue Jun 22 11:39:33 2021 -0700 wip: upgrade to run on openshift --- helm/templates/spark-serviceaccount.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/helm/templates/spark-serviceaccount.yml b/helm/templates/spark-serviceaccount.yml new file mode 100644 index 0000000..76a47c7 --- /dev/null +++ b/helm/templates/spark-serviceaccount.yml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: spark-serviceaccount +automountServiceAccountToken: true +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: spark-serviceaccount-role-binding +subjects: +- kind: ServiceAccount + name: spark-serviceaccount +roleRef: + kind: ClusterRole + name: admin + apiGroup: rbac.authorization.k8s.io \ No newline at end of file
