···33# To re-generate a bundle for another specific version without changing the standard setup, you can:
44# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
66-VERSION ?= 0.5.23
66+VERSION ?= 0.5.24
7788# CHANNELS define the bundle channels used in the bundle.
99# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
+2-2
helm/hsm-secrets-operator/Chart.yaml
···22name: hsm-secrets-operator
33description: A Kubernetes operator that bridges Pico HSM binary data storage with Kubernetes Secrets
44type: application
55-version: 0.5.23
66-appVersion: v0.5.23
55+version: 0.5.24
66+appVersion: v0.5.24
77icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/kubernetes/icon/color/kubernetes-icon-color.svg
88home: https://github.com/evanjarrett/hsm-secrets-operator
99sources:
+4-3
internal/agent/manager.go
···979979980980// GetAvailableDevices finds all devices with ready HSMPools and active agents
981981func (m *Manager) GetAvailableDevices(ctx context.Context, namespace string) ([]string, error) {
982982- // List all HSMPools to find all with active agents
982982+ // List all HSMPools cluster-wide to find all with active agents
983983 var hsmPoolList hsmv1alpha1.HSMPoolList
984984- if err := m.List(ctx, &hsmPoolList, client.InNamespace(namespace)); err != nil {
984984+ if err := m.List(ctx, &hsmPoolList); err != nil {
985985 return nil, fmt.Errorf("failed to list HSM pools: %w", err)
986986 }
987987···995995 // Extract device name from pool name (remove "-pool" suffix)
996996 deviceName := strings.TrimSuffix(pool.Name, "-pool")
997997998998- if podIPs, err := m.GetAgentPodIPs(ctx, deviceName, namespace); err == nil && len(podIPs) > 0 {
998998+ // Use the HSMPool's namespace for agent lookup
999999+ if podIPs, err := m.GetAgentPodIPs(ctx, deviceName, pool.Namespace); err == nil && len(podIPs) > 0 {
9991000 availableDevices = append(availableDevices, deviceName)
10001001 }
10011002 }