Harbor v3.10.15 published on Saturday, Sep 28, 2024 by Pulumiverse
Harbor: Installation & Configuration
Installation
The Pulumi Harbor
provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumiverse/harbor
- Python:
pulumiverse-harbor
- Go:
github.com/pulumiverse/pulumi-harbor/sdk/v3
- .NET:
Pulumiverse.Harbor
Installing
This package is available for several languages/platforms:
Node.js (JavaScript/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @pulumiverse/harbor
or yarn
:
yarn add @pulumiverse/harbor
Python
To use from Python, install using pip
:
pip install pulumiverse-harbor
Go
To use from Go, use go get
to grab the latest version of the library:
go get github.com/pulumiverse/pulumi-harbor/sdk/v3
.NET
To use from .NET, install using dotnet add package
:
dotnet add package Pulumiverse.Harbor
Configuration
The following configuration points are available for the harbor
provider:
harbor:url
- (Required) The url of the harbor.harbor:username
- (Required) The username to be used to access harbor.harbor:password
- (Required) The password to be used to access harbor.harbor:insecure
- (Optional) Choose to ignore certificate errorsharbor:apiVersion
- (Optional) Choose which version of the api you would like to use1
or2
. Default is2
.