File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 2929
3030 - name : Helm repos
3131 run : |
32- helm repo add bitnami https://charts.bitnami.com/bitnami
32+ helm repo add goharbor https://helm.goharbor.io
3333 helm repo add sysdig https://charts.sysdig.com
3434 helm repo update
3535
@@ -40,17 +40,18 @@ jobs:
4040 run : |
4141 HARBOR_URL="https://${MINIKUBE_IP}:30003"
4242
43- helm install harbor bitnami /harbor \
43+ helm install harbor goharbor /harbor \
4444 --namespace harbor \
4545 --create-namespace \
4646 --set trivy.enabled=false \
47- --set service.type=NodePort \
48- --set service.nodePorts.http=30002 \
49- --set service.nodePorts.https=30003 \
47+ --set expose.type=nodePort \
48+ --set expose.nodePort.ports.http.port=30002 \
49+ --set expose.nodePort.ports.https.port=30003 \
50+ --set expose.tls.auto.commonName=${MINIKUBE_IP} \
5051 --set externalURL="${HARBOR_URL}"
5152
5253 HARBOR_USERNAME=admin
53- HARBOR_PASSWORD=$(kubectl get secret -n harbor harbor-core-envvars -o jsonpath='{.data.HARBOR_ADMIN_PASSWORD}' | base64 -d)
54+ HARBOR_PASSWORD=$(kubectl get secret -n harbor harbor-core -o jsonpath='{.data.HARBOR_ADMIN_PASSWORD}' | base64 -d)
5455 echo "::add-mask::${HARBOR_PASSWORD}"
5556
5657 echo "url=${HARBOR_URL}" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments