Skip to content

Commit

Permalink
Deploye app til gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
gtcno committed Feb 9, 2024
1 parent 6eced63 commit ee96e39
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
needs: [build]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: dev-fss
environment: dev-gcp
steps:
- name: Fetch NAIS yaml
uses: actions/download-artifact@v4
Expand All @@ -68,7 +68,7 @@ jobs:
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-fss
CLUSTER: dev-gcp
RESOURCE: .nais/nais.yaml
VAR: image=${{ needs.build.outputs.image }}
VARS: .nais/dev-vars.yaml
Expand All @@ -79,7 +79,7 @@ jobs:
needs: [build, deploy-dev]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: prod-fss
environment: prod-gcp
steps:
- name: Fetch NAIS yaml
uses: actions/download-artifact@v4
Expand All @@ -90,7 +90,7 @@ jobs:
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-fss
CLUSTER: prod-gcp
RESOURCE: .nais/nais.yaml
VAR: image=${{ needs.build.outputs.image }}
VARS: .nais/prod-vars.yaml
Expand Down
2 changes: 1 addition & 1 deletion .nais/dev-vars.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kafka:
pool: nav-dev
dp_inntekt:
scope: api://dev-fss.teamdagpenger.dp-inntekt-api/.default
scope: api://dev-gcp.teamdagpenger.dp-inntekt-api/.default

replicas:
min: 1
Expand Down
3 changes: 0 additions & 3 deletions .nais/nais.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ spec:
requests:
cpu: 100m
memory: 256Mi
vault:
enabled: true
secureLogs:
enabled: true
azure:
application:
enabled: true
webproxy: true
env:
- name: DP_INNTEKT_API_SCOPE
value: {{dp_inntekt.scope}}
2 changes: 1 addition & 1 deletion .nais/prod-vars.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kafka:
pool: nav-prod
dp_inntekt:
scope: api://prod-fss.teamdagpenger.dp-inntekt-api/.default
scope: api://prod-gcp.teamdagpenger.dp-inntekt-api/.default

replicas:
min: 4
Expand Down

0 comments on commit ee96e39

Please sign in to comment.