Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
|
ebbf6bb517 | |
|
9e6ce2ac9a | |
|
3b73d5d494 | |
|
c5bd151d41 | |
|
fd26bc3c69 | |
|
e519eb318c | |
|
8ef6727bb4 | |
|
7f9ceb5525 | |
|
f11a566419 | |
|
fe2f3e5439 | |
|
b0c90f792e |
10
Chart.yaml
10
Chart.yaml
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
name: harbor
|
||||
version: 1.4.0-dev
|
||||
appVersion: dev
|
||||
version: 1.16.2
|
||||
appVersion: 2.12.2
|
||||
description: An open source trusted cloud native registry that stores, signs, and scans content
|
||||
keywords:
|
||||
- docker
|
||||
|
@ -15,10 +15,8 @@ sources:
|
|||
maintainers:
|
||||
- name: Yan Wang
|
||||
email: yan-yw.wang@broadcom.com
|
||||
- name: Wenkai Yin
|
||||
email: wenkai.yin@broadcom.com
|
||||
- name: Stone Zhang
|
||||
email: stone.zhang@broadcom.com
|
||||
- name: Miner Yang
|
||||
email: miner.yang@broadcom.com
|
||||
- name: Shengwen Yu
|
||||
email: shengwen.yu@broadcom.com
|
||||
engine: gotpl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@Library('harbor@main') _
|
||||
@Library('harbor@2.12') _
|
||||
import io.goharbor.*
|
||||
|
||||
class HarborChartFreshInstallPipelineExecutor extends FreshInstallPipelineExecutor implements Serializable {
|
||||
|
@ -22,8 +22,21 @@ class HarborChartFreshInstallPipelineExecutor extends FreshInstallPipelineExecut
|
|||
script.file(credentialsId: "kubeconfig", variable: "KUBE_CONFIG_FILE_PATH"),
|
||||
script.usernamePassword(credentialsId: "79e9fd98-cdf5-4f55-81fa-ecba01365534", usernameVariable: "DOCKER_HUB_USERNAME", passwordVariable: "DOCKER_HUB_PASSWORD")]) {
|
||||
script.sh """
|
||||
# login Docker Hub to avoid the pull limit
|
||||
docker login -u \${DOCKER_HUB_USERNAME} -p \${DOCKER_HUB_PASSWORD}
|
||||
# Set proxy registry or docker credential to bypass Docker Hub rate limit
|
||||
echo "PROXY_REGISTRY is \${PROXY_REGISTRY}"
|
||||
if [ "\${PROXY_REGISTRY}" != "" ]; then
|
||||
# set deafult registry to a proxy registry
|
||||
echo '{
|
||||
"registry-mirrors": ["'"\${PROXY_REGISTRY}"'"]
|
||||
}' | sudo tee /etc/docker/daemon.json > /dev/null
|
||||
|
||||
# Restart Docker to apply the changes
|
||||
sudo systemctl reset-failed docker.service
|
||||
sudo systemctl restart docker
|
||||
else
|
||||
docker login -u \${DOCKER_HUB_USERNAME} -p \${DOCKER_HUB_PASSWORD}
|
||||
fi
|
||||
|
||||
# build the image
|
||||
docker build -t deployer:dev -f test/e2e/Dockerfile test/e2e
|
||||
# clean up the namespace
|
||||
|
|
20
values.yaml
20
values.yaml
|
@ -483,7 +483,7 @@ containerSecurityContext:
|
|||
nginx:
|
||||
image:
|
||||
repository: goharbor/nginx-photon
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -514,7 +514,7 @@ nginx:
|
|||
portal:
|
||||
image:
|
||||
repository: goharbor/harbor-portal
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -554,7 +554,7 @@ portal:
|
|||
core:
|
||||
image:
|
||||
repository: goharbor/harbor-core
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -641,7 +641,7 @@ core:
|
|||
jobservice:
|
||||
image:
|
||||
repository: goharbor/harbor-jobservice
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -704,7 +704,7 @@ registry:
|
|||
registry:
|
||||
image:
|
||||
repository: goharbor/registry-photon
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 256Mi
|
||||
|
@ -713,7 +713,7 @@ registry:
|
|||
controller:
|
||||
image:
|
||||
repository: goharbor/harbor-registryctl
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 256Mi
|
||||
|
@ -794,7 +794,7 @@ trivy:
|
|||
# repository the repository for Trivy adapter image
|
||||
repository: goharbor/trivy-adapter-photon
|
||||
# tag the tag for Trivy adapter image
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -887,7 +887,7 @@ database:
|
|||
internal:
|
||||
image:
|
||||
repository: goharbor/harbor-db
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -967,7 +967,7 @@ redis:
|
|||
internal:
|
||||
image:
|
||||
repository: goharbor/redis-photon
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
# set the service account to be used, default if left empty
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
|
@ -1029,7 +1029,7 @@ redis:
|
|||
exporter:
|
||||
image:
|
||||
repository: goharbor/harbor-exporter
|
||||
tag: dev
|
||||
tag: v2.12.2
|
||||
serviceAccountName: ""
|
||||
# mount the service account token
|
||||
automountServiceAccountToken: false
|
||||
|
|
Loading…
Reference in New Issue