Oskar Jagodziński

Results 11 comments of Oskar Jagodziński

@VikasChoata88 yup, all .*Builder classes got removed - https://javadoc.io/static/io.kubernetes/client-java-api/12.0.2/allclasses-noframe.html - https://javadoc.io/static/io.kubernetes/client-java-api/14.0.1/allclasses-noframe.html something like: ``` - new V1ObjectMetaBuilder() - .withAnnotations([(K8sMetadataFactory.SOME_LABEL): "0.0.1"]) - .build() + new V1ObjectMeta() + .annotations([(K8sMetadataFactory.SOME_LABEL): "0.0.1"]) ``` should...

> We recently changed the object store for Octant to require the minimum of being able to Watch a resource. Is there any example of working read-only role (except secrets)...

Same here, when service account have only access to get,list,watch on everything excepts secrets on every namespace listing anything works only on default namespace. It was working fine one version...

> @ojagodzinski The build is failing, how can it fixed? See below output of Travis. The package build succeeds now. > > ``` > $ goveralls -coverprofile=coverage/gover.coverprofile -service travis-ci >...

> I don't understand why the test is failing, it works on my computer (after pulling the latest changes). There is no setup needed, I think. There is a problem...

> Refactor all other tests for ids, to make sure that each id has more than 36 characters. But that is only reasonable when we are sure there is no...

Are You running this command from inside of the running POD? In `/var/run/secrets/kubernetes.io/serviceaccount/` should be default serviceaccount data as K8S documentation states: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod

error: > 2020/07/14 05:43:55 error getting services to register: unable create K8S API client: couldn't initialize client: open /var/run/secrets/kubernetes.io/serviceaccount/namespace: no such file or directory Has nothing to do with environment...

``` 2020/07/14 18:01:05 unable to get pod data from API: unable to get pod data from API: kubernetes api: Failure 403 pods "pod-with-consul-hook" is forbidden: User "system:serviceaccount:default:default" cannot get resource...

> When I try to run same command from inside the POD, Service is registered. So everything works, hook should be executed from inside of the POD.