vault - fixing copy pasta for non default namespaces (#5410)

* fixing copy pasta for non default namespaces

* incrementing version
This commit is contained in:
Steven Tobias
2018-05-07 07:57:51 -07:00
committed by k8s-ci-robot
parent 0d3ebfdfac
commit bd91fad66c
2 changed files with 2 additions and 2 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.5.1
version: 0.5.2
appVersion: 0.9.0
home: https://www.vaultproject.io/
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
+1 -1
View File
@@ -13,5 +13,5 @@
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "vault.name" . }}" -o jsonpath="{.items[0].metadata.name}")
echo "Use http://127.0.0.1:8200 as the Vault address after forwarding."
kubectl port-forward $POD_NAME 8200:{{ .Values.service.port }}
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8200:{{ .Values.service.port }}
{{- end }}