Browse Source
Merge pull request #5289 from ywk253100/180710_chart
Merge pull request #5289 from ywk253100/180710_chart
Fix misc issues of Harbor chartspull/5310/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 93 additions and 142 deletions
-
27contrib/helm/harbor/templates/NOTES.txt
-
4contrib/helm/harbor/templates/_helpers.tpl
-
36contrib/helm/harbor/templates/adminserver/adminserver-cm.yaml
-
8contrib/helm/harbor/templates/adminserver/adminserver-secrets.yaml
-
16contrib/helm/harbor/templates/ingress/ingress.yaml
-
6contrib/helm/harbor/templates/ingress/secret.yaml
-
2contrib/helm/harbor/templates/notary/notary-cm.yaml
-
2contrib/helm/harbor/templates/registry/registry-cm.yaml
-
12contrib/helm/harbor/templates/ui/ui-dpl.yaml
-
122contrib/helm/harbor/values.yaml
@ -1,26 +1,3 @@ |
|||
|
|||
Please wait for several minutes for Harbor deployment to complete. |
|||
Then follow the steps below to use Harbor. |
|||
|
|||
1. Add the Harbor CA certificate to Docker by executing the following command: |
|||
|
|||
sudo mkdir -p /etc/docker/certs.d/{{ .Values.externalDomain }} |
|||
kubectl get secret \ |
|||
--namespace {{ .Release.Namespace }} {{ template "harbor.fullname" . }}-ingress \ |
|||
-o jsonpath="{.data.ca\.crt}" | base64 --decode | \ |
|||
sudo tee /etc/docker/certs.d/{{ .Values.externalDomain }}/ca.crt |
|||
|
|||
2. Get Harbor admin password by executing the following command: |
|||
|
|||
kubectl get secret --namespace {{ .Release.Namespace }} {{ template "harbor.fullname" . }}-adminserver -o jsonpath="{.data.HARBOR_ADMIN_PASSWORD}" | base64 --decode; echo |
|||
|
|||
3. Add DNS resolution entry for Harbor FQDN {{ .Values.externalDomain }} to K8s Ingress Controller IP on DNS Server or in file /etc/hosts. |
|||
{{- if .Values.notary.enabled }} |
|||
Add DNS resolution entry for Notary FQDN {{ template "harbor.notaryFQDN" . }} to K8s Ingress Controller IP on DNS Server or in file /etc/hosts. |
|||
{{- end }} |
|||
|
|||
4. Access Harbor UI via https://{{ .Values.externalDomain }} |
|||
|
|||
5. Login Harbor with Docker CLI: |
|||
|
|||
docker login {{ .Values.externalDomain }} |
|||
Then you should be able to visit the UI portal at {{ template "harbor.externalURL" . }}. |
|||
For more details, please visit https://github.com/vmware/harbor. |
Write
Preview
Loading…
Cancel
Save
Reference in new issue