File tree 2 files changed +67
-20
lines changed
apps/bekreftelse-utgang/nais
2 files changed +67
-20
lines changed Original file line number Diff line number Diff line change @@ -83,23 +83,23 @@ jobs:
83
83
RESOURCE : ./apps/${{ env.MODULE }}/nais/nais-dev.yaml
84
84
VAR : image=${{ needs.build.outputs.image }}
85
85
86
- # deploy-prod:
87
- # if: github.ref == 'refs/heads/main'
88
- # name: Deploy to prod-gcp
89
- # needs:
90
- # - build
91
- # - deploy-dev
92
- # permissions:
93
- # contents: read
94
- # id-token: write
95
- # runs-on: ubuntu-latest
96
- # steps:
97
- # - name: Checkout
98
- # uses: actions/checkout@v4
99
- # - name: Deploy to GCP
100
- # uses: nais/deploy/actions/deploy@v2
101
- # env:
102
- # TEAM: paw
103
- # CLUSTER: prod-gcp
104
- # RESOURCE: ./apps/ ${{ env.MODULE }}/nais/nais-prod.yaml
105
- # VAR: image=${{ needs.build.outputs.image }}
86
+ deploy-prod :
87
+ if : github.ref == 'refs/heads/main'
88
+ name : Deploy to prod-gcp
89
+ needs :
90
+ - build
91
+ - deploy-dev
92
+ permissions :
93
+ contents : read
94
+ id-token : write
95
+ runs-on : ubuntu-latest
96
+ steps :
97
+ - name : Checkout
98
+ uses : actions/checkout@v4
99
+ - name : Deploy to GCP
100
+ uses : nais/deploy/actions/deploy@v2
101
+ env :
102
+ CLUSTER : prod-gcp
103
+ RESOURCE : ./apps/${{ env.MODULE }}/nais/nais-prod.yaml
104
+ VAR : image= ${{ needs.build.outputs.image }}
105
+
Original file line number Diff line number Diff line change
1
+ apiVersion : nais.io/v1alpha1
2
+ kind : Application
3
+ metadata :
4
+ name : paw-arbeidssoekerregisteret-bekreftelse-utgang
5
+ namespace : paw
6
+ labels :
7
+ team : paw
8
+ spec :
9
+ image : {{ image }}
10
+ port : 8080
11
+ env :
12
+ - name : KAFKA_STREAMS_ID_SUFFIX
13
+ value : " v2"
14
+ - name : KAFKA_PAW_ARBEIDSSOKERPERIODER_TOPIC
15
+ value : " paw.arbeidssokerperioder-v1"
16
+ - name : KAFKA_PAW_ARBEIDSSOKER_BEKREFTELSE_HENDELSELOGG_TOPIC
17
+ value : " paw.arbeidssoker-bekreftelse-hendelseslogg-v2"
18
+ - name : KAFKA_PAW_ARBEIDSSOKER_HENDELSELOGG_TOPIC
19
+ value : " paw.arbeidssoker-hendelseslogg-v1"
20
+ azure :
21
+ application :
22
+ enabled : true
23
+ replicas :
24
+ min : 1
25
+ max : 1
26
+ resources :
27
+ limits :
28
+ memory : 1024Mi
29
+ requests :
30
+ cpu : 20m
31
+ memory : 512Mi
32
+ liveness :
33
+ path : /internal/isAlive
34
+ initialDelay : 10
35
+ readiness :
36
+ path : /internal/isReady
37
+ initialDelay : 10
38
+ prometheus :
39
+ enabled : true
40
+ path : /internal/metrics
41
+ observability :
42
+ autoInstrumentation :
43
+ enabled : true
44
+ runtime : java
45
+ kafka :
46
+ pool : nav-prod
47
+ streams : true
You can’t perform that action at this time.
0 commit comments