Skip to content

Commit 2a07975

Browse files
committed
change version; rename rcon_api to rconAPI
1 parent 11609c8 commit 2a07975

File tree

6 files changed

+38
-38
lines changed

6 files changed

+38
-38
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Changelog
22

3-
### V2.1.1
3+
### V2.2.0
44

55
#### Non-Breaking Changes
66

charts/factorio-server-charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sources:
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 2.1.1
23+
version: 2.2.0
2424

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

charts/factorio-server-charts/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ spec:
208208
- pingpong3.factorio.com
209209
- pingpong4.factorio.com
210210
{{- end }}
211-
{{- if .Values.rcon_api.enabled }}
211+
{{- if .Values.rconAPI.enabled }}
212212
- name: {{ template "factorio-server-charts.fullname" . }}-rcon-api
213-
image: "{{ .Values.rcon_api.image.repository }}:{{ .Values.rcon_api.image.tag }}"
214-
imagePullPolicy: {{ .Values.rcon_api.image.pullPolicy }}
213+
image: "{{ .Values.rconAPI.image.repository }}:{{ .Values.rconAPI.image.tag }}"
214+
imagePullPolicy: {{ .Values.rconAPI.image.pullPolicy }}
215215
livenessProbe:
216216
httpGet:
217217
path: /healthz
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
{{- if and .Values.rcon_api.enabled .Values.rcon_api.ingress.enabled }}
1+
{{- if and .Values.rconAPI.enabled .Values.rconAPI.ingress.enabled }}
22
apiVersion: networking.k8s.io/v1
33
kind: Ingress
44
metadata:
55
name: {{ template "factorio-server-charts.fullname" . }}-rcon-api
66
annotations:
7-
{{- range $key, $value := .Values.rcon_api.ingress.annotations }}
7+
{{- range $key, $value := .Values.rconAPI.ingress.annotations }}
88
{{ $key }}: {{ $value | quote }}
99
{{- end }}
1010
labels:
@@ -13,29 +13,29 @@ metadata:
1313
release: "{{ .Release.Name }}"
1414
heritage: "{{ .Release.Service }}"
1515
spec:
16-
ingressClassName: {{ .Values.rcon_api.ingress.className }}
16+
ingressClassName: {{ .Values.rconAPI.ingress.className }}
1717
rules:
18-
- host: {{ .Values.rcon_api.ingress.hostname }}
18+
- host: {{ .Values.rconAPI.ingress.hostname }}
1919
http:
2020
paths:
2121
- backend:
2222
service:
2323
name: {{ template "factorio-server-charts.fullname" . }}-rcon-api
2424
port:
25-
number: {{ .Values.rcon_api.httpPort }}
25+
number: {{ .Values.rconAPI.httpPort }}
2626
path: /
2727
pathType: Prefix
2828
- backend:
2929
service:
3030
name: {{ template "factorio-server-charts.fullname" . }}-rcon-api
3131
port:
32-
number: {{ .Values.rcon_api.grpcPort }}
32+
number: {{ .Values.rconAPI.grpcPort }}
3333
path: /grpc
3434
pathType: Prefix
35-
{{- if and .Values.rcon_api.ingress.tls.enabled .Values.rcon_api.ingress.tls.secretName }}
35+
{{- if and .Values.rconAPI.ingress.tls.enabled .Values.rconAPI.ingress.tls.secretName }}
3636
tls:
3737
- hosts:
38-
- {{ .Values.rcon_api.ingress.hostname }}
39-
secretName: {{ .Values.rcon_api.ingress.tls.secretName }}
38+
- {{ .Values.rconAPI.ingress.hostname }}
39+
secretName: {{ .Values.rconAPI.ingress.tls.secretName }}
4040
{{- end }}
4141
{{- end }}

charts/factorio-server-charts/templates/rcon-api-service.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.rcon_api.enabled }}
1+
{{- if .Values.rconAPI.enabled }}
22
apiVersion: v1
33
kind: Service
44
metadata:
@@ -9,24 +9,24 @@ metadata:
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
1111
annotations:
12-
{{- range $key, $value := .Values.rcon_api.serviceAnnotations }}
12+
{{- range $key, $value := .Values.rconAPI.serviceAnnotations }}
1313
{{ $key }}: {{ $value | quote }}
1414
{{- end }}
1515
spec:
16-
type: {{ .Values.rcon_api.type }}
16+
type: {{ .Values.rconAPI.type }}
1717
ports:
1818
- name: http
19-
port: {{ .Values.rcon_api.httpPort }}
19+
port: {{ .Values.rconAPI.httpPort }}
2020
targetPort: 24180
21-
{{- if eq .Values.rcon_api.type "NodePort" }}
22-
nodePort: {{ .Values.rcon_api.httpPort }}
21+
{{- if eq .Values.rconAPI.type "NodePort" }}
22+
nodePort: {{ .Values.rconAPI.httpPort }}
2323
{{- end }}
2424
protocol: TCP
2525
- name: grpc
26-
port: {{ .Values.rcon_api.grpcPort }}
26+
port: {{ .Values.rconAPI.grpcPort }}
2727
targetPort: 24181
28-
{{- if eq .Values.rcon_api.type "NodePort" }}
29-
nodePort: {{ .Values.rcon_api.grpcPort }}
28+
{{- if eq .Values.rconAPI.type "NodePort" }}
29+
nodePort: {{ .Values.rconAPI.grpcPort }}
3030
{{- end }}
3131
protocol: TCP
3232
selector:

charts/factorio-server-charts/values.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -344,21 +344,21 @@ rcon:
344344
# rcon port
345345
port: 30100
346346

347-
## @param rcon_api.enabled Enable or disable the RCON API service
348-
## @param rcon_api.image.repository RCON-API image repository
349-
## @param rcon_api.image.tag RCON-API image tag (immutable tags are recommended)
350-
## @param rcon_api.image.pullPolicy RCON-API image pull policy
351-
## @param rcon_api.type Kubernetes service type for the RCON API (e.g., ClusterIP, NodePort, LoadBalancer)
352-
## @param rcon_api.serviceAnnotations Annotations to add to the RCON API service
353-
## @param rcon_api.httpPort Internal port on which the HTTP API for RCON is exposed
354-
## @param rcon_api.grpcPort Internal port on which the gRPC API for RCON is exposed
355-
## @param rcon_api.ingress.enabled Enable or disable the Ingress for the RCON API service
356-
## @param rcon_api.ingress.hostname Hostname for the RCON API Ingress
357-
## @param rcon_api.ingress.className Ingress class name for selecting the Ingress controller (e.g., nginx, cilium)
358-
## @param rcon_api.ingress.annotations Additional annotations for the Ingress resource
359-
## @param rcon_api.ingress.tls.enabled Enable or disable TLS for the Ingress
360-
## @param rcon_api.ingress.tls.secretName Kubernetes Secret name for TLS certificates used by the Ingress
361-
rcon_api:
347+
## @param rconAPI.enabled Enable or disable the RCON API service
348+
## @param rconAPI.image.repository RCON-API image repository
349+
## @param rconAPI.image.tag RCON-API image tag (immutable tags are recommended)
350+
## @param rconAPI.image.pullPolicy RCON-API image pull policy
351+
## @param rconAPI.type Kubernetes service type for the RCON API (e.g., ClusterIP, NodePort, LoadBalancer)
352+
## @param rconAPI.serviceAnnotations Annotations to add to the RCON API service
353+
## @param rconAPI.httpPort Internal port on which the HTTP API for RCON is exposed
354+
## @param rconAPI.grpcPort Internal port on which the gRPC API for RCON is exposed
355+
## @param rconAPI.ingress.enabled Enable or disable the Ingress for the RCON API service
356+
## @param rconAPI.ingress.hostname Hostname for the RCON API Ingress
357+
## @param rconAPI.ingress.className Ingress class name for selecting the Ingress controller (e.g., nginx, cilium)
358+
## @param rconAPI.ingress.annotations Additional annotations for the Ingress resource
359+
## @param rconAPI.ingress.tls.enabled Enable or disable TLS for the Ingress
360+
## @param rconAPI.ingress.tls.secretName Kubernetes Secret name for TLS certificates used by the Ingress
361+
rconAPI:
362362
enabled: false
363363
image:
364364
repository: "ghcr.io/nekomeowww/factorio-rcon-api"

0 commit comments

Comments
 (0)