Skip to content

Commit

Permalink
Update to support kube 1.16 changes
Browse files Browse the repository at this point in the history
Port from helm/charts#17683

Co-authored-by: Kevin Lau <kevin.lau31@gmail.com>
  • Loading branch information
willholley and evie-lau committed Oct 31, 2019
1 parent 1960abf commit 278d1e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion couchdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ $ helm install couchdb/couchdb --set allowAdminParty=true

## Prerequisites

- Kubernetes 1.8+ with Beta APIs enabled
- Kubernetes 1.9+ with Beta APIs enabled
- Ingress requires Kubernetes 1.14+

## Installing the Chart

Expand Down
2 changes: 1 addition & 1 deletion couchdb/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $serviceName := include "couchdb.fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: {{ template "couchdb.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion couchdb/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "couchdb.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ install_local-path-provisioner() {
}

install_charts() {
docker_exec ct lint-and-install --chart-repos couchdb=https://apache.github.io/couchdb-helm --chart-dirs .
docker_exec ct lint-and-install --charts couchdb --upgrade --chart-dirs .
echo
}

Expand Down

0 comments on commit 278d1e2

Please sign in to comment.