Skip to content

Commit 5c5bb75

Browse files
committed
pkg/build: Cleanup some CI flags
Signed-off-by: Stephen Augustus <[email protected]>
1 parent c60a613 commit 5c5bb75

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

cmd/krel/cmd/ci_build.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,6 @@ func init() {
9191
"Do not update the latest file",
9292
)
9393

94-
ciBuildCmd.PersistentFlags().BoolVar(
95-
&ciBuildOpts.PrivateBucket,
96-
"private-bucket",
97-
false,
98-
"Do not mark published bits on GCS as publicly readable",
99-
)
100-
10194
// TODO: Configure a default const here
10295
ciBuildCmd.PersistentFlags().StringVar(
10396
&ciBuildOpts.Bucket,
@@ -116,6 +109,7 @@ func init() {
116109
),
117110
)
118111

112+
// TODO: Switch to "--registry" once CI no longer uses it
119113
ciBuildCmd.PersistentFlags().StringVar(
120114
&ciBuildOpts.DockerRegistry,
121115
"docker-registry",

cmd/krel/cmd/push.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func init() {
104104
),
105105
)
106106

107+
// TODO: Switch to "--registry" once CI no longer uses it
107108
pushBuildCmd.PersistentFlags().StringVar(
108109
&pushBuildOpts.DockerRegistry,
109110
"docker-registry",

0 commit comments

Comments
 (0)