31 lines
695 B
YAML
31 lines
695 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
|
|
kind: Kustomization
|
||
|
|
namespace: factorio
|
||
|
|
resources:
|
||
|
|
- factorio.yaml
|
||
|
|
- monitoring.yaml
|
||
|
|
configMapGenerator:
|
||
|
|
- name: factorio-scripts
|
||
|
|
files:
|
||
|
|
- scripts/start.sh
|
||
|
|
- scripts/health.sh
|
||
|
|
- scripts/collect.sh
|
||
|
|
- scripts/collector-health.sh
|
||
|
|
- name: factorio-settings
|
||
|
|
files:
|
||
|
|
- server-settings.json
|
||
|
|
- server-adminlist.json
|
||
|
|
generatorOptions:
|
||
|
|
disableNameSuffixHash: true
|
||
|
|
replacements:
|
||
|
|
- source:
|
||
|
|
kind: Deployment
|
||
|
|
name: factorio
|
||
|
|
fieldPath: spec.template.spec.containers.[name=factorio].image
|
||
|
|
targets:
|
||
|
|
- select:
|
||
|
|
kind: Deployment
|
||
|
|
name: factorio
|
||
|
|
fieldPaths:
|
||
|
|
- spec.template.spec.containers.[name=player-collector].image
|