Skip to content

Commit

Permalink
Merge pull request #69 from uselagoon/harbor
Browse files Browse the repository at this point in the history
Add harbor as a dependency to lagoon-core
  • Loading branch information
smlx authored Sep 9, 2020
2 parents 5a057a4 + 54713bf commit 773d130
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
6 changes: 6 additions & 0 deletions charts/lagoon-core/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: harbor
repository: https://helm.goharbor.io
version: 1.4.2
digest: sha256:d18c6c774cbe9e0d0d4ea6d8766f43799348a1858f4ea6f9175671a0faaa4f07
generated: "2020-09-09T15:09:24.920394379+08:00"
8 changes: 7 additions & 1 deletion charts/lagoon-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ type: application
# time you make changes to the chart and its templates, including the app
# version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.18.0
version: 0.19.0

# This is the version number of the application being deployed. This version
# number should be incremented each time you make changes to the application.
# Versions are not expected to follow Semantic Versioning. They should reflect
# the version the application is using.
appVersion: v1-8-2

dependencies:
- name: harbor
version: ~1.4.2
repository: https://helm.goharbor.io
condition: harbor.enabled
9 changes: 8 additions & 1 deletion charts/lagoon-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@ Run these commands:
```
kind create cluster

helm upgrade --install --create-namespace --namespace lagoon-core --values ./charts/lagoon-core/ci/linter-values.yaml --set lagoonAPIURL=http://localhost:7070/graphql --set keycloakAPIURL=http://localhost:8080/auth lagoon-core ./charts/lagoon-core
helm upgrade --install --create-namespace --namespace lagoon-core \
--values ./charts/lagoon-core/ci/linter-values.yaml \
--set lagoonAPIURL=http://localhost:7070/graphql \
--set keycloakAPIURL=http://localhost:8080/auth \
--set harbor.expose.type=clusterIP \
--set harbor.expose.tls.enabled=false \
lagoon-core \
./charts/lagoon-core

# make a note of the lagoonadmin credentials

Expand Down
5 changes: 5 additions & 0 deletions charts/lagoon-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -500,3 +500,8 @@ sshPortal:
# If not set and create is true, a name is generated using the fullname
# template
name: ""

# these services are chart dependencies

harbor:
enabled: true
1 change: 1 addition & 0 deletions ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ chart-dirs:
- charts
chart-repos:
- banzaicloud-stable=https://kubernetes-charts.banzaicloud.com
- harbor=https://helm.goharbor.io
helm-extra-args: --timeout 600s

0 comments on commit 773d130

Please sign in to comment.