From 759ef8ed9a91a036328b1f20b0d2f4c257f3a1bc Mon Sep 17 00:00:00 2001 From: Hendrik Ferber <38665716+HaveFun83@users.noreply.github.com> Date: Mon, 19 Dec 2022 09:50:25 +0100 Subject: [PATCH] add artifact-hub to registryType (#232) Co-authored-by: Florian --- client/registry.go | 1 + docs/resources/registry.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/registry.go b/client/registry.go index f69c370..5f67201 100644 --- a/client/registry.go +++ b/client/registry.go @@ -27,6 +27,7 @@ func GetRegistryType(regType string) (regName string, err error) { registryType := map[string]string{ "alibaba": "ali-acr", + "artifact-hub": "artifact-hub", "aws": "aws-ecr", "azure": "azure-acr", "docker-hub": "docker-hub", diff --git a/docs/resources/registry.md b/docs/resources/registry.md index bb462e8..d8c3503 100644 --- a/docs/resources/registry.md +++ b/docs/resources/registry.md @@ -15,7 +15,7 @@ resource "harbor_registry" "main" { ## Argument Reference The following arguments are supported: -* **provider_name** - (Required) The name of the provider type. Supported values include `alibaba`, `aws`, `azure`, `docker-hub`, `docker-registry`, `gitlab`, `github`, `google`, `harbor`, `helm`, `huawei`, `jfrog` +* **provider_name** - (Required) The name of the provider type. Supported values include `alibaba`, `artifact-hub`, `aws`, `azure`, `docker-hub`, `docker-registry`, `gitlab`, `github`, `google`, `harbor`, `helm`, `huawei`, `jfrog` * **name** - (Required) The name of the register.