Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot] 905283f134 chore: release v0.2.10 2026-02-13 01:48:33 +00:00
Chris Farhood 9c62405a0c fix: resolve 'Body is disturbed or locked' fetch error
The error was caused by attempting to read the response body twice:
- First with response.json()
- Then with response.text() in the error handler

This caused the 'Body is disturbed or locked' error that was being
displayed as 'The string did not match the expected pattern'.

Fix: Removed the duplicate response.text() call in error handler.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-12 20:47:37 -05:00
4 changed files with 7 additions and 6 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
# Artifact Hub package metadata file
# https://github.com/artifacthub/hub/blob/master/docs/metadata/artifacthub-pkg.yml
version: 0.2.9
version: 0.2.10
name: headlamp-sealed-secrets
displayName: Sealed Secrets Plugin for Headlamp
createdAt: "2026-02-12T00:00:00Z"
description: A comprehensive Headlamp plugin for managing Bitnami Sealed Secrets with client-side encryption and RBAC-aware UI
license: Apache-2.0
homeURL: https://github.com/privilegedescalation/headlamp-sealed-secrets-plugin
appVersion: 0.2.9
appVersion: 0.2.10
containersImages:
- name: sealed-secrets-controller
image: docker.io/bitnami/sealed-secrets-controller:v0.24.0
@@ -19,8 +19,8 @@ keywords:
- encryption
- security
annotations:
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-sealed-secrets-plugin/releases/download/v0.2.9/headlamp-sealed-secrets-0.2.9.tar.gz"
headlamp/plugin/archive-checksum: sha256:196f58dcd823a1e1b20b061eb22583121e6cd19bf7491c7dcc72658dc7fd15bc
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-sealed-secrets-plugin/releases/download/v0.2.10/headlamp-sealed-secrets-0.2.10.tar.gz"
headlamp/plugin/archive-checksum: sha256:f78b772929d9e26dcbb34a52c233f79219ee010619ab34469e3c9bf12ee81435
headlamp/plugin/version-compat: ">=0.13.0"
headlamp/plugin/distro-compat: "desktop,in-cluster,web,docker-desktop"
links:
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "headlamp-sealed-secrets",
"version": "0.2.9",
"version": "0.2.10",
"description": "Headlamp plugin for Bitnami Sealed Secrets - manage encrypted Kubernetes secrets",
"files": [
"dist",
@@ -129,7 +129,8 @@ export class SealedSecret extends KubeObject<SealedSecretInterface> {
if (response.status === 404) {
throw new Error('SealedSecrets CRD not found. Please install Sealed Secrets on the cluster.');
}
throw new Error(`Failed to fetch CRD: ${response.status} ${response.statusText}`);
const errorText = await response.text().catch(() => response.statusText);
throw new Error(`Failed to fetch CRD (${response.status} ${response.statusText}): ${errorText}`);
}
const crd = await response.json();