Skip to content

Commit

Permalink
Use HelmChart/HelmChartConfig to install/config harbor chart
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
  • Loading branch information
yeahdongcn committed Dec 18, 2023
1 parent a198cf8 commit 751e527
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
Expand Up @@ -51,7 +51,7 @@ spec:
enabled: true
vcluster:
image: rancher/k3s:v1.26.9-k3s1
image: rancher/k3s:v1.25.14-k3s1
coredns:
enabled: true
Expand Down
6 changes: 0 additions & 6 deletions testdata/chart/harbor.sh

This file was deleted.

14 changes: 14 additions & 0 deletions testdata/chart/helmchart.yaml
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Namespace
metadata:
name: harbor
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: harbor
namespace: kube-system
spec:
repo: https://helm.goharbor.io
chart: harbor
targetNamespace: harbor
13 changes: 13 additions & 0 deletions testdata/chart/helmchartconfig.yaml
@@ -0,0 +1,13 @@
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: harbor
namespace: kube-system
spec:
valuesContent: |-
externalURL:
https://harbor.openloft.cn
expose:
ingress:
hosts:
core: harbor.openloft.cn

0 comments on commit 751e527

Please sign in to comment.