You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 19, 2026. It is now read-only.
We need to extend our custom client to sign images from inside a build pod:
Use env vars KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT
Use token from /var/run/secrets/kubernetes.io/serviceaccount/token
Use CA from /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
Use namespace /var/run/secrets/kubernetes.io/serviceaccount/namespace
Our openshift client is a custom client. It would be much better to use the upstream k8s client. This shouldn't significantly increase the size of the project.
I would dearly love to get rid of those 1000 lines; but using the OpenShift client did increase the size of the binary, by at least 50 MB if I remember correctly.
(That was an OpenShift client, using the OpenShift object types for the images etc, not a k8s client, though; perhaps that is something else entirely. It has also been more than 6 months since the original work, things might have changed.)
Activity
mtrmac commentedon Jan 7, 2017
I would dearly love to get rid of those 1000 lines; but using the OpenShift client did increase the size of the binary, by at least 50 MB if I remember correctly.
(That was an OpenShift client, using the OpenShift object types for the images etc, not a k8s client, though; perhaps that is something else entirely. It has also been more than 6 months since the original work, things might have changed.)
aweiteka commentedon Jan 12, 2017
Basic testing looks like using the k8s go-client adds 45MB.
Merge pull request containers#188 from runcom/vendor-image-spec
rhatdan commentedon Apr 25, 2019
@aweiteka @mtrmac @vrothberg What is the state of this issue. It is two years old, can we close it?
vrothberg commentedon Apr 25, 2019
Let's close it. Feel free to reopen if the issue gets revived.