Skip to content

Commit

Permalink
fix: remove flags in command
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy PLANCKEEL <[email protected]>
  • Loading branch information
jplanckeel committed Mar 18, 2024
1 parent 4fed0ba commit 0fdb905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&flags.SourceFile, "source-file", "s", "", "path to source file")
rootCmd.PersistentFlags().StringVarP(&flags.Registry, "registry", "r", "", "destination chart registry")
rootCmd.PersistentFlags().StringVarP(&flags.Namespace, "namespace", "n", "", "namespace destination chart registry")
//rootCmd.PersistentFlags().StringVar(&flags.Scheme, "scheme", "oci", "scheme for registry")
rootCmd.PersistentFlags().StringVarP(&flags.Type, "type", "t", "oci", "type for registry (nexus or oci)")
rootCmd.PersistentFlags().StringVarP(&flags.Username, "user", "u", "", "chart destination repository user")
rootCmd.PersistentFlags().StringVarP(&flags.Password, "password", "p", "", "chart destination repository password")
rootCmd.PersistentFlags().BoolVarP(&flags.PasswordFromStdinOpt, "password-stdin", "", false, "read password or identity token from stdin")
rootCmd.PersistentFlags().StringVar(&flags.CertFile, "cert-file", "", "identify HTTPS client using this SSL certificate file")
rootCmd.PersistentFlags().StringVar(&flags.KeyFile, "key-file", "", " identify HTTPS client using this SSL key file")
rootCmd.PersistentFlags().StringVar(&flags.KeyFile, "key-file", "", "identify HTTPS client using this SSL key file")
rootCmd.PersistentFlags().StringVar(&flags.CaFile, "ca-file", "", "verify certificates of HTTPS-enabled servers using this CA bundle")
rootCmd.PersistentFlags().BoolVar(&flags.InsecureSkipTLSverify, "insecure-skip-tls-verify", false, "skip tls certificate checks")
}

0 comments on commit 0fdb905

Please sign in to comment.