diff --git a/halo/Chart.yaml b/halo/Chart.yaml index 455bd379a..edcc23952 100644 --- a/halo/Chart.yaml +++ b/halo/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -appVersion: 2.21.3 +appVersion: 2.26.0 description: A Helm chart for Kubernetes name: halo type: application -version: 1.1.24 +version: 1.1.30 \ No newline at end of file diff --git a/halo/OlaresManifest.yaml b/halo/OlaresManifest.yaml index 2da97811d..d15016d9f 100644 --- a/halo/OlaresManifest.yaml +++ b/halo/OlaresManifest.yaml @@ -9,11 +9,15 @@ metadata: description: Powerful and easy-to-use open source website building tool icon: https://app.cdn.olares.com/appstore/halo/icon.png appid: halo - version: '1.1.24' + version: '1.1.30' title: Halo categories: - Creativity - Fun + - workspace + - homelab + tags: + - website-builder permission: appData: true @@ -21,7 +25,7 @@ permission: userData: - Home spec: - versionName: '2.21.3' + versionName: '2.26.0' featuredImage: https://app.cdn.olares.com/appstore/halo/1.jpg promoteImage: - https://app.cdn.olares.com/appstore/halo/1.jpg @@ -53,27 +57,48 @@ spec: - Supports drag and drop image upload - Supports editor extension through plug-ins upgradeDescription: | - Upgrade to version 2.21.3 + Upgrade to version 2.26.0 + + New features + - Preset AI Foundation plugin + - Email verification code login for verified accounts + - Edit parent category/menu item in console + - Set password for OAuth2 users in user center and theme templates + - OAuth2 registration with email verification before accessing protected resources + - Personal access tokens show last used time and creation time + - Theme management supports search and batch uninstall with optional config deletion + - Rich text editor shortcut panel and cross-platform shortcuts Function optimization - - Supports disabling the theme preview function, but users with theme management permissions are not affected by this function. by @guqing in #7277 - - Add favicon to login-related pages. by @ruibaby in #7288 + - Optimize category and menu hierarchy structures + - Improve editor gallery loading, find/replace, table, indentation, and selection experience + - Console global search loads less data and shows clearer progress/failure hints + - Theme template selectors show template descriptions Bug fixes - - Optimize the performance of the editor drag function. by @LIlGG in #7601 - - Optimize the default editor indentation logic. by @LIlGG in #7600 - - Change the editor's toolbox button to click to expand. by @ruibaby in #7598 - - The article preview page no longer counts access data. by @GoldenSupremeSaltedFish in #7582 - - Upgrade Spring Boot dependency to 3.5.3. by @JohnNiang in #7596 - - Upgrade Tiptap to 2.24.x by @LIlGG in #7613 + - Fix console access for users with multiple roles + - Fix login when username matches another user's email + - Fix plugin startup status refresh, context leak, and orphaned JAR files after upgrade/uninstall + - Fix attachment preview cropping, editor paste transfer, menu migration duplicates, and theme setting freezes + + Olares packaging + - Switch to official halohub/halo:2.26.0 image with uid 1000 + - Add init-permissions for appData ownership and setup plugin writes + - Set apiTimeout to 0 to avoid setup timeout + - Use /actuator/health/liveness for liveness probe - Check out the release note for more information: https://github.com/halo-dev/halo/releases/tag/v2.21.3 + Check out the release note for more information: https://github.com/halo-dev/halo/releases/tag/v2.26.0 developer: Halo submitter: Olares locale: - en-US - zh-CN + - de-DE + - es-ES + - it-IT + - fr-FR + - ja-JP requiredMemory: 1Gi limitedMemory: 3Gi requiredDisk: 128Mi @@ -96,6 +121,7 @@ middleware: distributed: true options: allowMultipleInstall: true + apiTimeout: 0 allowedOutboundPorts: - 465 - 587 diff --git a/halo/i18n/de-DE/OlaresManifest.yaml b/halo/i18n/de-DE/OlaresManifest.yaml new file mode 100644 index 000000000..acc4d5fca --- /dev/null +++ b/halo/i18n/de-DE/OlaresManifest.yaml @@ -0,0 +1,60 @@ +metadata: + title: Halo + description: Leistungsstarkes und benutzerfreundliches Open-Source-Werkzeug zum Erstellen von Websites +spec: + fullDescription: | + Halo ist ein leistungsstarkes, benutzerfreundliches Werkzeug zum Erstellen von Websites. Mit zahlreichen Vorlagen und Plugins hilft es Ihnen, Ihre ideale Website zu gestalten. + + **Funktionen** + + **Modulare Architektur** + Halo nutzt eine modulare Architektur mit geringer Kopplung und hoher Flexibilität. Plugins können bei Bedarf zur Laufzeit installiert und deinstalliert werden. Eine Plugin-Entwicklungsschnittstelle sorgt für hohe Erweiterbarkeit und Wartbarkeit. + - Installation und Deinstallation von Plugins zur Laufzeit + - Einfache Integration von Drittanbieterplattformen + - Einheitliche konfigurierbare Einstellungen + - Benutzerdefinierte Modelle und automatisch erzeugte RESTful APIs + + **Funktionsreiche Themes** + Der vollständige Theme-Vorlagenmechanismus ermöglicht die individuelle Gestaltung der Benutzeroberfläche. + - Themes dynamisch wechseln + - Bearbeitung und Vorschau in Echtzeit + - Mehrsprachigkeit + - Weitere Funktionen durch Plugins + + **Editor** + Der Rich-Text-Editor bietet Titel, Absätze, Zitate, Listen, Codeblöcke, Stilattribute, Bilduploads, Videos und mehr. + - Vollständige Unterstützung für Rich-Text + - Drag-and-drop-Bildupload + - Editor-Erweiterungen durch Plugins + upgradeDescription: | + Upgrade auf Version 2.26.0 + + Neue Funktionen + - Voreingestelltes AI Foundation-Plugin + - Anmeldung per E-Mail-Bestätigungscode für verifizierte Konten + - Übergeordnete Kategorie/Menüeinträge in der Konsole bearbeiten + - Passwort für OAuth2-Benutzer im Benutzerzentrum und in Theme-Vorlagen setzen + - OAuth2-Registrierung mit E-Mail-Prüfung vor geschützten Ressourcen + - Persönliche Zugriffstoken zeigen letzte Nutzung und Erstellungszeit + - Theme-Suche und Stapeldeinstallation mit optionalem Löschen der Konfiguration + - Rich-Text-Editor mit Schnellzugriffsleiste und plattformübergreifenden Kürzeln + + Funktionsoptimierung + - Kategorie- und Menühierarchien optimiert + - Galerie, Suchen/Ersetzen, Tabellen, Einrückung und Auswahl im Editor verbessert + - Globale Konsolensuche lädt weniger Daten und zeigt klarere Hinweise + - Theme-Vorlagenauswahl zeigt Beschreibungen + + Fehlerbehebungen + - Konsolenzugriff bei mehreren Rollen + - Anmeldung, wenn Benutzername der E-Mail eines anderen Benutzers entspricht + - Plugin-Status, Kontextleck und verwaiste JAR-Dateien + - Vorschauzuschnitt, Einfügen im Editor, doppelte Menümigrationen und eingefrorene Theme-Einstellungen + + Olares-Paketierung + - Offizielles Image halohub/halo:2.26.0 mit uid 1000 + - init-permissions für appData-Besitz und Plugin-Schreibzugriff + - apiTimeout auf 0 + - Liveness-Probe /actuator/health/liveness + + Weitere Informationen: https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/en-US/OlaresManifest.yaml b/halo/i18n/en-US/OlaresManifest.yaml index f38149cac..9388a1e57 100644 --- a/halo/i18n/en-US/OlaresManifest.yaml +++ b/halo/i18n/en-US/OlaresManifest.yaml @@ -27,17 +27,34 @@ spec: - Supports drag and drop image upload - Supports editor extension through plug-ins upgradeDescription: | - Upgrade to version 2.21.3 - + Upgrade to version 2.26.0 + New features - - Support downloading to attachment library via remote address. by @ruibaby in #7602 + - Preset AI Foundation plugin + - Email verification code login for verified accounts + - Edit parent category/menu item in console + - Set password for OAuth2 users in user center and theme templates + - OAuth2 registration with email verification before accessing protected resources + - Personal access tokens show last used time and creation time + - Theme management supports search and batch uninstall with optional config deletion + - Rich text editor shortcut panel and cross-platform shortcuts Function optimization - - Optimize the performance of the editor drag function. by @LIlGG in #7601 - - Optimize the default editor indentation logic. by @LIlGG in #7600 - - Change the editor's toolbox button to click to expand. by @ruibaby in #7598 - - The article preview page no longer counts access data. by @GoldenSupremeSaltedFish in #7582 - - Upgrade Spring Boot dependency to 3.5.3. by @JohnNiang in #7596 - - Upgrade Tiptap to 2.24.x by @LIlGG in #7613 + - Optimize category and menu hierarchy structures + - Improve editor gallery loading, find/replace, table, indentation, and selection experience + - Console global search loads less data and shows clearer progress/failure hints + - Theme template selectors show template descriptions + + Bug fixes + - Fix console access for users with multiple roles + - Fix login when username matches another user's email + - Fix plugin startup status refresh, context leak, and orphaned JAR files after upgrade/uninstall + - Fix attachment preview cropping, editor paste transfer, menu migration duplicates, and theme setting freezes + + Olares packaging + - Switch to official halohub/halo:2.26.0 image with uid 1000 + - Add init-permissions for appData ownership and setup plugin writes + - Set apiTimeout to 0 to avoid setup timeout + - Use /actuator/health/liveness for liveness probe - Check out the release note for more information: https://github.com/halo-dev/halo/releases/tag/v2.21.3 + Check out the release note for more information: https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/es-ES/OlaresManifest.yaml b/halo/i18n/es-ES/OlaresManifest.yaml new file mode 100644 index 000000000..4085c7b4d --- /dev/null +++ b/halo/i18n/es-ES/OlaresManifest.yaml @@ -0,0 +1,60 @@ +metadata: + title: Halo + description: Herramienta de código abierto potente y fácil de usar para crear sitios web +spec: + fullDescription: | + Halo es una herramienta potente y fácil de usar para crear sitios web. Sus numerosas plantillas y plugins te ayudan a construir tu sitio ideal. + + **Funciones** + + **Arquitectura modular** + Halo utiliza una arquitectura modular, con poco acoplamiento entre módulos y mayor flexibilidad. Permite instalar y desinstalar plugins bajo demanda e incluye una interfaz de desarrollo que garantiza escalabilidad y facilidad de mantenimiento. + - Instalación y desinstalación de plugins en tiempo de ejecución + - Integración más sencilla de plataformas de terceros + - Ajustes configurables unificados + - Modelos personalizados y generación automática de API RESTful + + **Temas con muchas funciones** + Su completo mecanismo de plantillas permite personalizar la apariencia del sitio. + - Cambio dinámico de tema + - Edición y vista previa en tiempo real + - Compatibilidad multilingüe + - Más funciones mediante plugins + + **Editor** + El editor de texto enriquecido incluye títulos, párrafos, citas, listas, bloques de código, estilos, carga de imágenes, vídeos y más. + - Compatibilidad total con texto enriquecido + - Carga de imágenes mediante arrastrar y soltar + - Extensiones del editor mediante plugins + upgradeDescription: | + Actualización a la versión 2.26.0 + + Novedades + - Plugin AI Foundation preinstalado + - Inicio de sesión por código de correo para cuentas verificadas + - Edición de categoría/elemento de menú padre en la consola + - Contraseña para usuarios OAuth2 en el centro de usuario y plantillas + - Registro OAuth2 con verificación de correo antes de recursos protegidos + - Los tokens personales muestran último uso y creación + - Búsqueda y desinstalación masiva de temas, con borrado opcional de configuración + - Panel de atajos del editor y atajos multiplataforma + + Optimización + - Jerarquías de categorías y menús optimizadas + - Mejoras en galería, buscar/reemplazar, tablas, sangría y selección + - La búsqueda global carga menos datos y muestra indicaciones más claras + - Los selectores de plantillas muestran descripciones + + Correcciones + - Acceso a consola con varios roles + - Inicio de sesión si el usuario coincide con el correo de otro usuario + - Estado de plugins, fuga de contexto y archivos JAR huérfanos + - Recorte de vistas previas, pegado, menús duplicados y bloqueo de ajustes + + Empaquetado Olares + - Imagen oficial halohub/halo:2.26.0 con uid 1000 + - init-permissions para appData y escritura de plugins + - apiTimeout en 0 + - Sonda /actuator/health/liveness + + Más información: https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/fr-FR/OlaresManifest.yaml b/halo/i18n/fr-FR/OlaresManifest.yaml new file mode 100644 index 000000000..69d3a884f --- /dev/null +++ b/halo/i18n/fr-FR/OlaresManifest.yaml @@ -0,0 +1,60 @@ +metadata: + title: Halo + description: Outil open source puissant et facile à utiliser pour créer des sites Web +spec: + fullDescription: | + Halo est un outil open source puissant et facile à utiliser pour créer des sites Web. Grâce à ses nombreux modèles et plugins, il vous aide à construire le site idéal. + + **Fonctionnalités** + + **Architecture modulaire** + Halo adopte une architecture modulaire, faiblement couplée et plus flexible. Les plugins peuvent être installés et désinstallés à la demande. Une interface de développement garantit extensibilité et maintenabilité. + - Installation et désinstallation des plugins à l'exécution + - Intégration simplifiée des plateformes tierces + - Paramètres configurables unifiés + - Modèles personnalisés et génération automatique d'API RESTful + + **Thèmes riches en fonctionnalités** + Le mécanisme complet de modèles permet de personnaliser l'apparence du site. + - Changement dynamique de thème + - Modification et aperçu en temps réel + - Prise en charge multilingue + - Fonctions supplémentaires grâce aux plugins + + **Éditeur** + L'éditeur de texte enrichi propose titres, paragraphes, citations, listes, blocs de code, styles, importation d'images, vidéos et plus encore. + - Prise en charge complète du texte enrichi + - Importation d'images par glisser-déposer + - Extension de l'éditeur via des plugins + upgradeDescription: | + Mise à niveau vers la version 2.26.0 + + Nouveautés + - Plugin AI Foundation prédéfini + - Connexion par code e-mail pour les comptes vérifiés + - Modification de la catégorie/entrée de menu parente dans la console + - Mot de passe pour les utilisateurs OAuth2 dans le centre utilisateur et les thèmes + - Inscription OAuth2 avec vérification e-mail avant les ressources protégées + - Les jetons personnels affichent dernière utilisation et création + - Recherche et désinstallation groupée de thèmes, avec suppression facultative de la configuration + - Panneau de raccourcis de l'éditeur et raccourcis multiplateformes + + Optimisations + - Hiérarchies des catégories et menus optimisées + - Amélioration de la galerie, recherche/remplacement, tableaux, retrait et sélection + - La recherche globale charge moins de données et fournit des indications plus claires + - Les sélecteurs de modèles affichent leur description + + Corrections + - Accès à la console avec plusieurs rôles + - Connexion quand l'identifiant correspond à l'e-mail d'un autre utilisateur + - État des plugins, fuite de contexte et JAR orphelins + - Recadrage des aperçus, collage, doublons de menus et blocage des paramètres + + Paquet Olares + - Image officielle halohub/halo:2.26.0 avec uid 1000 + - init-permissions pour appData et l'écriture des plugins + - apiTimeout défini sur 0 + - Sonde /actuator/health/liveness + + Plus d'informations : https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/it-IT/OlaresManifest.yaml b/halo/i18n/it-IT/OlaresManifest.yaml new file mode 100644 index 000000000..bfabff32f --- /dev/null +++ b/halo/i18n/it-IT/OlaresManifest.yaml @@ -0,0 +1,60 @@ +metadata: + title: Halo + description: Strumento open source potente e facile da usare per creare siti web +spec: + fullDescription: | + Halo è uno strumento open source potente e facile da usare per creare siti web. Grazie a numerosi modelli e plugin, ti aiuta a realizzare il sito ideale. + + **Funzionalità** + + **Architettura modulare** + Halo adotta un'architettura modulare con basso accoppiamento e grande flessibilità. Consente di installare e disinstallare plugin su richiesta e offre un'interfaccia di sviluppo che garantisce estensibilità e manutenibilità. + - Installazione e disinstallazione dei plugin in esecuzione + - Facile integrazione con piattaforme di terze parti + - Impostazioni configurabili unificate + - Modelli personalizzati e generazione automatica di API RESTful + + **Temi ricchi di funzioni** + Il meccanismo completo di modelli consente di personalizzare l'aspetto del sito. + - Cambio dinamico del tema + - Modifica e anteprima in tempo reale + - Supporto multilingue + - Altre funzioni tramite plugin + + **Editor** + L'editor rich text offre titoli, paragrafi, citazioni, elenchi, blocchi di codice, stili, caricamento immagini, video e altro. + - Supporto completo del rich text + - Caricamento immagini tramite trascinamento + - Estensioni dell'editor tramite plugin + upgradeDescription: | + Aggiornamento alla versione 2.26.0 + + Novità + - Plugin AI Foundation preinstallato + - Accesso con codice email per account verificati + - Modifica della categoria/voce di menu padre dalla console + - Password per utenti OAuth2 nel centro utente e nei temi + - Registrazione OAuth2 con verifica email prima delle risorse protette + - I token personali mostrano ultimo uso e creazione + - Ricerca e disinstallazione in batch dei temi, con eliminazione facoltativa della configurazione + - Pannello scorciatoie dell'editor e scorciatoie multipiattaforma + + Ottimizzazioni + - Gerarchie di categorie e menu ottimizzate + - Miglioramenti a galleria, trova/sostituisci, tabelle, rientro e selezione + - La ricerca globale carica meno dati e mostra indicazioni più chiare + - I selettori dei modelli mostrano le descrizioni + + Correzioni + - Accesso alla console con più ruoli + - Accesso quando il nome utente coincide con l'email di un altro utente + - Stato dei plugin, perdita di contesto e JAR orfani + - Ritaglio anteprime, incolla nell'editor, menu duplicati e blocco impostazioni + + Pacchetto Olares + - Immagine ufficiale halohub/halo:2.26.0 con uid 1000 + - init-permissions per proprietà appData e scrittura plugin + - apiTimeout impostato a 0 + - Probe /actuator/health/liveness + + Ulteriori informazioni: https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/ja-JP/OlaresManifest.yaml b/halo/i18n/ja-JP/OlaresManifest.yaml new file mode 100644 index 000000000..e4b8206fe --- /dev/null +++ b/halo/i18n/ja-JP/OlaresManifest.yaml @@ -0,0 +1,60 @@ +metadata: + title: Halo + description: パワフルで使いやすいオープンソースの Web サイト構築ツール +spec: + fullDescription: | + Halo は、パワフルで使いやすいオープンソースの Web サイト構築ツールです。豊富なテンプレートとプラグインで理想のサイトを構築できます。 + + **機能** + + **モジュラーアーキテクチャ** + Halo は機能モジュール間の結合度が低い柔軟なモジュラー構造を採用しています。必要に応じてプラグインをインストール、アンインストールでき、高い拡張性と保守性を備えます。 + - 実行時のプラグインのインストールとアンインストール + - サードパーティプラットフォームとの簡単な連携 + - 統一された設定 + - カスタムモデルと RESTful API の自動生成 + + **機能豊富なテーマ** + 完全なテーマテンプレート機構により、好みに合わせてサイトの外観をカスタマイズできます。 + - テーマの動的変更 + - リアルタイム編集とプレビュー + - 多言語対応 + - プラグインによる機能追加 + + **エディター** + リッチテキストエディターは、タイトル、段落、引用、リスト、コードブロック、スタイル設定、画像アップロード、動画挿入などに対応します。 + - リッチテキスト形式を完全サポート + - ドラッグ&ドロップで画像をアップロード + - プラグインによるエディター拡張 + upgradeDescription: | + バージョン 2.26.0 へアップグレード + + 新機能 + - AI Foundation プラグインをプリセット + - 確認済みアカウントのメール認証コードログイン + - コンソールで親カテゴリー/メニュー項目を編集 + - ユーザーセンターとテーマで OAuth2 ユーザーのパスワードを設定 + - 保護リソースへのアクセス前にメール確認を行う OAuth2 登録 + - 個人アクセストークンに最終使用日時と作成日時を表示 + - テーマの検索と設定削除を選べる一括アンインストール + - エディターのショートカットパネルとクロスプラットフォームショートカット + + 機能改善 + - カテゴリーとメニューの階層構造を最適化 + - ギャラリー、検索/置換、表、インデント、選択操作を改善 + - コンソールのグローバル検索のデータ量を削減し、進捗/失敗表示を明確化 + - テーマテンプレート選択に説明を表示 + + 不具合修正 + - 複数ロールのユーザーのコンソールアクセス + - ユーザー名が別ユーザーのメールと一致する場合のログイン + - プラグイン状態、コンテキストリーク、孤立 JAR ファイル + - 添付プレビュー、貼り付け、メニュー重複、テーマ設定のフリーズ + + Olares パッケージ + - uid 1000 の公式 halohub/halo:2.26.0 イメージへ変更 + - appData 所有権とプラグイン書き込み用 init-permissions + - apiTimeout を 0 に設定 + - /actuator/health/liveness を liveness probe に使用 + + 詳細: https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/i18n/zh-CN/OlaresManifest.yaml b/halo/i18n/zh-CN/OlaresManifest.yaml index 1d2b22394..fa6a3537b 100644 --- a/halo/i18n/zh-CN/OlaresManifest.yaml +++ b/halo/i18n/zh-CN/OlaresManifest.yaml @@ -27,18 +27,34 @@ spec: - 支持拖拽和粘贴图片上传 - 支持通过插件扩展编辑器 upgradeDescription: | - 升级至 2.21.3 版本 + 升级至 2.26.0 版本 新特性 - - 支持通过远程地址下载到附件库。 by @ruibaby in #7602 + - 预设 AI Foundation 插件 + - 支持已验证邮箱的账号使用邮箱验证码登录 + - 支持在控制台编辑上级分类和菜单项 + - 支持 OAuth2 注册用户在用户中心和主题模板中设置密码 + - 支持 OAuth2 注册并在访问受保护资源前完成邮箱验证 + - 个人访问令牌列表显示最后使用时间和创建时间 + - 主题管理支持搜索已安装主题,并可批量卸载及删除对应配置 + - 富文本编辑器新增快捷键提示与快捷键面板 功能优化 - - 优化编辑器拖拽功能的性能。 by @LIlGG in #7601 - - 优化默认编辑器缩进逻辑。 by @LIlGG in #7600 - - 将编辑器的工具箱按钮改为点击展开。 by @ruibaby in #7598 - - 文章预览页面不再统计访问数据。 by @GoldenSupremeSaltedFish in #7582 - - 升级依赖 Spring Boot 至 3.5.3。 by @JohnNiang in #7596 - - 升级 Tiptap 至 2.24.x by @LIlGG in #7613 - - 还有许多问题修复 - 请查看完整的发布说明以获取更多信息:https://github.com/halo-dev/halo/releases/tag/v2.21.3 + - 优化文章分类与菜单的层级关联结构 + - 改进编辑器图库加载、查找替换、表格、缩进与选择体验 + - 优化 Console 全局搜索的初始化数据量与进度/失败提示 + - 文章、页面和分类的自定义模板选择项显示模板描述 + + 问题修复 + - 修复拥有多个角色的用户可能无法正常访问 Console 的问题 + - 修复用户名与其他用户邮箱相同时可能无法正确登录的问题 + - 修复插件启动状态不刷新、上下文泄漏,以及升级/卸载后残留孤立 JAR 的问题 + - 修复附件预览裁剪、编辑器粘贴转存、菜单迁移重复创建,以及主题设置界面卡死等问题 + + Olares 打包调整 + - 切换至官方 halohub/halo:2.26.0 镜像并以 uid 1000 运行 + - 增加 init-permissions,确保 appData 目录权限正确,避免初始化写插件失败 + - 设置 apiTimeout 为 0,避免初始化/setup 被网关 15 秒超时打断 + - 存活探针改用 /actuator/health/liveness + + 请查看完整的发布说明以获取更多信息:https://github.com/halo-dev/halo/releases/tag/v2.26.0 diff --git a/halo/owners b/halo/owners index 42e367cb8..54214d082 100644 --- a/halo/owners +++ b/halo/owners @@ -1,7 +1,3 @@ owners: -- 'LittleLollipop' -- 'TShentu' -- 'hysyeah' -- 'pengpeng' -- 'harveyff' -- 'zdf-org' \ No newline at end of file + - username: '@beclab' + title: 'Olares' diff --git a/halo/templates/deployment.yaml b/halo/templates/deployment.yaml index 8c6deb96d..f1438098f 100644 --- a/halo/templates/deployment.yaml +++ b/halo/templates/deployment.yaml @@ -21,11 +21,31 @@ spec: labels: app: halo spec: - containers: - - name: halo - image: "docker.io/beclab/halohub-halo:2.21.3" + initContainers: + - name: init-permissions + image: docker.io/beclab/aboveos-busybox:1.37.0 + imagePullPolicy: IfNotPresent + command: + - sh + - -c + - | + set -e + base=/app/data/.halo2 + for d in "$base" "$base/plugins" "$base/themes" "$base/attachments" "$base/logs" "$base/backups" "$base/indices"; do + mkdir -p "$d" + chown 1000:1000 "$d" + done + for d in plugins themes attachments logs backups indices; do + find "$base/$d" -maxdepth 1 ! -user 1000 -exec chown 1000:1000 {} + 2>/dev/null || true + done securityContext: runAsUser: 0 + volumeMounts: + - name: halo-vol + mountPath: /app/data/.halo2 + containers: + - name: halo + image: "docker.io/halohub/halo:2.26.0" env: - name: TZ value: "Etc/UTC" @@ -55,14 +75,14 @@ spec: imagePullPolicy: IfNotPresent livenessProbe: httpGet: - path: / + path: /actuator/health/liveness port: 8090 scheme: HTTP initialDelaySeconds: 30 - timeoutSeconds: 60 - periodSeconds: 60 + timeoutSeconds: 10 + periodSeconds: 30 successThreshold: 1 - failureThreshold: 10 + failureThreshold: 5 startupProbe: tcpSocket: port: 8090