We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efcb699 commit 27e4ec6Copy full SHA for 27e4ec6
main.go
@@ -8,6 +8,7 @@ package main
8
9
import (
10
"context"
11
+ "flag"
12
"fmt"
13
"net"
14
"os"
@@ -171,8 +172,15 @@ func main() {
171
172
pgParamBlockList map[string]bool
173
174
standbyClusterSourceRanges []string
175
+
176
+ showVersion = flag.Bool("version", false, "dump current version and exit")
177
)
178
179
+ flag.Parse()
180
+ if *showVersion {
181
+ fmt.Println(v.V.String())
182
+ os.Exit(0)
183
+ }
184
ctrl.SetLogger(zap.New(zap.UseDevMode(true)))
185
186
// TODO enable Prefix and update helm chart
0 commit comments