You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2019/10/22 17:27:42 UTC

[couchdb-helm] 05/07: Update to support kube 1.16 changes

This is an automated email from the ASF dual-hosted git repository.

willholley pushed a commit to branch port-helm-prs
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git

commit e5aa7bec977f61f97411591e97c7ecffab82738e
Author: Will Holley <wi...@gmail.com>
AuthorDate: Tue Oct 22 18:17:32 2019 +0100

    Update to support kube 1.16 changes
    
    Port from https://github.com/helm/charts/pull/17683
    
    Thanks to @kevinqlau for the original PR!
---
 couchdb/Chart.yaml                 | 2 +-
 couchdb/README.md                  | 3 ++-
 couchdb/templates/ingress.yaml     | 2 +-
 couchdb/templates/statefulset.yaml | 2 +-
 test/e2e-kind.sh                   | 2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/couchdb/Chart.yaml b/couchdb/Chart.yaml
index 5c617f8..c684a55 100644
--- a/couchdb/Chart.yaml
+++ b/couchdb/Chart.yaml
@@ -1,6 +1,6 @@
 apiVersion: v1
 name: couchdb
-version: 2.2.1
+version: 2.3.0
 appVersion: 2.3.1
 description: A database featuring seamless multi-master sync, that scales from
   big data to mobile, with an intuitive HTTP/JSON API and designed for
diff --git a/couchdb/README.md b/couchdb/README.md
index 38df621..8aa63e0 100644
--- a/couchdb/README.md
+++ b/couchdb/README.md
@@ -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
 
diff --git a/couchdb/templates/ingress.yaml b/couchdb/templates/ingress.yaml
index e73d7a5..64b67a6 100644
--- a/couchdb/templates/ingress.yaml
+++ b/couchdb/templates/ingress.yaml
@@ -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" . }}
diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml
index 1e0985b..7c7b744 100644
--- a/couchdb/templates/statefulset.yaml
+++ b/couchdb/templates/statefulset.yaml
@@ -1,4 +1,4 @@
-apiVersion: apps/v1beta2
+apiVersion:  apps/v1
 kind: StatefulSet
 metadata:
   name: {{ template "couchdb.fullname" . }}
diff --git a/test/e2e-kind.sh b/test/e2e-kind.sh
index 59c1dbe..27ee14e 100755
--- a/test/e2e-kind.sh
+++ b/test/e2e-kind.sh
@@ -83,7 +83,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
 }