Skip to content

Commit

Permalink
Merge pull request #177 from sdodsley/remove_helm_2
Browse files Browse the repository at this point in the history
Update documentation to only support Helm 3 going forward
  • Loading branch information
sdodsley authored Feb 28, 2020
2 parents 7e1d3f4 + 92b9ee9 commit a21deb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
19 changes: 1 addition & 18 deletions pure-csi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This helm chart installs the CSI plugin on a Kubernetes cluster.
- Ubuntu 18.04
- #### Environments Supported*:
- Kubernetes 1.13+
- Minimum Helm version required is 2.9.1.
- Minimum Helm version required is 3.0.3.
- OpenShift 3.11
- Google Anthos 1.2.x
- #### Other software dependencies:
Expand Down Expand Up @@ -55,9 +55,6 @@ Add the Pure Storage helm repo
```bash
helm repo add pure https://purestorage.github.io/helm-charts
helm repo update
# Helm 2
helm search pure-csi
# Helm 3
helm search repo pure-csi
```

Expand Down Expand Up @@ -151,31 +148,20 @@ Customize your values.yaml including arrays info (replacement for pure.json), an
Dry run the installation, and make sure your values.yaml is working correctly.

```bash
# Helm 2
helm install --name pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml --dry-run --debug
# Helm 3
helm install pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml --dry-run --debug
```

Run the Install

```bash
# Install the plugin
# Helm 2
helm install --name pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml
# Helm 3
helm install pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml
```

The values in your values.yaml overwrite the ones in pure-csi/values.yaml, but any specified with the `--set`
option will take precedence.

```bash
# Helm 2
helm install --name pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml \
--set flasharray.sanType=fc \
--set namespace.pure=k8s_xxx \
# Helm 3
helm install pure-storage-driver pure/pure-csi --namespace <namespace> -f <your_own_dir>/yourvalues.yaml \
--set flasharray.sanType=fc \
--set namespace.pure=k8s_xxx \
Expand Down Expand Up @@ -224,9 +210,6 @@ the helm repository with the tag version required. This ensures the supporting c
```bash
# list the avaiable version of the plugin
helm repo update
# Helm 2
helm search pure-csi -l
# Helm 3
helm search repo pure-csi -l
# select a target chart version to upgrade as
Expand Down
17 changes: 1 addition & 16 deletions pure-k8s-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This helm chart installs the FlexVolume plugin on a Kubernetes cluster.
- For Platform specific requirements see
- #### Environments Supported*:
- Kubernetes 1.6+
- Minimum Helm version required is 2.9.1
- Minimum Helm version required is 3.0.3
- [OpenShift](#openshift) 3.6+
- AWS EKS 1.14
- #### Other software dependencies:
Expand Down Expand Up @@ -124,9 +124,6 @@ Customize your values.yaml including arrays info (replacement for pure.json), an

Dry run the installation, and make sure your values.yaml is working correctly:
```bash
# Helm 2
helm install --name pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml --dry-run --debug
# Helm 3
helm install pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml --dry-run --debug
```

Expand All @@ -139,21 +136,12 @@ helm install pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f
oc adm policy add-scc-to-user privileged system:serviceaccount:<project>:<clusterrolebinding.serviceAccount.name>
# Install the plugin (works for both openshift and kubernetes)
# Helm 2
helm install --name pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml
# Helm 3
helm install pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml
```

The values in your `values.yaml` overwrite the ones in `pure-k8s-plugin/values.yaml`, but any specified with the `--set`
option will take precedence.
```bash
# Helm 2
helm install --name pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml \
--set flasharray.sanType=fc \
--set namespace.pure=k8s_xxx \
--set orchestrator.name=openshift
# Helm 3
helm install pure-storage-driver pure/pure-k8s-plugin --namespace <namespace> -f <your_own_dir>/yourvalues.yaml \
--set flasharray.sanType=fc \
--set namespace.pure=k8s_xxx \
Expand Down Expand Up @@ -186,9 +174,6 @@ the helm repository with the tag version required. This ensures the supporting c
```bash
# list the avaiable version of the plugin
helm repo update
# Helm 2
helm search pure-k8s-plugin -l
# Helm 3
helm search repo pure-k8s-plugin -l
# select a target chart version to upgrade as
Expand Down

0 comments on commit a21deb3

Please sign in to comment.