helm hlaeja device registry
- update actuator.http - update helmfile.yaml - add 04-service.yaml - add 03-deployment.yaml - add 02-configmap.yaml - add 01-secret.yaml - update 01 secret values.yaml with jwt - add values.yaml - add Chart.yaml
This commit is contained in:
19
helm/charts/04-device-registry/templates/04-service.yaml
Normal file
19
helm/charts/04-device-registry/templates/04-service.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: device-register
|
||||
labels:
|
||||
app: device-register
|
||||
environment: {{ .Values.environment }}
|
||||
tier: backend
|
||||
spec:
|
||||
{{- if and .Values.loadBalancerIP (ne .Values.loadBalancerIP "") }}
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: {{ .Values.loadBalancerIP }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: device-register
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
Reference in New Issue
Block a user