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.
- PV support on underlying infrastructure (if persistence is required)
To install the chart with the release name my-release
:
$ helm install --name my-release incubator/gogs
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 tables lists some of the configurable parameters of the Gogs chart and their default values.
Parameter | Description | Default |
---|---|---|
imageRepository |
Gogs image | gogs/gogs |
imageTag |
Gogs image version | 0.10.18 |
imagePullPolicy |
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