Skip to content

Commit c52d6cf

Browse files
committed
feat: add harbor application and kustomization configuration
1 parent 0201ded commit c52d6cf

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

cortado/apps/harbor/app.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: harbor
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://helm.goharbor.io
10+
chart: harbor
11+
targetRevision: v1.17.2
12+
helm:
13+
values: |
14+
persistence:
15+
persistentVolumeClaim:
16+
registry:
17+
size: 50Gi
18+
expose:
19+
type: ingress
20+
tls:
21+
enabled: true
22+
certSource: auto
23+
ingress:
24+
hosts:
25+
core: harbor.cortado.thoughtless.eu
26+
className: ""
27+
annotations:
28+
cert-manager.io/cluster-issuer: cloudflare
29+
externalURL: https://harbor.cortado.thoughtless.eu
30+
destination:
31+
server: https://kubernetes.default.svc
32+
namespace: harbor
33+
syncPolicy:
34+
automated:
35+
prune: true
36+
syncOptions:
37+
- CreateNamespace=true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
resources:
5+
- app.yaml

0 commit comments

Comments
 (0)