Skip to content

Commit

Permalink
feat(util): Allows building for darwin targets
Browse files Browse the repository at this point in the history
This is a simple change that allows the registrar to be built for MacOS.
All of the `unix` package being used works for Mac as well. The reason for
enabling this is completely selfish I'll admit. We are adding
[CSI Support](krustlet/krustlet#462) to the Krustlet
project, which supports Mac as well. As most CSI implementations don't support
registering themselves with the Kubelet directly, we wanted to unblock any
users to need to register their plugins with a Krustlet Kubelet. This change
shouldn't affect normal container-based usage of the registrar
  • Loading branch information
thomastaylor312 committed Aug 3, 2021
1 parent 696b8b2 commit 24a855e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util_linux.go → pkg/util/util_nix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux
// +build linux
// +build !windows

/*
Copyright 2019 The Kubernetes Authors.
Expand Down

0 comments on commit 24a855e

Please sign in to comment.