forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [redmine] add ingress * add ingress for redmine * simplify (?) options in readme * upgrade postgres dependency to latest version * fix warning and version * add ingress.enabled, hostName to hostname
- Loading branch information
Showing
8 changed files
with
88 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,29 +53,36 @@ helm install --name my-release stable/redmine --set databaseType.mariadb=false,d | |
|
||
The following tables lists the configurable parameters of the Redmine chart and their default values. | ||
|
||
| Parameter | Description | Default | | ||
| ------------------------------- | ------------------------------- | --------------------------------------------------------- | | ||
| `image` | Redmine image | `bitnami/redmine:{VERSION}` | | ||
| `imagePullPolicy` | Image pull policy | `IfNotPresent` | | ||
| `redmineUsername` | User of the application | `user` | | ||
| `redminePassword` | Application password | _random 10 character long alphanumeric string_ | | ||
| `redmineEmail` | Admin email | `[email protected]` | | ||
| `redmineLanguage` | Redmine default data language | `en` | | ||
| `smtpHost` | SMTP host | `nil` | | ||
| `smtpPort` | SMTP port | `nil` | | ||
| `smtpUser` | SMTP user | `nil` | | ||
| `smtpPassword` | SMTP password | `nil` | | ||
| `smtpTls` | Use TLS encryption with SMTP | `nil` | | ||
| `databaseType.postgresql` | Select postgresql database | `false` | | ||
| `databaseType.mariadb` | Select mariadb database | `true` | | ||
| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | | ||
| `postgresql.postgresqlPassword` | PostgreSQL admin password | `nil` | | ||
| `serviceType` | Kubernetes Service type | `LoadBalancer` | | ||
| `persistence.enabled` | Enable persistence using PVC | `true` | | ||
| `persistence.existingClaim` | The name of an existing PVC | `nil` | | ||
| `persistence.storageClass` | PVC Storage Class | `nil` (uses alpha storage class annotation) | | ||
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` | | ||
| `persistence.size` | PVC Storage Request | `8Gi` | | ||
| Parameter | Description | Default | | ||
| --------- | ----------- | ------- | | ||
| `image` | Redmine image | `bitnami/redmine:{VERSION}` | | ||
| `imagePullPolicy` | Image pull policy | `IfNotPresent` | | ||
| `redmineUsername` | User of the application | `user` | | ||
| `redminePassword` | Application password | _random 10 character long alphanumeric string_ | | ||
| `redmineEmail` | Admin email | `[email protected]` | | ||
| `redmineLanguage` | Redmine default data language | `en` | | ||
| `smtpHost` | SMTP host | `nil` | | ||
| `smtpPort` | SMTP port | `nil` | | ||
| `smtpUser` | SMTP user | `nil` | | ||
| `smtpPassword` | SMTP password | `nil` | | ||
| `smtpTls` | Use TLS encryption with SMTP | `nil` | | ||
| `databaseType.postgresql` | Select postgresql database | `false` | | ||
| `databaseType.mariadb` | Select mariadb database | `true` | | ||
| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | | ||
| `postgresql.postgresqlPassword` | PostgreSQL admin password | `nil` | | ||
| `serviceType` | Kubernetes Service type | `LoadBalancer` | | ||
| `serviceLoadBalancerSourceRanges` | An array of load balancer sources | `0.0.0.0/0` | | ||
| `ingress.enabled` | Enable or disable the ingress | `false` | | ||
| `ingress.hostname` | The virtual host name | `redmine.cluster.local` | | ||
| `ingress.annotations` | An array of service annotations | `nil` | | ||
| `ingress.tls[i].secretName | The secret kubernetes.io/tls | `nil` | | ||
| `ingress.tls[i].hosts[j] | The virtual host name | `nil` | | ||
| `networkPolicyApiVersion` | The kubernetes network API version | `extensions/v1beta1` | | ||
| `persistence.enabled` | Enable persistence using PVC | `true` | | ||
| `persistence.existingClaim` | The name of an existing PVC | `nil` | | ||
| `persistence.storageClass` | PVC Storage Class | `nil` (uses alpha storage class annotation) | | ||
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` | | ||
| `persistence.size` | PVC Storage Request | `8Gi` | | ||
|
||
The above parameters map to the env variables defined in [bitnami/redmine](https://github.com/bitnami/bitnami-docker-redmine). For more information please refer to the [bitnami/redmine](https://github.com/bitnami/bitnami-docker-redmine) image documentation. | ||
|
||
|
@@ -117,3 +124,4 @@ The following example includes two PVCs, one for redmine and another for Maria D | |
```bash | ||
$ helm install --name test --set persistence.existingClaim=PVC_REDMINE,mariadb.persistence.existingClaim=PVC_MARIADB redmine | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{- if .Values.ingress.enabled }} | ||
apiVersion: {{ required "A valid .Values.networkPolicyApiVersion entry required!" .Values.networkPolicyApiVersion }} | ||
kind: Ingress | ||
metadata: | ||
{{- if .Values.ingress.annotations }} | ||
annotations: | ||
{{ toYaml .Values.ingress.annotations | indent 4 }} | ||
{{- end }} | ||
name: {{ template "fullname" . }} | ||
spec: | ||
rules: | ||
- host: {{ .Values.ingress.hostname | quote }} | ||
http: | ||
paths: | ||
- path: / | ||
backend: | ||
serviceName: {{ template "fullname" . }} | ||
servicePort: 80 | ||
{{- if .Values.ingress.tls }} | ||
tls: | ||
{{ toYaml .Values.ingress.tls | indent 4 }} | ||
{{- end -}} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters