image: repository: {{ .Values.registry }}/itzg/minecraft-server pullSecret: regcred # --------------------------------------------- # -- Install Plugins # --------------------------------------------- initContainers: - name: 0-download-mods image: {{.Values.registry}}/alpine/curl command: - curl - -L - "https://s3.badhouseplants.net/minecraft-mods/server_mods.tar" - -o - /download/server_mods.tar volumeMounts: - name: download mountPath: /download readOnly: false - name: 1-copy-plugins-to-minecraft image: {{ .Values.registry }}/ubuntu command: - sh - -c - cd /mods && tar -xvf /download/server_mods.tar || true volumeMounts: - name: plugins mountPath: /mods readOnly: false - name: download mountPath: /download readOnly: false