Skip to content

Commit

Permalink
update arbitrum service to accept annotations and labels
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyCharlesBlake committed Oct 24, 2024
1 parent 163c069 commit b7ac3a4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/arbitrum/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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.0
version: 0.1.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
4 changes: 3 additions & 1 deletion charts/arbitrum/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# arbitrum

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.1-d81324d](https://img.shields.io/badge/AppVersion-v3.2.1--d81324d-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.1-d81324d](https://img.shields.io/badge/AppVersion-v3.2.1--d81324d-informational?style=flat-square)

A Helm chart for deploying Arbitrum Nitro on Kubernetes

Expand Down Expand Up @@ -64,6 +64,8 @@ A Helm chart for deploying Arbitrum Nitro on Kubernetes
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.annotations | object | `{}` | |
| service.labels | object | `{}` | |
| service.ports.metrics.port | int | `6070` | |
| service.ports.metrics.protocol | string | `"TCP"` | |
| service.ports.rpc.port | int | `8547` | |
Expand Down
7 changes: 7 additions & 0 deletions charts/arbitrum/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ metadata:
name: {{ include "arbitrum.fullname" . }}
labels:
{{- include "arbitrum.labels" . | nindent 4 }}
{{- with .Values.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
3 changes: 3 additions & 0 deletions charts/arbitrum/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ securityContext: {}

service:
type: ClusterIP
labels: {}
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
ports:
rpc:
port: 8547
Expand Down

0 comments on commit b7ac3a4

Please sign in to comment.