Skip to content

Commit 17cfdb5

Browse files
authored
Deployment of statbank-auth in prod to access statbank in test (#71)
1 parent d494a5f commit 17cfdb5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.nais/prod.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,42 @@ spec:
3636

3737
ingresses:
3838
- https://statbank-authenticator.intern.ssb.no
39+
---
40+
apiVersion: nais.io/v1alpha1
41+
kind: Application
42+
metadata:
43+
name: dapla-statbank-authenticator-testproxy
44+
namespace: dapla-stat
45+
spec:
46+
image: {{image}}
47+
port: 8080
48+
49+
replicas:
50+
max: 2
51+
min: 2
52+
53+
resources:
54+
requests:
55+
cpu: 20m
56+
memory: 128Mi
57+
limits:
58+
memory: 256Mi
59+
60+
envFrom:
61+
- secret: dapla-statbank-authenticator-testproxy-cipher-key
62+
63+
liveness:
64+
path: "/health/liveness"
65+
port: 8080
66+
initialDelay: 10
67+
readiness:
68+
path: "/health/readiness"
69+
port: 8080
70+
initialDelay: 5
71+
72+
prometheus:
73+
enabled: true
74+
path: "/metrics"
75+
76+
ingresses:
77+
- https://statbank-authenticator-testproxy.intern.ssb.no

0 commit comments

Comments
 (0)