mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
refactor image repo setting of gogs (#5827)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: 'Gogs: Go Git Service'
|
||||
name: gogs
|
||||
version: 0.5.3
|
||||
version: 0.6.0
|
||||
appVersion: 0.11.29
|
||||
home: https://gogs.io/
|
||||
icon: https://gogs.io/img/favicon.ico
|
||||
|
||||
@@ -43,9 +43,9 @@ chart and their default values.
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ----------------------- | ---------------------------------- | ---------------------------------------------------------- |
|
||||
| `imageRepository` | Gogs image | `gogs/gogs` |
|
||||
| `imageTag` | Gogs image version | `0.11.29` |
|
||||
| `imagePullPolicy` | Gogs image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.repository` | Gogs image | `gogs/gogs` |
|
||||
| `image.tag` | Gogs image tag | `0.11.29` |
|
||||
| `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` |
|
||||
|
||||
@@ -18,8 +18,8 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
- containerPort: 22
|
||||
|
||||
@@ -9,9 +9,10 @@ serviceType: NodePort
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image: gogs/gogs
|
||||
imageTag: 0.11.29
|
||||
imagePullPolicy: IfNotPresent
|
||||
image:
|
||||
repository: gogs/gogs
|
||||
tag: 0.11.29
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
## Override the components name (defaults to service).
|
||||
|
||||
Reference in New Issue
Block a user