From 4a4892c9ba4d680f2e9f3e67b3d2998fb281599a Mon Sep 17 00:00:00 2001 From: Jonathan Christison Date: Mon, 26 Jun 2023 16:58:00 +0100 Subject: [PATCH] Remove service account declartion in application properties This didn't work, altered RBAC to bind to osh SA instead --- k8s/stage/app/tekton-rbac.yaml | 2 +- src/main/resources/application.properties | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/stage/app/tekton-rbac.yaml b/k8s/stage/app/tekton-rbac.yaml index a6d90a7..e989543 100644 --- a/k8s/stage/app/tekton-rbac.yaml +++ b/k8s/stage/app/tekton-rbac.yaml @@ -28,4 +28,4 @@ roleRef: name: osh-wrapper-tekton subjects: - kind: ServiceAccount - name: osh-wrapper-client-sa + name: osh diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 74c979f..c54769a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -25,7 +25,6 @@ %stage.quarkus.openshift.labels.env=stage %stage.quarkus.log.level=DEBUG -%stage.quarkus.kubernetes.service-account=osh-wrapper-client-sa #Only in Quarkus > 3.x %stage.quarkus.openshift.route.tls.termination=edge #As we cant create a edge terminated route (quarkus <3.x) lets disable route creation for now