mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Convert docs to docsy
This commit is contained in:
9
site/content/en/installation/_index.md
Normal file
9
site/content/en/installation/_index.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Installation"
|
||||
linkTitle: "Installation"
|
||||
weight: 20
|
||||
type: docs
|
||||
menu:
|
||||
main:
|
||||
weight: 10
|
||||
---
|
||||
21
site/content/en/installation/binaries/_index.md
Normal file
21
site/content/en/installation/binaries/_index.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: "Binaries"
|
||||
linkTitle: "Binaries"
|
||||
weight: 3
|
||||
type: docs
|
||||
description: >
|
||||
Install Kustomize by downloading precompiled binaries.
|
||||
---
|
||||
|
||||
Binaries at various versions for linux, MacOs and Windows are published on the [release page].
|
||||
|
||||
The follow [script] detects your OS and downloads the appropriate kustomize binary to your
|
||||
current working directory.
|
||||
|
||||
```
|
||||
curl -s "https://raw.githubusercontent.com/\
|
||||
kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
|
||||
```
|
||||
|
||||
[releases page]: https://github.com/kubernetes-sigs/kustomize/releases
|
||||
[script]: https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh
|
||||
17
site/content/en/installation/chocolatey/_index.md
Normal file
17
site/content/en/installation/chocolatey/_index.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: "Chocolatey"
|
||||
linkTitle: "Chocolatey"
|
||||
weight: 4
|
||||
type: docs
|
||||
description: >
|
||||
Install Kustomize for Windows using Chocolatey
|
||||
---
|
||||
|
||||
```
|
||||
choco install kustomize
|
||||
```
|
||||
|
||||
For support on the chocolatey package
|
||||
and prior releases, see:
|
||||
- [Choco Package](https://chocolatey.org/packages/kustomize)
|
||||
- [Package Source](https://github.com/kenmaglio/choco-kustomize)
|
||||
21
site/content/en/installation/homebrew/_index.md
Normal file
21
site/content/en/installation/homebrew/_index.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: "Homebrew / MacPorts"
|
||||
linkTitle: "Homebrew / MacPorts"
|
||||
weight: 3
|
||||
type: docs
|
||||
description: >
|
||||
Install Kustomize for MacOS using Homebrew or MacPorts
|
||||
---
|
||||
|
||||
For [Homebrew](https://brew.sh) users:
|
||||
|
||||
```
|
||||
brew install kustomize
|
||||
```
|
||||
|
||||
For [MacPorts](https://www.macports.org) users:
|
||||
|
||||
```
|
||||
sudo port install kustomize
|
||||
```
|
||||
|
||||
43
site/content/en/installation/source/_index.md
Normal file
43
site/content/en/installation/source/_index.md
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: "Go Source"
|
||||
linkTitle: "Go Source"
|
||||
weight: 2
|
||||
type: docs
|
||||
description: >
|
||||
Install Kustomize from the Go source code
|
||||
---
|
||||
|
||||
Requires [Go] to be installed.
|
||||
|
||||
## Install the kustomize CLI from source without cloning the repo
|
||||
|
||||
```
|
||||
GOBIN=$(pwd)/ GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3
|
||||
```
|
||||
|
||||
## Install the kustomize CLI from local source with cloning the repo
|
||||
|
||||
```
|
||||
# Need go 1.13 or higher
|
||||
unset GOPATH
|
||||
# see https://golang.org/doc/go1.13#modules
|
||||
unset GO111MODULES
|
||||
|
||||
# clone the repo
|
||||
git clone git@github.com:kubernetes-sigs/kustomize.git
|
||||
# get into the repo root
|
||||
cd kustomize
|
||||
|
||||
# Optionally checkout a particular tag if you don't
|
||||
# want to build at head
|
||||
git checkout kustomize/v3.2.3
|
||||
|
||||
# build the binary
|
||||
(cd kustomize; go install .)
|
||||
|
||||
# run it
|
||||
~/go/bin/kustomize version
|
||||
```
|
||||
|
||||
|
||||
[Go]: https://golang.org
|
||||
Reference in New Issue
Block a user