[incubator-vault] Fixes compatibility with 1.16 (#17324)

Notice of deprecation: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16

Signed-off-by: Rafael Grigorian <me@raffi.io>
This commit is contained in:
Rafael Grigorian
2019-09-20 17:39:26 -07:00
committed by Kubernetes Prow Robot
parent 0dbfdce871
commit 6a556ca8e5
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Vault, a tool for managing secrets
name: vault
version: 0.21.0
version: 0.21.1
appVersion: 1.1.2
home: https://www.vaultproject.io/
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
+8 -1
View File
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "vault.fullname" . }}
@@ -13,6 +13,13 @@ metadata:
annotations:
{{ toYaml .Values.annotations | indent 4 }}
spec:
selector:
matchLabels:
app: {{ template "vault.name" . }}
release: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 6 }}
{{- end }}
replicas: {{ .Values.replicaCount }}
strategy:
type: RollingUpdate
+1 -1
View File
@@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $serviceName := include "vault.fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: {{ template "vault.fullname" . }}