func Add(mgr manager.Manager) error {
	return add(mgr, NewReconciler(mgr))
}
Add creates a new Secret Controller and adds it to the Manager. The Manager will set fields on the Controller
and Start it when the Manager is Started.
package secret
import (
	"context"
	errstd "errors"
	"reflect"
	"strconv"
	"time"
	"github.com/spf13/viper"
	corev1 "k8s.io/api/core/v1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/runtime"
	"sigs.k8s.io/controller-runtime/pkg/client"
	"sigs.k8s.io/controller-runtime/pkg/controller"
	"sigs.k8s.io/controller-runtime/pkg/handler"
	logf "sigs.k8s.io/controller-runtime/pkg/log"
	"sigs.k8s.io/controller-runtime/pkg/manager"
	"sigs.k8s.io/controller-runtime/pkg/reconcile"
	"sigs.k8s.io/controller-runtime/pkg/source"
)
const ByteSuffix = "b"
var log = logf.Log.WithName("controller_secret")
func RegenerateInsecure() bool {
	return viper.GetBool("regenerate-insecure")
}
func DefaultLength() int {
	return viper.GetInt("secret-length")
}
func defaultEncoding() string {
	return viper.GetString("secret-encoding")
}
func SSHKeyLength() int {
	return viper.GetInt("ssh-key-length")
}