Skip to content

Commit

Permalink
Add missing default service type
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored Apr 17, 2023
1 parent 1a959a7 commit d6b5a8f
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 d6b5a8f

Please sign in to comment.