You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// to ensure that exec-entrypoint and run can make use of them.
10
+
"go.uber.org/zap/zapcore"
10
11
_ "k8s.io/client-go/plugin/pkg/client/auth"
11
12
12
13
"k8s.io/apimachinery/pkg/runtime"
@@ -40,6 +41,9 @@ func main() {
40
41
varprobeAddrstring
41
42
varsyncContainerImagestring
42
43
varsyncClusterRolestring
44
+
varinplaceResizebool
45
+
varinplaceLabelNamestring
46
+
varlogLevelint
43
47
flag.StringVar(&syncContainerImage, "sync-image", "instrumentisto/rsync-ssh", "A container image containing rsync, used to move data.")
44
48
flag.StringVar(&syncClusterRole, "sync-cluster-role", "", "ClusterRole to use for the sync jobs."+
45
49
"For example, this can be used to allow the sync job to run as root on a cluster with PSPs enabled by providing the name of a ClusterRole which allows usage of a privileged PSP.")
"Enable leader election for controller manager. "+
50
54
"Enabling this will ensure there is only one active controller manager.")
55
+
flag.BoolVar(&inplaceResize, "inplace", false, "Enable in-place update of PVCs. "+
56
+
"If the underlying storage supports direct resizing of the PVCs this should be used.")
57
+
flag.StringVar(&inplaceLabelName, "inplaceLabelName", "sts-resize.vshn.net/resize-inplace", "If inplace resize is enable the sts needs to have this label with value \"true\" in order to be handled.")
58
+
flag.IntVar(&logLevel, "log-level", 0, "Set the log level.")
0 commit comments