Red Daly
Red Daly
I tried installing controller-gen with this: ```shell go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest ``` Which results in a new error: ``` Error: unable to parse option "crd:maxDescLen=0,trivialVersions=true": [unknown argument "trivialVersions" (at :1:29) extra...
It seems the `trivialVersions` argument is no longer supported by `controller-gen` as of https://github.com/kubernetes-sigs/controller-tools/commit/09f1952580d4e40a3aab8b1c4f6bfc8de3ae0b0b.
Installing a historical version of controller-gen avoids the above error: ```shell go install sigs.k8s.io/controller-tools/cmd/[email protected] ``` but introduces a new one: ``` /home/red/go/bin/controller-gen "crd:maxDescLen=0,trivialVersions=true" rbac:roleName=manager-role webhook paths="./api/v1beta1/..." output:crd:artifacts:config=config/crd/bases SideEffects is required...
Thanks for the link. I suppose what I'm looking for is a guide to a reproducible build for code that involves Go with or without C/C++ dependencies. 1) I can't...
Please take a look at https://github.com/gonzojive/rules-go-cgo-glibc. On ubuntu 18.04, the output is ``` sha256sum bazel-out/k8-fastbuild/bin/program_/program: d008634d2a4cee180ce1ab47a0ad5274964e76631590294ac72297746a95f5ff bazel-out/k8-fastbuild/bin/program_/program =========================== ldd --verbose bazel-out/k8-fastbuild/bin/program_/program: linux-vdso.so.1 (0x00007ffe94923000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2d203bb000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0...
I'm guessing there's a way to set it up so that a WORKSPACE-supplied gcc is used to make the build reproducible. It seems pretty complicated to accomplish that, however.
> Thanks so much - great information. Consider adding this answer to the official docs of rules_go (and probably rules_cc as well).
ping? not sure what's required to implement this... maybe somebody can jot down thoughts that might help the ambitious contributor.
Followup on 2 from above I can answer this myself through experimentation, but I cant't tell from the documentation. Can a ts_project depend on another ts_project? Is this a reasonable...
> @pwaterz, have you considered filing a bug with https://github.com/googleapis/google-cloud-go ?