Files
deprecated-helm-charts/incubator/gogs
André R. de MirandaandKubernetes Prow Robot bd2035d8f5 [incubator/gogs] Fixed restarted pod by the livenessProbe (#14835)
* [incubator/gogs] Fixed restarted pod by the livenessProbe

When the serviceRequireSignInView is true the pod restarts because it is redirected from "/" to "/user/login" and the livenessProbe/readinessProbe considering a fail.

Signed-off-by: André R. de Miranda andre@miranda.work
Signed-off-by: André R. de Miranda <andre@miranda.work>

* [incubator/gogs] Version

Signed-off-by: André R. de Miranda andre@miranda.work
Signed-off-by: André R. de Miranda <andre@miranda.work>
2019-06-16 11:12:07 -07:00
..
2019-05-15 08:42:22 -07:00

Gogs Helm Chart

Gogs is a painless self-hosted Git service.

TL;DR;

$ 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:

$ 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.

Configuration

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.86
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.postgresSSLMode PostgreSQL SSL Mode disable
postgresql.persistence.enabled Enable PostgreSQL persistence using Persistent Volume Claims true
service.httpNodePort Enable a static port where the Gogs http service is exposed on each Nodes IP nil
service.sshNodePort Enable a static port where the Gogs ssh service is exposed on each Nodes IP nil

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