chore(helm): update image ghcr.io/enchant97/hasty-paste 1.10.0 → 2.0.0 (#32733)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/enchant97/hasty-paste](https://redirect.github.com/enchant97/hasty-paste)
| major | `fab6228` -> `9afbe87` |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>enchant97/hasty-paste (ghcr.io/enchant97/hasty-paste)</summary>

###
[`v2.0.0`](https://redirect.github.com/enchant97/hasty-paste/blob/HEAD/CHANGELOG.md#200---2025-02-27)

[Compare
Source](https://redirect.github.com/enchant97/hasty-paste/compare/v1.10.0...v2.0.0)

##### Added

-   V2 app

##### Removed

-   V1 app

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWFqb3IiXX0=-->

---------

Co-authored-by: alfi0812 <admin@alfi0812.de>
This commit is contained in:
TrueCharts Bot
2025-03-03 11:46:53 +01:00
committed by GitHub
co-authored by alfi0812
parent 23aadc1c51
commit d8c03e8c7c
5 changed files with 19 additions and 119 deletions
+2 -9
View File
@@ -6,7 +6,7 @@ annotations:
truecharts.org/min_helm_version: "3.11"
truecharts.org/train: stable
apiVersion: v2
appVersion: 1.10.0
appVersion: 2.0.0
dependencies:
- name: common
version: 25.4.10
@@ -15,13 +15,6 @@ dependencies:
alias: ""
tags: []
import-values: []
- name: redis
version: 15.6.5
repository: oci://tccr.io/truecharts
condition: redis.enabled
alias: ""
tags: []
import-values: []
deprecated: false
description: A fast and minimal paste bin, written in Python using Quart.
home: https://truecharts.org/charts/stable/hasty-paste
@@ -44,4 +37,4 @@ sources:
- https://github.com/enchant97/hasty-paste/blob/main/docs/install.md
- https://github.com/truecharts/charts/tree/master/charts/stable/hasty-paste
type: application
version: 8.11.6
version: 9.0.0
@@ -0,0 +1,8 @@
workload:
main:
podSpec:
containers:
main:
env:
AUTH_TOKEN_SECRET: CmKH8PetPXfkBKWqejMyeLafMkHSY1agTk0z3yd1bY8=
SESSION_SECRET: CmKH8PetPXfkBKWqejMyeLafMkHSY1agTk0z3yd1bY8=
@@ -1,45 +0,0 @@
{{/* Define the secret */}}
{{- define "hastypaste.secrets" -}}
{{- $secretName := (printf "%s-hastypaste-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }}
enabled: true
data:
{{- $redis := .Values.redis -}}
{{- $redisPass := $redis.creds.redisPassword | trimAll "\"" -}}
{{- $redisUser := $redis.username }}
{{- $redisURL := $redis.creds.plainhost | trimAll "\"" }}
CACHE__REDIS_URI: {{ printf "redis://%v:%v@%v:6379/0" $redisUser $redisPass $redisURL | quote }}
CACHE__ENABLE: "true"
PORT: {{ .Values.service.main.ports.main.port | quote }}
TIME_ZONE: {{ .Values.TZ }}
PASTE_ROOT: {{ .Values.persistence.config.mountPath | quote }}
{{/* User defined */}}
{{- $hasty := .Values.hastyPaste }}
NEW_AT_INDEX: {{ $hasty.new_at_index | quote }}
ENABLE_PUBLIC_LIST: {{ $hasty.enable_public_list | quote }}
MAX_BODY_SIZE: {{ (int $hasty.max_body_size) | quote }}
LOG_LEVEL: {{ $hasty.log_level }}
WORKERS: {{ $hasty.workers | quote }}
{{- $interface := $hasty.interface }}
UI_DEFAULT__USE_LONG_ID: {{ $interface.default_use_long_id | quote }}
UI_DEFAULT__EXPIRE_TIME__ENABLE: {{ $interface.default_expire_time_enable | quote }}
UI_DEFAULT__EXPIRE_TIME__MINUTES: {{ $interface.default_expire_time_minutes | quote }}
UI_DEFAULT__EXPIRE_TIME__HOURS: {{ $interface.default_expire_time_hours | quote }}
UI_DEFAULT__EXPIRE_TIME__DAYS: {{ $interface.default_expire_time_days | quote }}
{{- $branding := $hasty.branding }}
{{- with $branding.title }}
BRANDING__TITLE: {{ . | quote }}
{{- end -}}
{{- with $branding.description }}
BRANDING__DESCRIPTION: {{ . | quote }}
{{- end -}}
{{- with $branding.icon }}
BRANDING__ICON: {{ . | quote }}
{{- end -}}
{{- with $branding.favicon }}
BRANDING__FAVICON: {{ . | quote }}
{{- end -}}
{{- with $branding.css_file }}
BRANDING__CSS_FILE: {{ . | quote }}
{{- end }}
BRANDING__HIDE_VERSION: {{ $branding.hide_version | quote }}
{{- end }}
@@ -1,11 +1,2 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for hastyPaste */}}
{{- $secrets := include "hastypaste.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "hastypaste-secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}
{{ include "tc.v1.common.loader.all" . }}
+8 -55
View File
@@ -1,36 +1,11 @@
hastyPaste:
branding:
css_file: ""
description: ""
favicon: ""
hide_version: false
icon: ""
title: ""
enable_public_list: false
interface:
default_expire_time_days: 0
default_expire_time_enable: false
default_expire_time_hours: 1
default_expire_time_minutes: 0
default_use_long_id: false
log_level: INFO
max_body_size: 2000000
new_at_index: false
workers: 1
image:
pullPolicy: IfNotPresent
repository: ghcr.io/enchant97/hasty-paste
tag: 1.10.0@sha256:fab62283672928d3313bc4e2c7cb91c133c8a00c3d094417ce58c2c6d11272e1
tag: 2.0.0@sha256:9afbe8703bb91ceb3b1e8de526155a980359981e838a42ded97548ef89b26869
persistence:
config:
enabled: true
mountPath: /app/data
portal:
open:
enabled: true
redis:
enabled: true
username: default
mountPath: /opt/hasty-paste/data
service:
main:
ports:
@@ -42,31 +17,9 @@ workload:
podSpec:
containers:
main:
envFrom:
- secretRef:
name: hastypaste-secrets
probes:
liveness:
custom: true
enabled: true
spec:
exec:
command:
- /bin/sh
- health-check.sh
readiness:
custom: true
enabled: true
spec:
exec:
command:
- /bin/sh
- health-check.sh
startup:
custom: true
enabled: true
spec:
exec:
command:
- /bin/sh
- health-check.sh
env:
PUBLIC_URL: "http://example.com"
# Secrets can be generated by this command: openssl rand -base64 32
AUTH_TOKEN_SECRET: ""
SESSION_SECRET: ""
BIND__PORT: "{{ .Values.service.main.ports.main.port }}"