Skip to content

Commit

Permalink
fix: Helm Chart service file (#161)
Browse files Browse the repository at this point in the history
This PR fixes the formatting used in the Helm Chart `service.yaml` file.
  • Loading branch information
liviudm authored Feb 7, 2024
1 parent da82d40 commit 7d8b5e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helm/fuel-explorer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
12 changes: 7 additions & 5 deletions helm/fuel-explorer/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: { { include "fuel-explorer.fullname" . } }
labels: { { - include "fuel-explorer.labels" . | nindent 4 } }
name: {{ include "fuel-explorer.fullname" . }}
labels:
{{- include "fuel-explorer.labels" . | nindent 4 }}
spec:
type: { { .Values.service.type } }
type: {{ .Values.service.type }}
ports:
- port: { { .Values.service.port } }
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector: { { - include "fuel-explorer.selectorLabels" . | nindent 4 } }
selector:
{{- include "fuel-explorer.selectorLabels" . | nindent 4 }}

0 comments on commit 7d8b5e9

Please sign in to comment.