Back to Charts

⚠️ Repo Archive Notice

incubator/gogs/README.md

latest4.2 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

⚠️ Chart Deprecated

Gogs Helm Chart

Gogs is a painless self-hosted Git service.

TL;DR;

console
$ helm install incubator/gogs

Introduction

This chart bootstraps a Gogs deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites Details

  • PV support on underlying infrastructure (if persistence is required)

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release incubator/gogs

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command removes nearly all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists some of the configurable parameters of the Gogs chart and their default values.

ParameterDescriptionDefault
image.repositoryGogs imagegogs/gogs
image.tagGogs image tag0.11.86
image.pullPolicyGogs image pull policyAlways if imageTag is latest, else IfNotPresent
postgresql.installWeather or not to install PostgreSQL dependencytrue
postgresql.postgresHostPostgreSQL host (if postgresql.install == false)nil
postgresql.postgresUserPostgreSQL User to creategogs
postgresql.postgresPasswordPostgreSQL Password for the new usergogs
postgresql.postgresDatabasePostgreSQL Database to creategogs
postgresql.postgresSSLModePostgreSQL SSL Modedisable
postgresql.persistence.enabledEnable PostgreSQL persistence using Persistent Volume Claimstrue
serviceTypeThe type of service to create (ClusterIP, NodePort, LoadBalancer)NodePort
service.loadBalancerIPThe IP address to use when using serviceType LoadBalancernil
service.httpNodePortEnable a static port where the Gogs http service is exposed on each Node’s IPnil
service.sshNodePortEnable a static port where the Gogs ssh service is exposed on each Node’s IPnil

See values.yaml for a more complete list, and links to the Gogs documentation.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

console
$ helm install --name my-release -f values.yaml incubator/gogs

Tip: You can use the default values.yaml