Skip to content

Commit

Permalink
Set service account token location
Browse files Browse the repository at this point in the history
  • Loading branch information
SupremeMortal committed Jan 18, 2025
1 parent 7ce0b88 commit 0b92ef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ quarkus.kubernetes.pvc-volumes."storage".claim-name=operator-build-controller
quarkus.kubernetes.mounts."storage".path=/opt/okd/recipes

quarkus.kubernetes.env.vars."BUILD_BRANCH"=build-controller
quarkus.kubernetes.env.vars."XDG_CONFIG_HOME"=/tmp

# Generate Role resource with name "operator-builder"
quarkus.kubernetes.rbac.roles."operator-builder".policy-rules.0.api-groups=extensions,apps,tekton.dev,""
Expand All @@ -40,6 +41,8 @@ quarkus.kubernetes.rbac.role-bindings."operator-builder-binding".subjects."opera
quarkus.kubernetes.rbac.role-bindings."operator-builder-binding".subjects."operator-build-controller".namespace=okd-operator-build
quarkus.kubernetes.rbac.role-bindings."operator-builder-binding".role-name=operator-builder

quarkus.kubernetes-client.token=/var/run/secrets/kubernetes.io/serviceaccount/token

controller.name=${CONTROLLER_NAME:operator-build-controller}
controller.build-repo=${BUILD_REPO:https://github.com/okd-project/okd-operator-pipelines.git}
controller.build-branch=${BUILD_BRANCH:master}
Expand Down

0 comments on commit 0b92ef9

Please sign in to comment.