Skip to content

Commit

Permalink
Revert "Revert "Tilgang til å opprettet service er gitt i Nais - test…
Browse files Browse the repository at this point in the history
…er dette""

This reverts commit 4024202.
  • Loading branch information
geiralund committed May 18, 2020
1 parent 279ab2f commit c242b9b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ pipeline {
kubectl config use-context dev-${env.ZONE}
kubectl apply -f ./nais/nais-dev-deploy.yaml --wait
kubectl rollout status -w deployment/${APPLICATION_NAME}
kubectl apply -f ./nais/base/grpc-service.yaml
"""

archiveArtifacts artifacts: 'nais/nais-dev-deploy.yaml', fingerprint: true
Expand Down
19 changes: 19 additions & 0 deletions nais/base/grpc-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: dp-inntekt-api-grpc
team: teamdagpenger
name: dp-inntekt-api-grpc
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8099
- name: grpc
port: 50051
protocol: TCP
targetPort: 50051
selector:
app: dp-inntekt-api

0 comments on commit c242b9b

Please sign in to comment.