Skip to content

Commit

Permalink
add namespace input to validate-endpoints action (#116)
Browse files Browse the repository at this point in the history
* add namespace input to validate-endpoints action

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

---------

Co-authored-by: Salah Al Saleh <[email protected]>
  • Loading branch information
Craig O'Donnell and sgalsaleh authored Nov 3, 2023
1 parent f77cc32 commit 5503805
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/validate-endpoints/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
description: 'If the chart was deployed in airgap mode'
required: false
default: 'false'
namespace:
description: 'Namespace that the Replicated API is deployed in'
required: false
default: 'default'
runs:
using: "composite"
steps:
Expand All @@ -34,7 +38,7 @@ runs:
shell: bash
run: |
kill -9 $(sudo lsof -t -i:8888) 2>/dev/null || true
kubectl port-forward svc/replicated 8888:3000 &
kubectl port-forward -n "${{ inputs.namespace }}" svc/replicated 8888:3000 &
sleep 5
- name: Validate integration status
Expand Down

0 comments on commit 5503805

Please sign in to comment.