Skip to content

Commit

Permalink
fix(arbitrum-nitro): service monitor erroneous conditional (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjorge-graphops authored Feb 28, 2024
1 parent 8fcfc77 commit e554031
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/arbitrum-nitro/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.3.0
version: 0.3.1

# 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
2 changes: 1 addition & 1 deletion charts/arbitrum-nitro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Deploy and scale [Arbitrum-Nitro](https://github.com/OffchainLabs/nitro/) inside Kubernetes with ease

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.3.0-3e14543](https://img.shields.io/badge/AppVersion-v2.3.0--3e14543-informational?style=flat-square)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.3.0-3e14543](https://img.shields.io/badge/AppVersion-v2.3.0--3e14543-informational?style=flat-square)

## Features

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{{- $values := $.Values.nitro }}
{{- $componentName := "nitro" }}
{{- $componentLabel := include "arbitrum-nitro.componentLabelFor" $componentName }}
{{- if $values.enabled }}
{{- /* If serviceMonitors enabled in chart-wide values */ -}}
{{- if $.Values.prometheus.serviceMonitors.enabled }}
apiVersion: monitoring.coreos.com/v1
Expand Down Expand Up @@ -32,4 +31,3 @@ spec:
{{- toYaml .Values.prometheus.serviceMonitors.relabelings | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit e554031

Please sign in to comment.