Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7828f02b97 | |||
| d819ede977 | |||
| 73cb990ea0 | |||
| 567551747c | |||
| a22c2ca41b | |||
| 873ec033fe | |||
| 37391cd92a |
+4
-4
@@ -1,13 +1,13 @@
|
||||
# Artifact Hub package metadata file
|
||||
# https://github.com/artifacthub/hub/blob/master/docs/metadata/artifacthub-pkg.yml
|
||||
version: 0.2.6
|
||||
version: 0.2.7
|
||||
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.6
|
||||
appVersion: 0.2.7
|
||||
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.6/headlamp-sealed-secrets-0.2.6.tar.gz"
|
||||
headlamp/plugin/archive-checksum: sha256:0665d221ba8e1e08d5eb8596caa4138e480c7d8b8bb0853ca25d3bd6967adee1
|
||||
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-sealed-secrets-plugin/releases/download/v0.2.7/headlamp-sealed-secrets-0.2.7.tar.gz"
|
||||
headlamp/plugin/archive-checksum: sha256:b2ca7d70e22839178fe46f3618abe6fc6b9dc9b51b9c52a6faa4759d4f756152
|
||||
headlamp/plugin/version-compat: ">=0.13.0"
|
||||
headlamp/plugin/distro-compat: "desktop,in-cluster,web,docker-desktop"
|
||||
links:
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "headlamp-sealed-secrets",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.7",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "headlamp-sealed-secrets",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.7",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"node-forge": "^1.3.1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "headlamp-sealed-secrets",
|
||||
"version": "0.2.6",
|
||||
"version": "0.2.7",
|
||||
"description": "Headlamp plugin for Bitnami Sealed Secrets - manage encrypted Kubernetes secrets",
|
||||
"files": [
|
||||
"dist",
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
* SealedSecret Custom Resource Definition
|
||||
*/
|
||||
|
||||
import { apiFactoryWithNamespace } from '@kinvolk/headlamp-plugin/lib/lib/k8s/apiProxy';
|
||||
import { KubeObject } from '@kinvolk/headlamp-plugin/lib/lib/k8s/cluster';
|
||||
import { ApiProxy,K8s } from '@kinvolk/headlamp-plugin/lib';
|
||||
|
||||
const { apiFactoryWithNamespace } = ApiProxy;
|
||||
const { KubeObject } = K8s.cluster;
|
||||
import { AsyncResult, Err, Ok, tryCatchAsync } from '../types';
|
||||
import {
|
||||
SealedSecretInterface,
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
* TypeScript interfaces for Bitnami Sealed Secrets plugin
|
||||
*/
|
||||
|
||||
import { KubeObjectInterface } from '@kinvolk/headlamp-plugin/lib/lib/k8s/cluster';
|
||||
import { K8s } from '@kinvolk/headlamp-plugin/lib';
|
||||
|
||||
type KubeObjectInterface = K8s.cluster.KubeObjectInterface;
|
||||
|
||||
/**
|
||||
* Result type for operations that can fail
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import { defineConfig, mergeConfig } from 'vite';
|
||||
import baseConfig from '@kinvolk/headlamp-plugin/config/vite.config.mjs';
|
||||
|
||||
// Override the base config to add missing externals
|
||||
export default mergeConfig(baseConfig, defineConfig({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
globals: (request) => {
|
||||
// Add the missing /lib/lib/k8s/* mappings
|
||||
if (request === '@kinvolk/headlamp-plugin/lib/lib/k8s/cluster') {
|
||||
return 'pluginLib.libk8scluster';
|
||||
}
|
||||
if (request === '@kinvolk/headlamp-plugin/lib/lib/k8s/apiProxy') {
|
||||
return 'pluginLib.libk8sapiProxy';
|
||||
}
|
||||
|
||||
// Use base config's globals function for everything else
|
||||
if (typeof baseConfig.build.rollupOptions.output.globals === 'function') {
|
||||
return baseConfig.build.rollupOptions.output.globals(request);
|
||||
}
|
||||
|
||||
return request;
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}));
|
||||
Reference in New Issue
Block a user