Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: better condition error
Daniel Hougaard0b54948b15f6
diff --git a/k8-operator/controllers/infisicalpushsecret/conditions.go b/k8-operator/controllers/infisicalpushsecret/conditions.goindex 442cdaaf2a..65f32d4a35 100644--- a/k8-operator/controllers/infisicalpushsecret/conditions.go+++ b/k8-operator/controllers/infisicalpushsecret/conditions.go@@ -2,6 +2,7 @@ package controllersimport ("context"+ "fmt""github.com/Infisical/infisical/k8-operator/api/v1alpha1""k8s.io/apimachinery/pkg/api/meta"@@ -19,7 +20,7 @@ func (r *InfisicalPushSecretReconciler) SetSuccessfullyReconciledConditions(ctxType: "secrets.infisical.com/SuccessfullyReconciled",Status: metav1.ConditionTrue,Reason: "Error",- Message: "Reconcile failed, secrets were not pushed to Infisical. Check operator logs for more info",+ Message: fmt.Sprintf("Reconcile failed, secrets were not pushed to Infisical. Error: %s", err.Error()),})} else {meta.SetStatusCondition(&infisicalPushSecret.Status.Conditions, metav1.Condition{