mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/parse] Use port-forward to pods (#9600)
* Fix typo Signed-off-by: juan131 <juan@bitnami.com> * [stable/parse] Use port-forward to pods Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
beb6018841
commit
067e4f3068
@@ -1,5 +1,5 @@
|
||||
name: parse
|
||||
version: 5.0.1
|
||||
version: 5.0.2
|
||||
appVersion: 3.1.2
|
||||
description: Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more.
|
||||
keywords:
|
||||
|
||||
@@ -24,8 +24,9 @@ Parse Server
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "parse.fullname" . }} {{ .Values.server.port }}:{{ .Values.server.port }}
|
||||
export SERVICE_IP=127.0.0.1:{{ .Values.server.port }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "parse.name" . }},component=server -o jsonpath="{.items[0].metadata.name}")
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 1337:1337 &
|
||||
export SERVICE_IP=127.0.0.1:1337
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -67,7 +68,8 @@ service:
|
||||
{{- if eq .Values.service.type "ClusterIP" }}
|
||||
|
||||
echo "Parse Dashboard URL: http://127.0.0.1:4040/"
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "parse.fullname" . }} 4040:4040
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "parse.name" . }},component=dashboard -o jsonpath="{.items[0].metadata.name}")
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 4040:4040 &
|
||||
|
||||
{{- else }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user