@ -60,6 +60,7 @@ type sourceOCIRepositoryFlags struct {
certSecretRefstring
ignorePaths[]string
providerflags.SourceOCIProvider
insecurebool
}
varsourceOCIRepositoryArgs=newSourceOCIFlags()
@ -80,6 +81,7 @@ func init() {
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.serviceAccount,"service-account","","the name of the Kubernetes service account that refers to an image pull secret")
createSourceOCIRepositoryCmd.Flags().StringVar(&sourceOCIRepositoryArgs.certSecretRef,"cert-ref","","the name of a secret to use for TLS certificates")
createSourceOCIRepositoryCmd.Flags().StringSliceVar(&sourceOCIRepositoryArgs.ignorePaths,"ignore-paths",nil,"set paths to ignore resources (can specify multiple paths with commas: path1,path2)")
createSourceOCIRepositoryCmd.Flags().BoolVar(&sourceOCIRepositoryArgs.insecure,"insecure",false,"for when connecting to a non-TLS registries over plain HTTP")