mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
Rename charts folders
This commit is contained in:
1
upstreamed/redmine/.helmignore
Normal file
1
upstreamed/redmine/.helmignore
Normal file
@@ -0,0 +1 @@
|
||||
.git
|
||||
21
upstreamed/redmine/Chart.yaml
Normal file
21
upstreamed/redmine/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: redmine
|
||||
version: 2.0.4
|
||||
appVersion: 3.4.4
|
||||
description: A flexible project management web application.
|
||||
keywords:
|
||||
- redmine
|
||||
- project management
|
||||
- www
|
||||
- http
|
||||
- web
|
||||
- application
|
||||
- ruby
|
||||
- rails
|
||||
home: http://www.redmine.org/
|
||||
icon: https://bitnami.com/assets/stacks/redmine/img/redmine-stack-220x234.png
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redmine
|
||||
maintainers:
|
||||
- name: Bitnami
|
||||
email: containers@bitnami.com
|
||||
engine: gotpl
|
||||
8
upstreamed/redmine/OWNERS
Normal file
8
upstreamed/redmine/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
||||
approvers:
|
||||
- prydonius
|
||||
- tompizmor
|
||||
- sameersbn
|
||||
reviewers:
|
||||
- prydonius
|
||||
- tompizmor
|
||||
- sameersbn
|
||||
128
upstreamed/redmine/README.md
Normal file
128
upstreamed/redmine/README.md
Normal file
@@ -0,0 +1,128 @@
|
||||
# Redmine
|
||||
|
||||
[Redmine](http://www.redmine.org) is a free and open source, web-based project management and issue tracking tool.
|
||||
|
||||
## TL;DR;
|
||||
|
||||
```bash
|
||||
$ helm install stable/redmine
|
||||
```
|
||||
|
||||
## Introduction
|
||||
|
||||
This chart bootstraps a [Redmine](https://github.com/bitnami/bitnami-docker-redmine) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
It also packages the [Bitnami MariaDB chart](https://github.com/kubernetes/charts/tree/master/stable/mariadb) and the [PostgreSQL chart](https://github.com/kubernetes/charts/tree/master/stable/postgresql) which are required for bootstrapping a MariaDB/PostgreSQL deployment for the database requirements of the Redmine application.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
- PV provisioner support in the underlying infrastructure
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
|
||||
```bash
|
||||
$ helm install --name my-release stable/redmine
|
||||
```
|
||||
|
||||
The command deploys Redmine on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
|
||||
|
||||
> **Tip**: List all releases using `helm list`
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
|
||||
```bash
|
||||
$ helm delete my-release
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
|
||||
## Using PostgreSQL instead of MariaDB
|
||||
|
||||
This chart includes the option to use a PostgreSQL database for Redmine instead of MariaDB. To use this, MariaDB must be explicitly disabled and PostgreSQL enabled:
|
||||
|
||||
```
|
||||
helm install --name my-release stable/redmine --set databaseType.mariadb=false,databaseType.postgresql=true
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
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 | `user@example.com` |
|
||||
| `redmineLanguage` | Redmine default data language | `en` |
|
||||
| `extraVars` | Environment variables, passed to redmine | `nil` |
|
||||
| `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](http://github.com/bitnami/bitnami-docker-redmine). For more information please refer to the [bitnami/redmine](http://github.com/bitnami/bitnami-docker-redmine) image documentation.
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```bash
|
||||
$ helm install --name my-release \
|
||||
--set redmineUsername=admin,redminePassword=password,mariadb.mariadbRootPassword=secretpassword \
|
||||
stable/redmine
|
||||
```
|
||||
|
||||
The above command sets the Redmine administrator account username and password to `admin` and `password` respectively. Additionally it sets the MariaDB `root` user password to `secretpassword`.
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
|
||||
```bash
|
||||
$ helm install --name my-release -f values.yaml stable/redmine
|
||||
```
|
||||
|
||||
> **Tip**: You can use the default [values.yaml](values.yaml)
|
||||
|
||||
## Persistence
|
||||
|
||||
The [Bitnami Redmine](https://github.com/bitnami/bitnami-docker-redmine) image stores the Redmine data and configurations at the `/bitnami/redmine` path of the container.
|
||||
|
||||
Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube. The volume is created using dynamic volume provisioning. Clusters configured with NFS mounts require manually managed volumes and claims.
|
||||
|
||||
See the [Configuration](#configuration) section to configure the PVC or to disable persistence.
|
||||
|
||||
|
||||
### Existing PersistentVolumeClaims
|
||||
|
||||
The following example includes two PVCs, one for redmine and another for Maria DB.
|
||||
|
||||
1. Create the PersistentVolume
|
||||
1. Create the PersistentVolumeClaim
|
||||
1. Create the directory, on a worker
|
||||
1. Install the chart
|
||||
```bash
|
||||
$ helm install --name test --set persistence.existingClaim=PVC_REDMINE,mariadb.persistence.existingClaim=PVC_MARIADB redmine
|
||||
```
|
||||
|
||||
9
upstreamed/redmine/requirements.lock
Normal file
9
upstreamed/redmine/requirements.lock
Normal file
@@ -0,0 +1,9 @@
|
||||
dependencies:
|
||||
- name: mariadb
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
version: 0.7.0
|
||||
- name: postgresql
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
version: 0.8.1
|
||||
digest: sha256:2832b6bf3b75730b1c86c8bd32c14dd2baeff63273aeec3ebc8a1ef2157ff454
|
||||
generated: 2017-09-03T14:17:09.786561151-04:00
|
||||
9
upstreamed/redmine/requirements.yaml
Normal file
9
upstreamed/redmine/requirements.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
dependencies:
|
||||
- name: mariadb
|
||||
version: 0.7.0
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
condition: databaseType.mariadb
|
||||
- name: postgresql
|
||||
version: 0.8.1
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
condition: databaseType.postgresql
|
||||
31
upstreamed/redmine/templates/NOTES.txt
Normal file
31
upstreamed/redmine/templates/NOTES.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
1. Get the Redmine URL:
|
||||
|
||||
{{- if contains "NodePort" .Values.serviceType }}
|
||||
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "redmine.fullname" . }})
|
||||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||
echo http://$NODE_IP:$NODE_PORT/
|
||||
|
||||
{{- else if contains "LoadBalancer" .Values.serviceType }}
|
||||
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "redmine.fullname" . }}'
|
||||
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "redmine.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}")
|
||||
echo http://$SERVICE_IP/
|
||||
|
||||
{{- else if .Values.ingress.enabled }}
|
||||
http://{{ .Values.ingress.hostname }}/
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.serviceType }}
|
||||
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "redmine.fullname" . }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
echo http://127.0.0.1:3000/
|
||||
kubectl port-forward $POD_NAME 3000:3000
|
||||
{{- end }}
|
||||
|
||||
2. Login with the following credentials
|
||||
|
||||
echo Username: {{ .Values.redmineUsername }}
|
||||
echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "redmine.fullname" . }} -o jsonpath="{.data.redmine-password}" | base64 --decode)
|
||||
32
upstreamed/redmine/templates/_helpers.tpl
Normal file
32
upstreamed/redmine/templates/_helpers.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "redmine.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
*/}}
|
||||
{{- define "redmine.fullname" -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
*/}}
|
||||
{{- define "redmine.mariadb.fullname" -}}
|
||||
{{- printf "%s-%s" .Release.Name "mariadb" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
*/}}
|
||||
{{- define "redmine.postgresql.fullname" -}}
|
||||
{{- printf "%s-%s" .Release.Name "postgresql" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
91
upstreamed/redmine/templates/deployment.yaml
Normal file
91
upstreamed/redmine/templates/deployment.yaml
Normal file
@@ -0,0 +1,91 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ template "redmine.fullname" . }}
|
||||
image: "{{ .Values.image }}"
|
||||
imagePullPolicy: {{ default "" .Values.imagePullPolicy | quote }}
|
||||
env:
|
||||
{{- if .Values.extraVars }}
|
||||
{{ toYaml .Values.extraVars | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.databaseType.postgresql }}
|
||||
- name: REDMINE_DB_POSTGRES
|
||||
value: {{ template "redmine.postgresql.fullname" . }}
|
||||
- name: REDMINE_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "redmine.postgresql.fullname" . }}
|
||||
key: postgres-password
|
||||
{{- else }}
|
||||
- name: REDMINE_DB_MYSQL
|
||||
value: {{ template "redmine.mariadb.fullname" . }}
|
||||
- name: REDMINE_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "redmine.mariadb.fullname" . }}
|
||||
key: mariadb-root-password
|
||||
{{- end }}
|
||||
- name: REDMINE_USERNAME
|
||||
value: {{ default "" .Values.redmineUsername | quote }}
|
||||
- name: REDMINE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
key: redmine-password
|
||||
- name: REDMINE_EMAIL
|
||||
value: {{ default "" .Values.redmineEmail | quote }}
|
||||
- name: REDMINE_LANG
|
||||
value: {{ default "" .Values.redmineLanguage | quote }}
|
||||
- name: SMTP_HOST
|
||||
value: {{ default "" .Values.smtpHost | quote }}
|
||||
- name: SMTP_PORT
|
||||
value: {{ default "" .Values.smtpPort | quote }}
|
||||
- name: SMTP_USER
|
||||
value: {{ default "" .Values.smtpUser | quote }}
|
||||
- name: SMTP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
key: smtp-password
|
||||
- name: SMTP_TLS
|
||||
value: {{ default "" .Values.smtpTls | quote }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3000
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 1
|
||||
volumeMounts:
|
||||
- name: redmine-data
|
||||
mountPath: /bitnami/redmine
|
||||
volumes:
|
||||
- name: redmine-data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.existingClaim | default (include "redmine.fullname" .) }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
23
upstreamed/redmine/templates/ingress.yaml
Normal file
23
upstreamed/redmine/templates/ingress.yaml
Normal file
@@ -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 "redmine.fullname" . }}
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Values.ingress.hostname | quote }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "redmine.fullname" . }}
|
||||
servicePort: 80
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{ toYaml .Values.ingress.tls | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
24
upstreamed/redmine/templates/pvc.yaml
Normal file
24
upstreamed/redmine/templates/pvc.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.accessMode | quote }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.size | quote }}
|
||||
{{- if .Values.persistence.storageClass }}
|
||||
{{- if (eq "-" .Values.persistence.storageClass) }}
|
||||
storageClassName: ""
|
||||
{{- else }}
|
||||
storageClassName: "{{ .Values.persistence.storageClass }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
17
upstreamed/redmine/templates/secrets.yaml
Normal file
17
upstreamed/redmine/templates/secrets.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
type: Opaque
|
||||
data:
|
||||
{{ if .Values.redminePassword }}
|
||||
redmine-password: {{ default "" .Values.redminePassword | b64enc | quote }}
|
||||
{{ else }}
|
||||
redmine-password: {{ randAlphaNum 10 | b64enc | quote }}
|
||||
{{ end }}
|
||||
smtp-password: {{ default "" .Values.smtpPassword | b64enc | quote }}
|
||||
20
upstreamed/redmine/templates/svc.yaml
Normal file
20
upstreamed/redmine/templates/svc.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "redmine.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
type: {{ .Values.serviceType }}
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
selector:
|
||||
app: {{ template "redmine.fullname" . }}
|
||||
{{ if eq .Values.serviceType "LoadBalancer" }}
|
||||
loadBalancerSourceRanges: {{ .Values.serviceLoadBalancerSourceRanges }}
|
||||
{{ end }}
|
||||
158
upstreamed/redmine/values.yaml
Normal file
158
upstreamed/redmine/values.yaml
Normal file
@@ -0,0 +1,158 @@
|
||||
## Bitnami Redmine image version
|
||||
## ref: https://hub.docker.com/r/bitnami/redmine/tags/
|
||||
##
|
||||
image: bitnami/redmine:3.4.4-r2
|
||||
|
||||
## Specify a imagePullPolicy
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
##
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
## User of the application
|
||||
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
||||
##
|
||||
redmineUsername: user
|
||||
|
||||
## Application password
|
||||
## Defaults to a random 10-character alphanumeric string if not set
|
||||
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
||||
##
|
||||
# redminePassword:
|
||||
|
||||
## Admin email
|
||||
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
||||
##
|
||||
redmineEmail: user@example.com
|
||||
|
||||
## Redmine default data language
|
||||
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
||||
##
|
||||
redmineLanguage: en
|
||||
|
||||
## SMTP mail delivery configuration
|
||||
## ref: https://github.com/bitnami/bitnami-docker-redmine/#smtp-configuration
|
||||
##
|
||||
# smtpHost:
|
||||
# smtpPort:
|
||||
# smtpUser:
|
||||
# smtpPassword:
|
||||
# smtpTls:
|
||||
|
||||
## Environment variables, to pass to the entry point
|
||||
##
|
||||
# extraVars:
|
||||
# - name: NAMI_DEBUG
|
||||
# value: --log-level trace
|
||||
|
||||
## Database configuration. Please note that only one of the following databases should be selected.
|
||||
## ref: https://github.com/bitnami/bitnami-docker-redmine#run-the-application-using-postgresql-database
|
||||
##
|
||||
databaseType:
|
||||
mariadb: true
|
||||
postgresql: false
|
||||
|
||||
##
|
||||
## MariaDB chart configuration
|
||||
##
|
||||
mariadb:
|
||||
## MariaDB admin password
|
||||
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run
|
||||
##
|
||||
# mariadbRootPassword:
|
||||
|
||||
## Enable persistence using Persistent Volume Claims
|
||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
##
|
||||
persistence:
|
||||
enabled: true
|
||||
## A manually manage Persistent Volume Claim
|
||||
## Requires mariadb.persistence.enable: true
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
# existingClaim:
|
||||
|
||||
## mariadb data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
##
|
||||
## PostgreSQL chart configuration
|
||||
##
|
||||
postgresql:
|
||||
## PostgreSQL admin password
|
||||
## ref: https://github.com/bitnami/bitnami-docker-postgresql/blob/master/README.md#setting-the-root-password-on-first-run
|
||||
##
|
||||
# postgresqlPassword:
|
||||
|
||||
## Enable persistence using Persistent Volume Claims
|
||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
##
|
||||
persistence:
|
||||
enabled: true
|
||||
## A manually manage Persistent Volume Claim
|
||||
## Requires postgresql.persistence.enable: true
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
# existingClaim:
|
||||
|
||||
## postgresql data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
## Kubernetes configuration
|
||||
## minikube: NodePort
|
||||
## ingress: ClusterIP
|
||||
## elsewhere: LoadBalancer
|
||||
##
|
||||
serviceType: LoadBalancer
|
||||
## Control hosts connecting to "LoadBalancer" only
|
||||
serviceLoadBalancerSourceRanges:
|
||||
- 0.0.0.0/0
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
hostname: redmine.cluser.local
|
||||
annotations:
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/24,172.10.0.1"
|
||||
tls:
|
||||
# - secretName: redmine.cluster.local
|
||||
# hosts:
|
||||
# - redmine.cluster.local
|
||||
|
||||
## For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
|
||||
## For Kubernetes v1.7, use 'networking.k8s.io/v1'
|
||||
networkPolicyApiVersion: extensions/v1beta1
|
||||
|
||||
## Enable persistence using Persistent Volume Claims
|
||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
##
|
||||
persistence:
|
||||
enabled: true
|
||||
## A manually manage Persistent Volume Claim
|
||||
## Requires persistence.enable: true
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
# existingClaim:
|
||||
|
||||
## redmine data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
Reference in New Issue
Block a user