Skip to content

Commit

Permalink
Merge pull request #113 from camptocamp/service-type
Browse files Browse the repository at this point in the history
Add missing default service type
  • Loading branch information
sbrunner authored Apr 18, 2023
2 parents 1a959a7 + d6b5a8f commit f3bd1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
{{- $svcDict := merge $svcDict (dict "annotations" $serviceDefinition.service.annotations "labels" $serviceDefinition.service.labels) -}}
{{- include "common.metadata" ( dict "root" $root "service" $svcDict "serviceName" $serviceName ) | nindent 2 }}
spec:
type: {{ $serviceDefinition.service.type }}
type: {{ $serviceDefinition.service.type | default "ClusterIP" }}
{{- with $serviceDefinition.service.ports }}
ports:
{{- . | toYaml | nindent 4 }}
Expand Down

0 comments on commit f3bd1a1

Please sign in to comment.