Documentation ¶
Index ¶
- Constants
- type SopsSecretReconciler
- func (r *SopsSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SopsSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *SopsSecretReconciler) UpdateSopsSecretStatus(ctx context.Context, sopsSecret *isindirv1alpha3.SopsSecret, message string)
Constants ¶
View Source
const ( STATUS_HEALTHY = "Healthy" STATUS_DECRYPT_ERROR = "Decryption error" STATUS_CHILD_NOT_OWNED = "Child secret is not owned by controller error" STATUS_CHILD_UPDATE_ERROR = "Child secret update error" STATUS_CHILD_CREATION_ERROR = "New child secret creation error" STATUS_SETTING_OWNERSHIP_ERROR = "Setting controller ownership of the child secret error" STATUS_RECONCILE_SUSPENDED = "Reconciliation is suspended" STATUS_UNKNOWN_ERROR = "Unknown Error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SopsSecretReconciler ¶
type SopsSecretReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme RequeueAfter int64 }
SopsSecretReconciler reconciles a SopsSecret object
func (*SopsSecretReconciler) Reconcile ¶
func (r *SopsSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. UPDATE-HERE For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.6/pkg/reconcile
func (*SopsSecretReconciler) SetupWithManager ¶
func (r *SopsSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*SopsSecretReconciler) UpdateSopsSecretStatus ¶
func (r *SopsSecretReconciler) UpdateSopsSecretStatus(ctx context.Context, sopsSecret *isindirv1alpha3.SopsSecret, message string)
Click to show internal directories.
Click to hide internal directories.