Skip to content

Commit c242b9b

Browse files
committed
Revert "Revert "Tilgang til å opprettet service er gitt i Nais - tester dette""
This reverts commit 4024202.
1 parent 279ab2f commit c242b9b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pipeline {
7272
kubectl config use-context dev-${env.ZONE}
7373
kubectl apply -f ./nais/nais-dev-deploy.yaml --wait
7474
kubectl rollout status -w deployment/${APPLICATION_NAME}
75+
kubectl apply -f ./nais/base/grpc-service.yaml
7576
"""
7677

7778
archiveArtifacts artifacts: 'nais/nais-dev-deploy.yaml', fingerprint: true

nais/base/grpc-service.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
labels:
5+
app: dp-inntekt-api-grpc
6+
team: teamdagpenger
7+
name: dp-inntekt-api-grpc
8+
spec:
9+
ports:
10+
- name: http
11+
port: 80
12+
protocol: TCP
13+
targetPort: 8099
14+
- name: grpc
15+
port: 50051
16+
protocol: TCP
17+
targetPort: 50051
18+
selector:
19+
app: dp-inntekt-api

0 commit comments

Comments
 (0)