Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenBaoProvisioner ¶
type OpenBaoProvisioner interface {
ProvisionSinjector(ctx context.Context, cfg RuntimeConfig, opts SinjectorOpenBaoOptions) error
CleanupSinjector(ctx context.Context, cfg RuntimeConfig, opts SinjectorOpenBaoOptions) error
}
OpenBaoProvisioner reconciles SIP-specific OpenBao auth objects.
func NewOpenBaoProvisioner ¶
func NewOpenBaoProvisioner(client *baoapi.Client) OpenBaoProvisioner
NewOpenBaoProvisioner shares the manager's authenticated client so repeated provisioning does not create additional tokens or renewal goroutines.
type Reconciler ¶
type Reconciler struct {
client.Client
Scheme *runtime.Scheme
Config RuntimeConfig
Bao OpenBaoProvisioner
}
Reconciler reconciles an Agent object.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RuntimeConfig ¶
type RuntimeConfig struct {
BrowserImage string
BrowserSeccompProfile string
AgentDefaultImage string
GatewayURL string
NixCacheEndpoint string
AgentInitImage string
OpenBaoAddr string
OpenBaoSecretMountPath string
ControllerImage string
SinjectorCASecretName string
SinjectorCASecretCertKey string
SinjectorCASecretKeyKey string
SinjectorCASecretBundleKey string
SinjectorCACertPath string
SinjectorCAKeyPath string
AgentCABundlePath string
OpenBaoK8sAuthMountPath string
SinjectorOpenBaoK8sAuthTokenPath string
GatewayTokenAudience string
SkillStore skill.Config
}
RuntimeConfig configures controller-side launch defaults.