diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index eda8e49..f3a7459 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -22,20 +22,6 @@ jobs: identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} outputs: image: ${{ steps.docker-build-push.outputs.image }} - - deployDevGcp: - name: Deploy to dev gcp - needs: [build] - runs-on: ubuntu-latest - env: - IMAGE: "${{ needs.build.outputs.image }}" - steps: - - uses: actions/checkout@v4 - - uses: nais/deploy/actions/deploy@v1 - env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} - CLUSTER: dev-gcp - RESOURCE: deploy/dev.yml deployDev: name: Deploy to dev @@ -48,7 +34,7 @@ jobs: - uses: nais/deploy/actions/deploy@v1 env: APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} - CLUSTER: dev-fss + CLUSTER: dev-gcp RESOURCE: deploy/dev.yml deployProd: @@ -62,5 +48,5 @@ jobs: - uses: nais/deploy/actions/deploy@v1 env: APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} - CLUSTER: prod-fss + CLUSTER: prod-gcp RESOURCE: deploy/prod.yml diff --git a/deploy/prod.yml b/deploy/prod.yml index 61ac234..88c4f7e 100644 --- a/deploy/prod.yml +++ b/deploy/prod.yml @@ -16,6 +16,10 @@ spec: path: /internal/is_ready initialDelay: 20 timeout: 60 + accessPolicy: + inbound: + rules: + - application: spre-gosys resources: limits: cpu: 2000m