From 6b8aaafbc36182e9bd1ec2810b02888a6ea9b838 Mon Sep 17 00:00:00 2001 From: Ryan Walter Date: Thu, 10 Jun 2021 11:57:43 -0500 Subject: [PATCH] [haste-server] Updated to Commons 3.0.0 (#947) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [haste-server] Updated to Commons 3.0.0 * Update charts/stable/haste-server/Chart.yaml Co-authored-by: ᗪєνιη ᗷυнʟ * Inline docs for haste-server * Update charts/stable/haste-server/README_CHANGELOG.md.gotmpl Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs * Update charts/stable/haste-server/values.yaml Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs * bump commons and regen doc Co-authored-by: ᗪєνιη ᗷυнʟ Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- charts/stable/haste-server/Chart.yaml | 4 +-- charts/stable/haste-server/README.md | 36 +++++++++++++------ .../haste-server/README_CHANGELOG.md.gotmpl | 16 +++++++++ charts/stable/haste-server/values.yaml | 25 +++++++++---- 4 files changed, 63 insertions(+), 18 deletions(-) diff --git a/charts/stable/haste-server/Chart.yaml b/charts/stable/haste-server/Chart.yaml index 247971cd..33653309 100644 --- a/charts/stable/haste-server/Chart.yaml +++ b/charts/stable/haste-server/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: latest description: Simple text sharing name: haste-server -version: 1.1.0 +version: 2.0.0 kubeVersion: ">=1.16.0-0" keywords: - haste @@ -20,4 +20,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.0.2 diff --git a/charts/stable/haste-server/README.md b/charts/stable/haste-server/README.md index 09045d68..bd7991aa 100644 --- a/charts/stable/haste-server/README.md +++ b/charts/stable/haste-server/README.md @@ -1,6 +1,6 @@ # haste-server -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) Simple text sharing @@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0` | Repository | Name | Version | |------------|------|---------| -| https://library-charts.k8s-at-home.com | common | 2.5.0 | +| https://library-charts.k8s-at-home.com | common | 3.0.2 | ## TL;DR @@ -76,14 +76,15 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env.STORAGE_FILEPATH | string | `"/config"` | | -| env.STORAGE_TYPE | string | `"file"` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"ghcr.io/k8s-at-home/haste-server"` | | -| image.tag | string | `"latest"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| service.port.port | int | `7777` | | +| env | object | See below | environment variables. See [image docs](https://github.com/seejohnrun/haste-server) for more details. | +| env.STORAGE_FILEPATH | string | `"/config"` | filepath for persistance | +| env.STORAGE_TYPE | string | `"file"` | sets backend | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"ghcr.io/k8s-at-home/haste-server"` | image repository | +| image.tag | string | `"latest"` | 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. Normally this does not need to be modified. | | strategy.type | string | `"Recreate"` | | ## Changelog @@ -92,6 +93,21 @@ 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). +### [2.0.0] + +#### Added + +- N/A + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored). + Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values. + +#### Removed + +- N/A + ### [1.0.2] #### Added diff --git a/charts/stable/haste-server/README_CHANGELOG.md.gotmpl b/charts/stable/haste-server/README_CHANGELOG.md.gotmpl index 80c49b4a..103216f0 100644 --- a/charts/stable/haste-server/README_CHANGELOG.md.gotmpl +++ b/charts/stable/haste-server/README_CHANGELOG.md.gotmpl @@ -9,6 +9,22 @@ 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). +### [2.0.0] + +#### Added + +- N/A + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored). + Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values. + +#### Removed + +- N/A + + ### [1.0.2] #### Added diff --git a/charts/stable/haste-server/values.yaml b/charts/stable/haste-server/values.yaml index 059b163e..bfb4c9c9 100644 --- a/charts/stable/haste-server/values.yaml +++ b/charts/stable/haste-server/values.yaml @@ -6,27 +6,40 @@ # image: + # -- image repository repository: ghcr.io/k8s-at-home/haste-server + # -- image pull policy pullPolicy: IfNotPresent + # -- image tag tag: latest strategy: type: Recreate -# See more environment variables in the haste-server documentation -# https://github.com/rwaltr/haste-server +# -- environment variables. See [image docs](https://github.com/seejohnrun/haste-server) for more details. +# @default -- See below env: + # -- filepath for persistance STORAGE_FILEPATH: "/config" + # -- sets backend STORAGE_TYPE: "file" +# -- Configures service settings for the chart. Normally this does not need to be modified. +# @default -- See values.yaml service: - port: - port: 7777 + main: + ports: + http: + port: 7777 ingress: - enabled: false + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml persistence: config: enabled: false -# size: 1Gi