Skip to content

Commit 5503805

Browse files
add namespace input to validate-endpoints action (#116)
* add namespace input to validate-endpoints action * Update .github/actions/validate-endpoints/action.yml --------- Co-authored-by: Salah Al Saleh <[email protected]>
1 parent f77cc32 commit 5503805

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/validate-endpoints/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ inputs:
2424
description: 'If the chart was deployed in airgap mode'
2525
required: false
2626
default: 'false'
27+
namespace:
28+
description: 'Namespace that the Replicated API is deployed in'
29+
required: false
30+
default: 'default'
2731
runs:
2832
using: "composite"
2933
steps:
@@ -34,7 +38,7 @@ runs:
3438
shell: bash
3539
run: |
3640
kill -9 $(sudo lsof -t -i:8888) 2>/dev/null || true
37-
kubectl port-forward svc/replicated 8888:3000 &
41+
kubectl port-forward -n "${{ inputs.namespace }}" svc/replicated 8888:3000 &
3842
sleep 5
3943
4044
- name: Validate integration status

0 commit comments

Comments
 (0)