Skip to main content

Registry

Resource Registry in pulumi-portainer.
4 min read

Resource Registry in pulumi-portainer.

Pulumi type: portainer:index/registry:Registry.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
authenticationbooleannoWhether the registry requires authentication. When true, username and password are sent to Portainer.
awsRegionstringnoAWS region used by ECR (type 7) registries.
baseUrlstringnoOptional base URL of the registry used by Portainer for web-based actions and links.
githubOrganisationNamestringnoName of the GitHub organisation used when githubUseOrganisation is true (type 8).
githubUseOrganisationbooleannoWhether the GitHub (type 8) registry should be scoped to an organisation rather than a user account.
instanceUrlstringnoInstance URL used by GitLab (type 4) registries to identify the GitLab instance.
namestringnoName of the registry as displayed in Portainer.
passwordstringnoPassword used to authenticate against the registry when authentication is enabled. Stored in state as a sensitive value.
quayOrganisationNamestringnoName of the Quay organisation used when quayUseOrganisation is true (type 1).
quayUseOrganisationbooleannoWhether the Quay (type 1) registry should be scoped to an organisation rather than a user account.
registryIdstringno
typenumberyesRegistry type: 1 = Quay, 2 = Azure, 3 = Custom, 4 = GitLab, 5 = ProGet, 6 = DockerHub, 7 = ECR, 8 = GitHub. Changing this value forces resource recreation.
urlstringyesURL of the registry (e.g. registry hostname). Used by Portainer to push and pull images.
usernamestringnoUsername used to authenticate against the registry when authentication is enabled.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
authenticationbooleannoWhether the registry requires authentication. When true, username and password are sent to Portainer.
awsRegionstringnoAWS region used by ECR (type 7) registries.
baseUrlstringnoOptional base URL of the registry used by Portainer for web-based actions and links.
githubOrganisationNamestringnoName of the GitHub organisation used when githubUseOrganisation is true (type 8).
githubUseOrganisationbooleannoWhether the GitHub (type 8) registry should be scoped to an organisation rather than a user account.
instanceUrlstringnoInstance URL used by GitLab (type 4) registries to identify the GitLab instance.
namestringnoName of the registry as displayed in Portainer.
passwordstringnoPassword used to authenticate against the registry when authentication is enabled. Stored in state as a sensitive value.
quayOrganisationNamestringnoName of the Quay organisation used when quayUseOrganisation is true (type 1).
quayUseOrganisationbooleannoWhether the Quay (type 1) registry should be scoped to an organisation rather than a user account.
registryIdstringno
typenumbernoRegistry type: 1 = Quay, 2 = Azure, 3 = Custom, 4 = GitLab, 5 = ProGet, 6 = DockerHub, 7 = ECR, 8 = GitHub. Changing this value forces resource recreation.
urlstringnoURL of the registry (e.g. registry hostname). Used by Portainer to push and pull images.
usernamestringnoUsername used to authenticate against the registry when authentication is enabled.