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
UPSTREAM: <drop>: Separate CA configuration for pulls vs catalogd services (#1673)
Rename the flags that provide CAs to image pulling to indicate the use.
Keep the old flag around (for backward compatibility), but prefer the
new flag(s).
Signed-off-by: Todd Short <tshort@redhat.com>
Copy file name to clipboardExpand all lines: cmd/manager/main.go
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -95,12 +95,14 @@ func main() {
95
95
cachePathstring
96
96
operatorControllerVersionbool
97
97
systemNamespacestring
98
-
caCertDirstring
98
+
catalogdCasDirstring
99
+
pullCasDirstring
99
100
globalPullSecretstring
100
101
)
101
102
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
102
103
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
103
-
flag.StringVar(&caCertDir, "ca-certs-dir", "", "The directory of TLS certificate to use for verifying HTTPS connections to the Catalogd and docker-registry web servers.")
104
+
flag.StringVar(&catalogdCasDir, "catalogd-cas-dir", "", "The directory of TLS certificate authorities to use for verifying HTTPS connections to the Catalogd web service.")
105
+
flag.StringVar(&pullCasDir, "pull-cas-dir", "", "The directory of TLS certificate authorities to use for verifying HTTPS connections to image registries.")
0 commit comments