Skip to content

Commit

Permalink
Add extraServiceSpec option (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrntknr authored Aug 22, 2023
1 parent 1346858 commit c54e10c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 4.9.4
version: 4.9.5
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
3 changes: 3 additions & 0 deletions charts/minecraft/templates/minecraft-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.minecraftServer.extraServiceSpec }}
{{ toYaml .Values.minecraftServer.extraServiceSpec | indent 2 }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ minecraftServer:
# A list of Spigot resources/plugins IDs to download.
spigetResources: []

# Additional service specs to be defined
extraServiceSpec: {}

# A list of Modrinth project slugs with optional version after colon
modrinth:
projects: []
Expand Down

0 comments on commit c54e10c

Please sign in to comment.