1. Packages
  2. Harbor
  3. Installation & Configuration
Harbor v3.10.9 published on Friday, Apr 19, 2024 by Pulumiverse

Harbor: Installation & Configuration

harbor logo
Harbor v3.10.9 published on Friday, Apr 19, 2024 by Pulumiverse

    Installation

    The Pulumi Harbor provider is available as a package in all Pulumi languages:

    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 errors
    • harbor:apiVersion - (Optional) Choose which version of the api you would like to use 1 or 2. Default is 2.
    harbor logo
    Harbor v3.10.9 published on Friday, Apr 19, 2024 by Pulumiverse