Skip to content

Commit

Permalink
Added a template for choosing the Service type
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Naya Lazo committed Dec 4, 2024
1 parent 1b62156 commit 96bfd73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/fishymetrics/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "fishymetrics.common.metaLabels" . | nindent 4 }}
{{- include "fishymetrics.common.matchLabels" . | nindent 4 }}
spec:
type: ClusterIP
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.exporter.port }}
targetPort: {{ .Values.exporter.port }}
Expand Down
3 changes: 3 additions & 0 deletions helm/fishymetrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ tolerations: []
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"

service:
type: ClusterIP

0 comments on commit 96bfd73

Please sign in to comment.