mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add a component selector to make sure to get the ID of the server POD (#5540)
* add a component selector to make sure to get the ID of the server POD * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
d7785c6d1d
commit
f527df7dce
@@ -1,7 +1,7 @@
|
||||
name: drone
|
||||
home: https://drone.io/
|
||||
icon: https://drone.io/apple-touch-icon.png
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
appVersion: 0.8.4
|
||||
description: Drone is a Continuous Delivery system built on container technology
|
||||
keywords:
|
||||
|
||||
@@ -27,7 +27,7 @@ Get the Drone URL by running:
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
Get the Drone URL by running:
|
||||
export POD_NAME=$(kubectl get pods -n {{ .Release.Namespace }} -l "app={{ template "drone.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
export POD_NAME=$(kubectl get pods -n {{ .Release.Namespace }} -l "component=server,app={{ template "drone.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
echo http://127.0.0.1:8000/
|
||||
kubectl -n {{ .Release.Namespace }} port-forward $POD_NAME 8000:8000
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user