q-shift / backstage-playground

2 stars 8 forks source link

SERVICE_ACCOUNT_TOKEN env var of the app config qshift template is not set #182

Closed cmoulliard closed 1 month ago

cmoulliard commented 1 month ago

Issue

TheSERVICE_ACCOUNT_TOKEN env var of the app config qshift template is not set as the bash script use as env var

KUBERNETES_TOKEN

and by consequence the following property is empty

kubernetes:
  serviceLocatorMethod:
    type: 'multiTenant'
  clusterLocatorMethods:
    - type: 'config'
      clusters:
        - url: https://api.qshift.snowdrop.dev:6443 # For in-cluster use: https://kubernetes.default.svc
          name: ocp-qshift
          authProvider: 'serviceAccount'
          skipTLSVerify: true
          skipMetricsLookup: true
          serviceAccountToken: <<<<< EMPTY

FYI: @iocanel

cmoulliard commented 1 month ago

That works now locally Screenshot 2024-10-01 at 19 08 14