File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ USER 4059
106
106
107
107
ENV FDB_NETWORK_OPTION_TRACE_LOG_GROUP=fdb-kubernetes-operator
108
108
ENV FDB_NETWORK_OPTION_TRACE_ENABLE=/var/log/fdb
109
- ENV FDB_BINARY_DIR=/usr/bin/fdb
110
109
ENV FDB_NETWORK_OPTION_EXTERNAL_CLIENT_DIRECTORY=/usr/bin/fdb
110
+ ENV FDB_NETWORK_OPTION_DISABLE_LOCAL_CLIENT=""
111
+ ENV FDB_BINARY_DIR=/usr/bin/fdb
111
112
112
113
ENTRYPOINT ["/manager" ]
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ const (
66
66
// EnvNameFDBTraceLogDirPath enables trace logs output to a file in the given directory
67
67
EnvNameFDBTraceLogDirPath = "FDB_NETWORK_OPTION_TRACE_ENABLE"
68
68
69
+ // EnvNameFDBDisableLocalClient the name of the network option that allows to disable the local client.
70
+ EnvNameFDBDisableLocalClient = "FDB_NETWORK_OPTION_DISABLE_LOCAL_CLIENT"
71
+
69
72
// EnvNameFDBExternalClientDir specifies path to search for dynamic libraries and adds them to the list of client
70
73
// libraries for use by the multi-version client API. Must be set before setting up the network.
71
74
EnvNameFDBExternalClientDir = "FDB_NETWORK_OPTION_EXTERNAL_CLIENT_DIRECTORY"
Original file line number Diff line number Diff line change @@ -139,10 +139,11 @@ func (fdbCluster *FdbCluster) RunFdbCliCommandInOperatorWithoutRetry(
139
139
pod .Name ,
140
140
"manager" ,
141
141
fmt .Sprintf (
142
- "unset %s && unset %s && unset %s && TIMEFORMAT='%%R' && echo '%s' > %s && time %s --log-dir \" /var/log/fdb\" --log --trace_format \" json\" %s -C %s --exec '%s'" ,
142
+ "unset %s && unset %s && unset %s && unset %s && TIMEFORMAT='%%R' && echo '%s' > %s && time %s --log-dir \" /var/log/fdb\" --log --trace_format \" json\" %s -C %s --exec '%s'" ,
143
143
fdbv1beta2 .EnvNameClientThreadsPerVersion ,
144
144
fdbv1beta2 .EnvNameFDBExternalClientDir ,
145
145
fdbv1beta2 .EnvNameFDBIgnoreExternalClientFailures ,
146
+ fdbv1beta2 .EnvNameFDBDisableLocalClient ,
146
147
cluster .Status .ConnectionString ,
147
148
clusterFile ,
148
149
fdbCliPath ,
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ func getEnvironmentVariablesWithoutExcludedFdbEnv() []string {
49
49
fdbv1beta2 .EnvNameFDBExternalClientDir : {},
50
50
fdbv1beta2 .EnvNameFDBIgnoreExternalClientFailures : {},
51
51
fdbv1beta2 .EnvNameClientThreadsPerVersion : {},
52
+ fdbv1beta2 .EnvNameFDBDisableLocalClient : {},
52
53
}
53
54
54
55
osVariables := os .Environ ()
You can’t perform that action at this time.
0 commit comments