Skip to content

AdityaGupta1/minecraft-argo-tekton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft with Argo CD and Tekton CD

This repository shows how to use Tekton CD to change and sync an Argo CD application running a Minecraft server from a Helm chart.

Setup

  1. Fork or copy this repository.
    • Argo CD applications use Git repositories as sources of truth, as per the GitOps model. Therefore, you'll need your own copy of this repository so you can use that as the underlying repository for the application you will create.
  2. Install Argo CD by following the instructions here.
  3. Create an Argo CD application with your forked/copied repository.
  4. Install Tekton CD by following the instructions here.
  5. Edit the example pipline, replacing everything in angle brackets (< >) with the proper data. Make sure to also replace the repository URL with your own and the command/commit message with whatever you want to run.
    • The example command given simply replaces the motd (message of the day) in values.yaml with "hello from tekton".
  6. Apply the pipeline by running kubectl apply pipeline.yaml.
  7. Once the pipeline completes, the motd of your server should be updated. Log in to the server with the external IP of the Minecraft service and check that the message has changed.

Known issues

#1) Currently, logging in with an authentication token does not seem to work. It gives an error similar to the following:

rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR

Until this issue is resolved, login using a username and password.

About

testing Minecraft with Argo CD and Tekton CD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages