An open API service indexing awesome lists of open source software.

https://github.com/cloudforet-io/repository

Repository Service
https://github.com/cloudforet-io/repository

backend core python-service repository

Last synced: 5 months ago
JSON representation

Repository Service

Awesome Lists containing this project

README

          

SpaceONE Repository Service

# Release Notes

## v1.4.1
- Support Private Docker Registry
## v1.4.2
- Support Private GCP Artifact Registry

# Configuration

## Docker Hub Setup ( Docker Hub )
~~~
CONNECTORS:
DockerHubConnector:
registry_url:""

REGISTRY_INFO:
DOCKER_HUB:
url: registry.hub.docker.com
DEFAULT_REGISTRY: "DOCKER_HUB"
~~~

## AWS Setup (ECR)
~~~
CONNECTORS:
AWSPrivateECRConnector:
aws_access_key_id: ""
aws_secret_access_key: ""
region_name: ""
account_id: "<123456789012>"

REGISTRY_INFO:
AWS_PRIVATE_ECR:
url: ".dkr.ecr..amazonaws.com"

DEFAULT_REGISTRY: "AWS_PRIVATE_ECR"
~~~

- Example url: `123456789012.dkr.ecr.ap-northeast-2.amazonaws.com`
- If you set `DEFAULT_REGISTRY` to `AWS_PRIVATE_ECR`, plugin images are pulled from ECR.

## GCP Setup (Artifact Registry)

Prepare a service account key (JSON) and use its Base64-encoded string.

~~~
CONNECTORS:
GCPPrivateGCRConnector:
project_id: "" # Optional; inferred from the service account key when omitted
repository_id: ""
location: ""
service_account_key: ""

REGISTRY_INFO:
GCP_PRIVATE_GCR:
url: "-docker.pkg.dev//"

DEFAULT_REGISTRY: "GCP_PRIVATE_GCR"
~~~

- Example url: `asia-northeast3-docker.pkg.dev/my-project/gcr-repository`
- If you set `DEFAULT_REGISTRY` to `GCP_PRIVATE_GCR`, plugin images are pulled from Artifact Registry.