Skip to content

Commit

Permalink
beacon-metrics-gazer: fixup indentation (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet authored Jun 27, 2023
1 parent 18a0e92 commit 4342398
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion charts/beacon-metrics-gazer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: beacon-metrics-gazer
description: Collects network wide participation metrics given a range of indexes
home: https://github.com/dapplion/beacon-metrics-gazer
type: application
version: 0.1.2
version: 0.1.3
maintainers:
- name: barnabasbusa
email: [email protected]
2 changes: 1 addition & 1 deletion charts/beacon-metrics-gazer/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# beacon-metrics-gazer

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Collects network wide participation metrics given a range of indexes

Expand Down
94 changes: 47 additions & 47 deletions charts/beacon-metrics-gazer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,56 +39,56 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
{{- if gt (len .Values.customCommand) 0 }}
{{- toYaml .Values.customCommand | nindent 12}}
{{- else }}
- /beacon-metrics-gazer
- {{ .Values.endpoint }}
- --ranges-file
- /data/ranges.yaml
- --port
- "{{ .Values.httpPort }}"
- --address
- "0.0.0.0"
{{- end }}
{{- if gt (len .Values.extraArgs) 0 }}
args:
{{- toYaml .Values.extraArgs | nindent 12}}
{{- end }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
volumeMounts:
- name: ranges
mountPath: "/data/ranges.yaml"
subPath: ranges.yaml
readOnly: true
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | nindent 12 }}
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
{{- if gt (len .Values.customCommand) 0 }}
{{- toYaml .Values.customCommand | nindent 12}}
{{- else }}
- /beacon-metrics-gazer
- {{ .Values.endpoint }}
- --ranges-file
- /data/ranges.yaml
- --port
- "{{ .Values.httpPort }}"
- --address
- "0.0.0.0"
{{- end }}
ports:
- name: http
containerPort: {{ .Values.httpPort }}
protocol: TCP
{{- if .Values.extraPodPorts }}
{{ toYaml .Values.extraPodPorts | nindent 10 }}
{{- if gt (len .Values.extraArgs) 0 }}
args:
{{- toYaml .Values.extraArgs | nindent 12}}
{{- end }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
{{- if .Values.extraContainers }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
volumeMounts:
- name: ranges
mountPath: "/data/ranges.yaml"
subPath: ranges.yaml
readOnly: true
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.httpPort }}
protocol: TCP
{{- if .Values.extraPodPorts }}
{{ toYaml .Values.extraPodPorts | nindent 12 }}
{{- end }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
{{- if .Values.extraContainers }}
{{ toYaml .Values.extraContainers | nindent 8}}
{{- end }}
{{- end }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
affinity:
Expand Down

0 comments on commit 4342398

Please sign in to comment.