Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ The following table lists the configurable parameters of the `factorio-server-ch
| image.tag | Overrides the image tag whose default is the chart appVersion. | `"latest"` |
| securityContext.runAsUser | | `1000` |
| securityContext.fsGroup | | `2000` |
| service.annotations | Annotations for service | `{}` |
| service.type | | `LoadBalancer` |
| service.port | | `30000` |
| resources | Compute Resources required by the operator container | `{"requests":{"cpu":"500m","memory":"512Mi"}}` |
Expand Down
4 changes: 4 additions & 0 deletions charts/factorio-server-charts/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
1 change: 1 addition & 0 deletions charts/factorio-server-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ service:
# port: 34197
## LoadBalancer setup
# type: LoadBalancer
annotations: {}


## Compute Resources required by the operator container
Expand Down