Skip to content
Permalink
Browse files
Update to support kube 1.16 changes
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 17b3889 commit 5b205f5f6304365c1628b39019972493b25349bf
Showing 4 changed files with 5 additions and 4 deletions.
@@ -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

@@ -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" . }}
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "couchdb.fullname" . }}
@@ -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
}

0 comments on commit 5b205f5

Please sign in to comment.