feat: add more services
This commit is contained in:
16
src/harbor/Makefile
Normal file
16
src/harbor/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
HELM_RELEASE_NAME ?= harbor
|
||||
HELM_APPLICATION_NAME ?= harbor
|
||||
HELM_NAMESPACE ?= harbor
|
||||
HELM_DIR ?= ./helm
|
||||
HELM_CHART_VERSION ?=
|
||||
HELM_VALUES_FILE ?= ./values.yaml
|
||||
HELM_OCI_REGISTRY ?=
|
||||
HELM_OCI_NAMESPACE ?=
|
||||
HELM_OCI_USERNAME ?=
|
||||
HELM_OCI_PASSWORD ?=
|
||||
HELM_REPO_NAME ?= harbor
|
||||
HELM_REPO_URL ?= https://helm.goharbor.io
|
||||
HELM_CHART_REPO ?= $(HELM_REPO_NAME)/harbor
|
||||
HELM_LANE ?=
|
||||
|
||||
include ../_template/base.mk
|
||||
36
src/harbor/README.md
Normal file
36
src/harbor/README.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Harbor
|
||||
|
||||
## Introduction
|
||||
|
||||
Harbor is an open-source trusted cloud-native registry project that stores, signs, and scans content. Harbor extends the open-source Docker Distribution by adding the functionalities usually required by users such as security, identity, and management.
|
||||
|
||||
## Installation
|
||||
|
||||
To install Harbor, run:
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
After installation, verify the deployment:
|
||||
|
||||
```bash
|
||||
kubectl get pods -n harbor
|
||||
```
|
||||
|
||||
To access Harbor Portal:
|
||||
|
||||
```bash
|
||||
kubectl port-forward svc/harbor-portal 8080:80 -n harbor
|
||||
```
|
||||
|
||||
Then open <http://localhost:8080> in your browser.
|
||||
|
||||
Default credentials: admin/Harbor12345
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Harbor Documentation](https://goharbor.io/docs/)
|
||||
- [Helm Chart Source](https://github.com/goharbor/harbor-helm)
|
||||
36
src/harbor/README.zh.md
Normal file
36
src/harbor/README.zh.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Harbor
|
||||
|
||||
## 简介
|
||||
|
||||
Harbor 是一个开源的受信任云原生注册表项目,用于存储、签名和扫描内容。Harbor 通过添加用户通常需要的功能(如安全性、身份和管理)来扩展开源 Docker Distribution。
|
||||
|
||||
## 安装
|
||||
|
||||
要安装 Harbor,请运行:
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
安装完成后,验证部署:
|
||||
|
||||
```bash
|
||||
kubectl get pods -n harbor
|
||||
```
|
||||
|
||||
访问 Harbor 门户:
|
||||
|
||||
```bash
|
||||
kubectl port-forward svc/harbor-portal 8080:80 -n harbor
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8080>。
|
||||
|
||||
默认凭据:admin/Harbor12345
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Harbor 文档](https://goharbor.io/docs/)
|
||||
- [Helm Chart 源码](https://github.com/goharbor/harbor-helm)
|
||||
22
src/harbor/values.yaml
Normal file
22
src/harbor/values.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Harbor Helm Chart Values
|
||||
# https://github.com/goharbor/harbor-helm/blob/master/values.yaml
|
||||
|
||||
# Default values for harbor
|
||||
# This is a YAML-formatted file
|
||||
|
||||
expose:
|
||||
type: ingress
|
||||
tls:
|
||||
enabled: false
|
||||
ingress:
|
||||
hosts:
|
||||
core: harbor.local
|
||||
notary: notary.harbor.local
|
||||
|
||||
externalURL: https://harbor.local
|
||||
|
||||
harborAdminPassword: Harbor12345
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
resourcePolicy: keep
|
||||
Reference in New Issue
Block a user