Enable GSSAPI in darwin release builds
hack/build-go.sh cmd/oc -tags=gssapi produces an oc client capable of speaking Kerberos.
However, the release builds (defined in origin.spec and hack/build-cross.sh) run on Linux, and are not able to cross-compile to Darwin AND perform a cgo-enabled build.
I see 4 possible ways to approach this:
- Use Travis' macOS builders to build
ocwith CI - On one of our macs, build
github.com/apcera/gssapiwith-buildmode=sharedand use that binary on linux with CI for the darwin builds (not sure if this will work) - Create some type of dynamic runtime linking wrapper like
github.com/alexbrainman/sspibut forgssapiand use this on darwin with CI - Build
ocon our macs with no CI
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle stale
/unassign
@stlaz @sttts @mfojtik