github.com/replicatedcom/ship@v0.50.0/integration/init/factorio/expected/rendered.yaml (about)

     1  apiVersion: v1
     2  data:
     3    factorio-password: eW91ci5wYXNzd29yZA==
     4    factorio-username: eW91ci51c2VybmFtZQ==
     5    rcon-password: ""
     6    server-password: ""
     7  kind: Secret
     8  metadata:
     9    labels:
    10      app: factorio-factorio
    11      release: factorio
    12    name: factorio-factorio
    13  type: Opaque
    14  ---
    15  apiVersion: v1
    16  kind: Service
    17  metadata:
    18    labels:
    19      app: factorio-factorio
    20      release: factorio
    21    name: factorio-factorio
    22  spec:
    23    ports:
    24    - name: factorio
    25      port: 34197
    26      protocol: UDP
    27      targetPort: factorio
    28    selector:
    29      app: factorio-factorio
    30    type: LoadBalancer
    31  ---
    32  apiVersion: extensions/v1beta1
    33  kind: Deployment
    34  metadata:
    35    labels:
    36      app: factorio-factorio
    37      release: factorio
    38    name: factorio-factorio
    39  spec:
    40    template:
    41      metadata:
    42        labels:
    43          app: factorio-factorio
    44      spec:
    45        containers:
    46        - env:
    47          - name: FACTORIO_SERVER_NAME
    48            value: Kubernetes Server
    49          - name: FACTORIO_DESCRIPTION
    50            value: Factorio running on Kubernetes
    51          - name: FACTORIO_PORT
    52            value: "34197"
    53          - name: FACTORIO_MAX_PLAYERS
    54            value: "255"
    55          - name: FACTORIO_IS_PUBLIC
    56            value: "false"
    57          - name: FACTORIO_REQUIRE_USER_VERIFICATION
    58            value: "false"
    59          - name: FACTORIO_ALLOW_COMMANDS
    60            value: admins-only
    61          - name: FACTORIO_NO_AUTO_PAUSE
    62            value: "false"
    63          - name: FACTORIO_AUTOSAVE_INTERVAL
    64            value: "2"
    65          - name: FACTORIO_AUTOSAVE_SLOTS
    66            value: "3"
    67          image: quay.io/games_on_k8s/factorio:0.14.22
    68          imagePullPolicy: Always
    69          name: factorio-factorio
    70          ports:
    71          - containerPort: 34197
    72            name: factorio
    73            protocol: UDP
    74          resources:
    75            requests:
    76              cpu: 500m
    77              memory: 512Mi
    78          volumeMounts:
    79          - mountPath: /opt/factorio/saves
    80            name: saves
    81          - mountPath: /opt/factorio/mods
    82            name: mods
    83        volumes:
    84        - name: saves
    85          persistentVolumeClaim:
    86            claimName: factorio-factorio-savedgames
    87        - emptyDir: {}
    88          name: mods
    89  ---
    90  apiVersion: v1
    91  kind: PersistentVolumeClaim
    92  metadata:
    93    labels:
    94      app: factorio-factorio
    95      release: factorio
    96    name: factorio-factorio-savedgames
    97  spec:
    98    accessModes:
    99    - ReadWriteOnce
   100    resources:
   101      requests:
   102        storage: 1Gi