io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..

GitHub | stephanosbacon | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error trying to run new build forge command

    GitHub | 6 months ago | stephanosbacon
    io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..

    Root Cause Analysis

    1. io.fabric8.kubernetes.client.KubernetesClientException

      Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..

      at io.fabric8.kubernetes.api.Controller.onApplyError()
    2. Fabric8 :: Kubernetes Client API
      Controller.applyBuildConfig
      1. io.fabric8.kubernetes.api.Controller.onApplyError(Controller.java:1284)
      2. io.fabric8.kubernetes.api.Controller.doCreateBuildConfig(Controller.java:834)
      3. io.fabric8.kubernetes.api.Controller.applyBuildConfig(Controller.java:822)
      3 frames
    3. io.fabric8.forge
      NewBuildCommand.execute
      1. io.fabric8.forge.devops.NewBuildCommand.execute(NewBuildCommand.java:132)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Furnace - Proxy Utilities
      ClassLoaderInterceptor$1.call
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      1 frame
    6. Furnace - Runtime API
      ClassLoaders.executeIn
      1. org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      1 frame
    7. Furnace - Proxy Utilities
      ClassLoaderInterceptor.invoke
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      1 frame