Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Oct 24, 2024
1 parent cde2b5d commit 0f2d3da
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/composer/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: 1.0.0-rc.1
version: 1.0.0-rc.2

# 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
4 changes: 2 additions & 2 deletions charts/composer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ composer
Common labels
*/}}
{{- define "composer.labels" -}}
{{ include "rollup.selectorLabels" . }}
{{ include "composer.selectorLabels" . }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "composer.selectorLabels" -}}
app: {{ include "rollup.appName" . }}
app: {{ include "composer.appName" . }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/composer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
ports:
{{- if .Values.metrics.enabled }}
- containerPort: {{ .Values.ports.metrics }}
name: composer-metrics
name: composer-metric
{{- end }}
- containerPort: {{ .Values.ports.healthApi }}
name: health-api
Expand Down
20 changes: 20 additions & 0 deletions charts/composer/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- if .Values.alerting.enabled -}}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: {{ template "composer.appName" . }}
{{- if .Values.alerting.prometheusRule.namespace }}
namespace: {{ .Values.alerting.prometheusRule.namespace | quote }}
{{- end }}
labels:
{{- include "composer.labels" . | nindent 4 }}
{{- if .Values.alerting.prometheusRule.additionalLabels }}
{{- toYaml .Values.alerting.prometheusRule.additionalLabels | nindent 4 }}
{{- end }}
spec:
{{- if .Values.alerting.prometheusRule.rules }}
groups:
- name: {{ template "composer.appName" . }}
rules: {{- toYaml .Values.alerting.prometheusRule.rules | nindent 4 }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/composer/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
selector:
app: composer
ports:
- name: composer-metrics
- name: composer-metric
port: {{ .Values.ports.metrics }}
targetPort: composer-metrics
targetPort: composer-metric
{{- end }}
2 changes: 1 addition & 1 deletion charts/composer/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
matchLabels:
app: composer
endpoints:
- port: composer-metrics
- port: composer-metric
path: /
{{- with .Values.serviceMonitor.interval }}
interval: {{ . }}
Expand Down
6 changes: 3 additions & 3 deletions charts/evm-stack/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
version: 0.28.1
- name: composer
repository: file://../composer
version: 1.0.0-rc.1
version: 1.0.0-rc.2
- name: evm-faucet
repository: file://../evm-faucet
version: 0.1.2
Expand All @@ -20,5 +20,5 @@ dependencies:
- name: blockscout-stack
repository: https://blockscout.github.io/helm-charts
version: 1.6.2
digest: sha256:bbb5436bef71e57402482f74e2d2deabec5e4d957845bcb743b710ca49e2dc78
generated: "2024-10-22T10:51:25.483623794-04:00"
digest: sha256:cbef2e78861e88ca4396d44dc1d96a7b27c32c691896ed16097a1081d63c6d91
generated: "2024-10-24T14:29:08.887894+03:00"
4 changes: 2 additions & 2 deletions charts/evm-stack/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.7.2
version: 0.7.3

dependencies:
- name: celestia-node
Expand All @@ -26,7 +26,7 @@ dependencies:
version: 0.28.1
repository: "file://../evm-rollup"
- name: composer
version: 1.0.0-rc.1
version: 1.0.0-rc.2
repository: "file://../composer"
condition: composer.enabled
- name: evm-faucet
Expand Down

0 comments on commit 0f2d3da

Please sign in to comment.