├── README.md └── base ├── kustomization.yaml └── my-app.yaml /README.md: -------------------------------------------------------------------------------- 1 | # Hands-On 2 | 3 | ### 1. Install Kustomize 4 | 5 | ``` 6 | brew install kustomize 7 | kustomize version 8 | ``` 9 | 10 | ### 2. Fork The Example Repo 11 | 12 | * Open https://github.com/gitops-workshop/my-app-deployment 13 | * Click “Fork”. 14 | 15 | ### 3. Clone Your Fork 16 | 17 | In your terminal: 18 | 19 | ```bash 20 | export username=... ;# your Github username in lowercase 21 | git clone git@github.com:${username}/my-app-deployment.git 22 | cd my-app-deployment 23 | ``` 24 | 25 | ### 4. Build The Base 26 | 27 | ``` 28 | kustomize build base 29 | ``` 30 | 31 | Note: The above URL should start with "git@" and you'll need to enter your username. 32 | 33 | ### 5. Create An Overlay 34 | 35 | ```bash 36 | mkdir -p overlays/dev 37 | ``` 38 | 39 | ```bash 40 | cat > overlays/dev/kustomization.yaml <