Skip to content

Commit

Permalink
Update chart installation instruction for Kubernetes 1.11 (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Jul 8, 2018
1 parent 2bfa4a0 commit 3321c0c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chart/stash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following table lists the configurable parameters of the Stash chart and the
| `apiserver.enableValidatingWebhook` | Enable validating webhooks for Stash CRDs | false |
| `apiserver.enableMutatingWebhook` | Enable mutating webhooks for Kubernetes workloads | false |
| `apiserver.ca` | CA certificate used by main Kubernetes api server | `` |
| `enableStatusSubresource` | If true, uses status sub resource for crds | `false` |
| `apiserver.enableStatusSubresource` | If true, uses status sub resource for crds | `false` |
| `enableAnalytics` | Send usage events to Google Analytics | `true` |


Expand Down
2 changes: 1 addition & 1 deletion chart/stash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- --audit-log-path=-
- --tls-cert-file=/var/serving-cert/tls.crt
- --tls-private-key-file=/var/serving-cert/tls.key
- --enable-status-subresource={{ .Values.enableStatusSubresource }}
- --enable-status-subresource={{ .Values.apiserver.enableStatusSubresource }}
- --enable-analytics={{ .Values.enableAnalytics }}
ports:
- containerPort: 8443
Expand Down
5 changes: 2 additions & 3 deletions chart/stash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ apiserver:
enableValidatingWebhook: false
# CA certificate used by main Kubernetes api server
ca:
# If true, uses status sub resource for crds.
enableStatusSubresource: false

# Send usage events to Google Analytics
enableAnalytics: true

# If true, uses status sub resource for crds.
enableStatusSubresource: false
10 changes: 9 additions & 1 deletion docs/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,20 @@ appscode/stash 0.7.0 0.7.0 Stash by AppsCode - Backup your Kubernetes Volum
# Kubernetes 1.8.x
$ helm install appscode/stash --name stash-operator --version 0.7.0 --namespace kube-system

# Kubernetes 1.9.0 or later
# Kubernetes 1.9.x - 1.10.x
$ helm install appscode/stash --name stash-operator --version 0.7.0 \
--namespace kube-system \
--set apiserver.ca="$(onessl get kube-ca)" \
--set apiserver.enableValidatingWebhook=true \
--set apiserver.enableMutatingWebhook=true

# Kubernetes 1.11.0 or later
$ helm install appscode/stash --name stash-operator --version 0.7.0 \
--namespace kube-system \
--set apiserver.ca="$(onessl get kube-ca)" \
--set apiserver.enableValidatingWebhook=true \
--set apiserver.enableMutatingWebhook=true \
--set apiserver.enableStatusSubresource=true
```

To install `onessl`, run the following commands:
Expand Down

0 comments on commit 3321c0c

Please sign in to comment.