Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Gogs Helm Chart

Gogs is a painless self-hosted Git service.


$ helm install incubator/gogs


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:

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

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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


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

Parameter Description Default
image.repository Gogs image gogs/gogs
image.tag Gogs image tag 0.11.66
image.pullPolicy Gogs image pull policy Always if imageTag is latest, else IfNotPresent
postgresql.install Weather or not to install PostgreSQL dependency true
postgresql.postgresHost PostgreSQL host (if postgresql.install == false) nil
postgresql.postgresUser PostgreSQL User to create gogs
postgresql.postgresPassword PostgreSQL Password for the new user gogs
postgresql.postgresDatabase PostgreSQL Database to create gogs
postgresql.persistence.enabled Enable PostgreSQL persistence using Persistent Volume Claims true

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,

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

Tip: You can use the default values.yaml