Skip to content

Commit 2cd854a

Browse files
committed
chore(spectre): add annotations to service
1 parent e22fe1b commit 2cd854a

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

charts/spectre/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 0.3.1
25+
version: 0.3.2
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to

charts/spectre/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# spectre
22

3-
![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: 0.42.2](https://img.shields.io/badge/AppVersion-0.42.2-informational?style=flat-square)
3+
![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.42.2](https://img.shields.io/badge/AppVersion-0.42.2-informational?style=flat-square)
44

55
A Helm chart for deploying Chronicle Spectre Relay on Kubernetes
66

@@ -65,6 +65,7 @@ A Helm chart for deploying Chronicle Spectre Relay on Kubernetes
6565
| resources | object | `{}` | |
6666
| rpcUrl | string | `nil` | rpcUrl for the target chain |
6767
| securityContext | object | `{}` | |
68+
| service.annotations | object | `{}` | |
6869
| service.ports.listen.port | int | `8080` | |
6970
| service.ports.listen.protocol | string | `"TCP"` | |
7071
| service.type | string | `"ClusterIP"` | |

charts/spectre/templates/service.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ include "spectre.fullname" . }}
5+
annotations:
6+
{{- with .Values.service.annotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
59
labels:
610
{{- include "spectre.labels" . | nindent 4 }}
711
spec:

charts/spectre/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ service:
119119
# rpc:
120120
# port: 9100
121121
# protocol: TCP
122+
annotations:
123+
{}
122124

123125
livenessProbe:
124126
enabled: false

0 commit comments

Comments
 (0)