Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 557a77f

Browse files
committed
Authorize build image
1 parent 8888216 commit 557a77f

File tree

2 files changed

+2
-0
lines changed
  • integrateion-test/src/sbt-test/bootstrap-demo

2 files changed

+2
-0
lines changed

integrateion-test/src/sbt-test/bootstrap-demo/dns-kubernetes/build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ lazy val root = (project in file("."))
5656
} else {
5757
// work around: /rp-start: line 60: /opt/docker/bin/bootstrap-kapi-demo: Permission denied
5858
Process(s"$kubectl adm policy add-scc-to-user anyuid -z default").!(s.log)
59+
Process(s"$kubectl policy add-role-to-user system:image-builder system:serviceaccount:reactivelibtest1:default").!(s.log)
5960

6061
Process(s"docker tag $nm:$v docker-registry-default.centralpark.lightbend.com/reactivelibtest1/$nm:$v").!(s.log)
6162
Process(s"docker push docker-registry-default.centralpark.lightbend.com/reactivelibtest1/$nm").!(s.log)

integrateion-test/src/sbt-test/bootstrap-demo/kubernetes-api/build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ lazy val root = (project in file("."))
5757
Process(s"$kubectl apply -f kubernetes/rbac.yml").!(s.log)
5858
// work around: /rp-start: line 60: /opt/docker/bin/bootstrap-kapi-demo: Permission denied
5959
Process(s"$kubectl adm policy add-scc-to-user anyuid -z default").!(s.log)
60+
Process(s"$kubectl policy add-role-to-user system:image-builder system:serviceaccount:reactivelibtest1:default").!(s.log)
6061

6162
Process(s"docker tag $nm:$v docker-registry-default.centralpark.lightbend.com/reactivelibtest1/$nm:$v").!(s.log)
6263
Process(s"docker push docker-registry-default.centralpark.lightbend.com/reactivelibtest1/$nm").!(s.log)

0 commit comments

Comments
 (0)