How to deploy a new application

How to deploy a new application using our monorepository template

You have to do the following:

  1. Create a docker image for your project, you can use a repository that matches your framework and is based on the internal k8s template which is located in code.frost.bitkraken.no (Forgejo/Git). This will automatically build and push the image to our private image registry.
  2. You need to create a secret for our private image registry if it is not in the namespace you want to deploy.
  3. Go to the cluster-applications git repository and create a new helm release according to the documentation in the repository. There might be some values you need to modify, but some of the helm charts might be made for a specific type of database operator, so it can manage the database state and the required secrets on it's own. The chart should have it's own documentation which explains how to use it.
  4. After creating the HelmRelease definition and any other required manifest/cluster resources that is needed, you can push the deployment and Flux should handle the rest. You can monitor the deployment through kubectl. The deployment state will also eventually be available directly in the Git repository.