Skip to content

Commit 665aa48

Browse files
committed
Separate game and rcon service annotations
1 parent 93cc63c commit 665aa48

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
1111
annotations:
12-
{{- range $key, $value := .Values.service.annotations }}
12+
{{- range $key, $value := .Values.rcon.serviceAnnotations }}
1313
{{ $key }}: {{ $value | quote }}
1414
{{- end }}
1515
spec:

charts/factorio-server-charts/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,15 @@ server_settings:
280280

281281
## @param rcon.external Enable RCON external access (deploy RCON service)
282282
## @param rcon.type RCON service type
283+
## @param rcon.serviceAnnotations RCON service annotations
283284
## @param rcon.passwordSecret Existing secret containing a `password` data field
284285
## @param rcon.password Password for RCON, ignored if `rcon.passwordSecret` is set
285286
## @param rcon.port RCON service external port
286287
# Password and port for the rcon service
287288
rcon:
288289
external: true
289290
type: LoadBalancer
290-
291+
serviceAnnotations: {}
291292
# Existing secret containing a `password` data field
292293
passwordSecret: ""
293294

0 commit comments

Comments
 (0)