Re: Using secrets in build-hook

2020-10-13 Thread Ben Parees
On Tue, Oct 13, 2020 at 8:02 AM Russ Krichevskiy wrote: > Ok. Out of curiosity, is there a way to add an arbitrary secret to SA and > mount it along with other secrets? Builder token seems to be mounted with > permissions that would allow me to retrieve it: > I do not believe so > > sh-4.2# ls

Re: Using secrets in build-hook

2020-10-13 Thread Russ Krichevskiy
Ok. Out of curiosity, is there a way to add an arbitrary secret to SA and mount it along with other secrets? Builder token seems to be mounted with permissions that would allow me to retrieve it: sh-4.2# ls -lH /var/run/secrets/kubernetes.io/serviceaccount/token -rw-r--r--. 1 root 100073 897 O