Fix cli description

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
pull/2971/head
Somtochi Onyekwere 3 years ago committed by Stefan Prodan
parent fe4b65972a
commit fcd38c9395
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -37,9 +37,9 @@ var createSecretOCICmd = &cobra.Command{
--url=ghcr.io \
--username=username \
--password=password \
--export > repo-auth.yaml
--export > repo-auth.yaml
sops --encrypt --encrypted-regex '^(data|stringData)$' \
sops --encrypt --encrypted-regex '^(data|stringData)$' \
--in-place repo-auth.yaml
`,
RunE: createSecretOCICmdRun,
@ -56,7 +56,7 @@ var secretOCIArgs = secretOCIFlags{}
func init() {
createSecretOCICmd.Flags().StringVar(&secretOCIArgs.url, "url", "", "oci repository address e.g ghcr.io/stefanprodan/charts")
createSecretOCICmd.Flags().StringVarP(&secretOCIArgs.username, "username", "u", "", "basic authentication username")
createSecretOCICmd.Flags().StringVarP(&secretOCIArgs.password, "password", "p", "", "basic authentication")
createSecretOCICmd.Flags().StringVarP(&secretOCIArgs.password, "password", "p", "", "basic authentication password")
createSecretCmd.AddCommand(createSecretOCICmd)
}

Loading…
Cancel
Save