Change focalboard image (#1226)

This commit is contained in:
Dennis Zhang 2021-10-02 07:20:20 -07:00 committed by GitHub
parent a82e691445
commit b9dc4a55bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 74 additions and 12 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.6.7
appVersion: 0.9.0
description: Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
name: focalboard
version: 3.0.1
version: 4.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- focalboard

View File

@ -1,6 +1,6 @@
# focalboard
![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![AppVersion: 0.6.7](https://img.shields.io/badge/AppVersion-0.6.7-informational?style=flat-square)
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
@ -77,10 +77,11 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. See more environment variables in the [image entrypoint script](https://github.com/FlipEnergy/container-images/blob/main/focalboard/entrypoint.sh) |
| config | string | `"{\n \"serverRoot\": \"http://localhost:8000\",\n \"port\": 8000,\n \"dbtype\": \"sqlite3\",\n \"dbconfig\": \"/data/focalboard.db\",\n \"postgres_dbconfig\": \"dbname=focalboard sslmode=disable\",\n \"useSSL\": false,\n \"webpath\": \"./pack\",\n \"filespath\": \"/data/files\",\n \"telemetry\": true,\n \"session_expire_time\": 2592000,\n \"session_refresh_time\": 18000,\n \"localOnly\": false,\n \"enableLocalMode\": true,\n \"localModeSocketLocation\": \"/var/tmp/focalboard_local.socket\"\n}\n"` | |
| env | object | See below | environment variables. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"flipenergy/focalboard"` | image repository |
| image.tag | string | `"0.6.7"` | image tag |
| image.repository | string | `"mattermost/focalboard"` | image repository |
| image.tag | string | `"0.9.0"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
@ -91,6 +92,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [4.0.0]
#### Changed
- Changed image to official mattermost/focalboard image
- Removes unsupported environment variables
- add configmap for config
### [3.0.0]
#### Changed

View File

@ -9,6 +9,15 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [4.0.0]
#### Changed
- Changed image to official mattermost/focalboard image
- Removes unsupported environment variables
- add configmap for config
### [3.0.0]
#### Changed

View File

@ -1 +1,19 @@
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "focalboard.harcodedValues" -}}
persistence:
focal-config:
enabled: "true"
mountPath: "/opt/focalboard/config.json"
subPath: config.json
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "focalboard.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-config
labels:
{{- include "common.labels" . | nindent 4 }}
data:
config.json: |
{{- .Values.config | nindent 4 }}

View File

@ -7,18 +7,35 @@
image:
# -- image repository
repository: flipenergy/focalboard
repository: mattermost/focalboard
# -- image pull policy
pullPolicy: IfNotPresent
# -- image tag
tag: 0.6.7
tag: 0.9.0
# -- environment variables. See more environment variables in the [image entrypoint script](https://github.com/FlipEnergy/container-images/blob/main/focalboard/entrypoint.sh)
# -- environment variables.
# @default -- See below
env: {}
# SERVER_ROOT:
# DBTYPE:
# DBCONFIG:
# See the Administrator's Guide for config reference: https://www.focalboard.com/guide/admin/
config: |
{
"serverRoot": "http://localhost:8000",
"port": 8000,
"dbtype": "sqlite3",
"dbconfig": "/data/focalboard.db",
"postgres_dbconfig": "dbname=focalboard sslmode=disable",
"useSSL": false,
"webpath": "./pack",
"filespath": "/data/files",
"telemetry": true,
"session_expire_time": 2592000,
"session_refresh_time": 18000,
"localOnly": false,
"enableLocalMode": true,
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
}
# -- Configures service settings for the chart.
# @default -- See values.yaml