Documentation
¶
Index ¶
- Variables
- type Manager
- func NewManager(c client.Client, scheme *runtime.Scheme, operatorNamespace string) *Manager
- func NewManagerWithReader(c client.Client, r client.Reader, scheme *runtime.Scheme, ...) *Manager
- func NewManagerWithReaderAndOIDCConfig(c client.Client, r client.Reader, scheme *runtime.Scheme, ...) *Manager
- type RenderOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOIDCBootstrapAudienceMismatch = errors.New("oidc bootstrap audience mismatch")
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager reconciles bootstrap/configuration resources for an OpenBaoCluster.
func NewManager ¶
func NewManagerWithReader ¶
func (*Manager) PrepareWorkload ¶
func (m *Manager) PrepareWorkload(ctx context.Context, logger logr.Logger, cluster *openbaov1alpha1.OpenBaoCluster) (string, error)
PrepareWorkload ensures bootstrap-owned resources are aligned and returns rendered config.hcl content.
func (*Manager) RenderConfig ¶
func (m *Manager) RenderConfig(cluster *openbaov1alpha1.OpenBaoCluster, opts configurationservice.RenderOptions) (string, error)
func (*Manager) SetOIDCConfig ¶
func (m *Manager) SetOIDCConfig(config *portauth.OIDCConfig)
type RenderOptions ¶
type RenderOptions = configurationservice.RenderOptions
Click to show internal directories.
Click to hide internal directories.