Skip to content

Commit

Permalink
Deploy bekreftelse-api til prod
Browse files Browse the repository at this point in the history
  • Loading branch information
naviktthomas committed Dec 3, 2024
1 parent 449484d commit 7396be8
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/bekreftelse-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,23 @@ jobs:
RESOURCE: ./apps/${{ env.MODULE }}/nais/nais-dev.yaml
VAR: image=${{ needs.build.outputs.image }}

# deploy-prod:
# if: github.ref == 'refs/heads/main'
# name: Deploy to prod-gcp
# needs:
# - build
# - deploy-dev
# permissions:
# contents: read
# id-token: write
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Deploy to GCP
# uses: nais/deploy/actions/deploy@v2
# env:
# TEAM: paw
# CLUSTER: prod-gcp
# RESOURCE: ./apps/${{ env.MODULE }}/nais/nais-prod.yaml
# VAR: image=${{ needs.build.outputs.image }}
deploy-prod:
if: github.ref == 'refs/heads/main'
name: Deploy to prod-gcp
needs:
- build
- deploy-dev
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to GCP
uses: nais/deploy/actions/deploy@v2
env:
TEAM: paw
CLUSTER: prod-gcp
RESOURCE: ./apps/${{ env.MODULE }}/nais/nais-prod.yaml
VAR: image=${{ needs.build.outputs.image }}
4 changes: 2 additions & 2 deletions apps/bekreftelse-api/nais/nais-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ spec:
- name: CORS_ALLOW_ORIGINS
value: "www.intern.nav.no"
- name: KAFKA_PAW_ARBEIDSSOKER_BEKREFTELSE_TOPIC
value: "paw.arbeidssoker-bekreftelse-v1"
value: "paw.arbeidssoker-bekreftelse-beta-v1"
- name: KAFKA_PAW_ARBEIDSSOKER_BEKREFTELSE_HENDELSESLOGG_TOPIC
value: "paw.arbeidssoker-bekreftelse-hendelseslogg-v1"
value: "paw.arbeidssoker-bekreftelse-hendelseslogg-beta-v1"
- name: KAFKA_KEYS_SCOPE
value: "api://prod-gcp.paw.paw-kafka-key-generator/.default"
replicas:
Expand Down
8 changes: 4 additions & 4 deletions apps/kafka-key-generator/nais/nais-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ spec:
- host: pdl-api.dev-fss-pub.nais.io
inbound:
rules:
- application: paw-brukerstotte
- application: paw-kafka-key-maintenance
- application: paw-microfrontend-toggler
- application: paw-arbeidssokerregisteret-api-inngang
- application: paw-arbeidssoekerregisteret-utgang-formidlingsgruppe
- application: paw-arbeidssoekerregisteret-utgang-pdl
- application: paw-microfrontend-toggler
- application: paw-arbeidssoekerregisteret-utgang-formidlingsgruppe
- application: paw-arbeidssoekerregisteret-hendelselogg-backup
- application: paw-arbeidssoekerregisteret-api-bekreftelse
- application: paw-arbeidssoekerregisteret-bekreftelse-tjeneste
- application: paw-arbeidssoekerregisteret-bekreftelse-min-side-varsler
- application: paw-brukerstotte
- application: paw-kafka-key-maintenance
9 changes: 5 additions & 4 deletions apps/kafka-key-generator/nais/nais-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ spec:
- host: pdl-api.prod-fss-pub.nais.io
inbound:
rules:
- application: paw-arbeidssoekerregisteret-utgang-formidlingsgruppe
- application: paw-brukerstotte
- application: paw-microfrontend-toggler
- application: paw-kafka-key-maintenance
- application: paw-arbeidssokerregisteret-api-inngang
- application: paw-arbeidssoekerregisteret-utgang-pdl
- application: paw-microfrontend-toggler
- application: paw-arbeidssoekerregisteret-utgang-formidlingsgruppe
- application: paw-arbeidssoekerregisteret-hendelselogg-backup
- application: paw-brukerstotte
- application: paw-kafka-key-maintenance
- application: paw-arbeidssoekerregisteret-api-bekreftelse

0 comments on commit 7396be8

Please sign in to comment.