Skip to content

Commit f7795eb

Browse files
authored
mac setup steps (#938)
Signed-off-by: Jordan Keister <[email protected]>
1 parent 27602ad commit f7795eb

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,29 @@ For a more complete overview of OLM v1 and how it differs from OLM v0, see our [
2323

2424
## Getting Started
2525
You’ll need a Kubernetes cluster to run against. You can use [KIND](https://sigs.k8s.io/kind) to get a local cluster for testing, or run against a remote cluster.
26-
**Note:** Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster `kubectl cluster-info` shows).
26+
27+
> [!NOTE]
28+
> Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster `kubectl cluster-info` shows).
29+
30+
### Additional setup on Machintosh computers
31+
On Macintosh computers some additional setup is necessary to install and configure compatible tooling.
32+
33+
#### Install Homebrew and tools
34+
Follow the instructions to [installing Homebrew](https://docs.brew.sh/Installation) and then execute the following to install tools:
35+
36+
```sh
37+
brew install bash gnu-tar gsed
38+
```
39+
40+
#### Configure your shell
41+
Modify your login shell's `PATH` to prefer the new tools over those in the existing environment. This example should work either with `zsh` (in $HOME/.zshrc) or `bash` (in $HOME/.bashrc):
42+
43+
```sh
44+
for bindir in `find $(brew --prefix)/opt -type d -follow -name gnubin -print`
45+
do
46+
export PATH=$bindir:$PATH
47+
done
48+
```
2749

2850
### Running on the cluster
2951
1. Install Instances of Custom Resources:

0 commit comments

Comments
 (0)