Skip to content

Commit

Permalink
chore: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyubabbar committed Aug 26, 2024
1 parent ebdd471 commit 1fd195d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ut-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
with:
fetch-depth: 1

- name: Login to Dockerhub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Setup Node
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -81,8 +75,8 @@ jobs:
- name: Patch default service account in openfaas-fn
run: 'kubectl patch serviceaccount default -n openfaas-fn -p ''{"imagePullSecrets": [{"name": "regcred"}]}'''

- name: Patch Gateway Deployment with ImagePullSecret
run: 'kubectl patch deployment gateway -n openfaas -p=''{"spec": {"template": {"spec": {"imagePullSecrets": [{"name": "regcred"}]}}}}'''
- name: Patch deployment "gateway"
run: 'kubectl patch deployment gateway -n openfaas -p ''{"spec": {"template": {"spec": {"imagePullSecrets": [{"name": "regcred"}]}}}}'''

- name: Wait for deployment "gateway" rollout
run: kubectl rollout status deploy/gateway --timeout 120s -n openfaas
Expand Down

0 comments on commit 1fd195d

Please sign in to comment.