Skip to content

Commit de954df

Browse files
authored
Merge pull request #215 from replicatedhq/aws-registries
Add endpoint flag to ECR registries
2 parents b06a16a + 2d37a86 commit de954df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cmd/registry_add_ecr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func (r *runners) InitRegistryAddECR(parent *cobra.Command) {
1919
}
2020
parent.AddCommand(cmd)
2121

22+
cmd.Flags().StringVar(&r.args.addRegistryEndpoint, "endpoint", "", "The ECR endpoint")
2223
cmd.Flags().StringVar(&r.args.addRegistryAccessKeyID, "accesskeyid", "", "The access key id to authenticate to the registry with")
2324
cmd.Flags().StringVar(&r.args.addRegistrySecretAccessKey, "secretaccesskey", "", "The secret access key to authenticate to the registry with")
2425
cmd.Flags().BoolVar(&r.args.addRegistrySecretAccessKeyFromStdIn, "secretaccesskey-stdin", false, "Take the secret access key from stdin")

0 commit comments

Comments
 (0)