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
Copy file name to clipboardexpand all lines: cmd/flux/create_source_oci.go
+28-10
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,18 @@ var createSourceOCIRepositoryCmd = &cobra.Command{
51
51
}
52
52
53
53
typesourceOCIRepositoryFlagsstruct {
54
-
urlstring
55
-
tagstring
56
-
semverstring
57
-
digeststring
58
-
secretRefstring
59
-
serviceAccountstring
60
-
certSecretRefstring
61
-
ignorePaths []string
62
-
provider flags.SourceOCIProvider
63
-
insecurebool
54
+
urlstring
55
+
tagstring
56
+
semverstring
57
+
digeststring
58
+
secretRefstring
59
+
serviceAccountstring
60
+
certSecretRefstring
61
+
verifyProviderstring
62
+
verifySecretRefstring
63
+
ignorePaths []string
64
+
provider flags.SourceOCIProvider
65
+
insecurebool
64
66
}
65
67
66
68
varsourceOCIRepositoryArgs=newSourceOCIFlags()
@@ -80,6 +82,8 @@ func init() {
80
82
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.secretRef, "secret-ref", "", "the name of the Kubernetes image pull secret (type 'kubernetes.io/dockerconfigjson')")
81
83
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.serviceAccount, "service-account", "", "the name of the Kubernetes service account that refers to an image pull secret")
82
84
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.certSecretRef, "cert-ref", "", "the name of a secret to use for TLS certificates")
85
+
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.verifyProvider, "verify-provider", "", "the provider to use for signture verification")
86
+
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.verifySecretRef, "verify-secret-ref", "", "the name of a secret to use for signture verification")
83
87
createSourceOCIRepositoryCmd.Flags().StringSliceVar(&sourceOCIRepositoryArgs.ignorePaths, "ignore-paths", nil, "set paths to ignore resources (can specify multiple paths with commas: path1,path2)")
84
88
createSourceOCIRepositoryCmd.Flags().BoolVar(&sourceOCIRepositoryArgs.insecure, "insecure", false, "for when connecting to a non-TLS registries over plain HTTP")
0 commit comments