From 42df72274ed3c1c65d6ce7f924c8efc0f14fb8d9 Mon Sep 17 00:00:00 2001
From: Derek Su <derek.su@suse.com>
Date: Fri, 25 Mar 2022 16:42:13 +0000
Subject: [PATCH] Update README.md

Add stable and development installation instructions

Signed-off-by: Derek Su <derek.su@suse.com>
---
 README.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/README.md b/README.md
index e2625326..e0bfb0f2 100644
--- a/README.md
+++ b/README.md
@@ -24,11 +24,23 @@ Kubernetes v1.12+.
 
 In this setup, the directory `/opt/local-path-provisioner` will be used across all the nodes as the path for provisioning (a.k.a, store the persistent volume data). The provisioner will be installed in `local-path-storage` namespace by default.
 
+- Stable
+```
+kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.21/deploy/local-path-storage.yaml
+```
+
+- Development
 ```
 kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
 ```
 
 Or, use `kustomize` to deploy.
+- Stable
+```
+kustomize build "github.com/rancher/local-path-provisioner/deploy?ref=v0.0.21" | kubectl apply -f -
+```
+
+- Development
 ```
 kustomize build "github.com/rancher/local-path-provisioner/deploy?ref=master" | kubectl apply -f -
 ```
@@ -217,6 +229,12 @@ Before uninstallation, make sure the PVs created by the provisioner have already
 
 To uninstall, execute:
 
+- Stable
+```
+kubectl delete -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.21/deploy/local-path-storage.yaml
+```
+
+- Development
 ```
 kubectl delete -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
 ```
-- 
GitLab