2024-09-08 21:18:10 +00:00
---
# Source: harbor/templates/core/core-secret.yaml
apiVersion : v1
kind : Secret
metadata :
name : harbor-core
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
secretKey : "bm90LWEtc2VjdXJlLWtleQ=="
secret : "ZW92VFRmU3RSNGR4R2FPYg=="
tls.key : "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBS0NBUUVBdm96RWMrWEJ2RVkvbVgxaVlLOXk5MjhoQ2V5VXBiVTRwUWY0VHZQUzE4alFObklqClNUNnJNUS96ejdRR2hvSHpPci90YjNDQnE1ZjY1NjdQd3VscVpjcUxKK1FydzlZZEJyQlhFMnRzWHhwei81UGcKT1pWdG05b2lUVDJJRUw1N0xVYVhlNjRheG5GbkVHTTdmY3JOdlFyZzhGWU1BdGJhV3puMHUyWUNQS0xKWG0wRwpIQlUrWXcxOHM2Q2o2ZG5uRUtITVBSNDF3VTNSU01aTlAxcWovc1dlVDFWMWZGdlV6OFNlOFJLOGZHUE9CQjBsClhHVDd1U0wzZTZUc1N1ZHZMMDV0cmR4QzJhbjNpMTBvM2FtMkh4d1EramRWZUx2cXNrU2daWnBGck9lZUxTc08KdmR4SFJ0azNIRlY4UFlwMVBHZWR3NFlNSDFiU1ZkTDgxZ1JBbFFJREFRQUJBb0lCQVFDb3hjZXZHNTVZSXlScgp6OG1WOTNCdHhrbE9IL1NkUFFENTh6QTB4Zk5HMnYvSWFabmxZeE4vOWpBdUZMYis1aFRJUVh5TkN1cGZVTktUCjZKcnVlWTJhc1NaRjQrdjduaWJCYU9rSE0wdWVoTENmZTV2TGhSVzdTQjYvcVROZUdVakNsbGJQM2lxcS80Q1kKM0R1eU5ERzhNZW1BRmNhM3NSTmdYOW5yTGZQblBZU0s5d3N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# Source: harbor/templates/exporter/exporter-secret.yaml
apiVersion : v1
kind : Secret
metadata :
name : harbor-exporter
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
HARBOR_ADMIN_PASSWORD : "SGFyYm9yMTIzNDU="
---
# Source: harbor/templates/jobservice/jobservice-secrets.yaml
apiVersion : v1
kind : Secret
metadata :
name : "harbor-jobservice"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
JOBSERVICE_SECRET : "Sk5JU3VIUHViZDYwTjlOUQ=="
REGISTRY_CREDENTIAL_PASSWORD : "aGFyYm9yX3JlZ2lzdHJ5X3Bhc3N3b3Jk"
---
# Source: harbor/templates/registry/registry-secret.yaml
apiVersion : v1
kind : Secret
metadata :
name : "harbor-registry"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
REGISTRY_HTTP_SECRET : "ODV4RjZ5TkZlYnh0M3hkZA=="
REGISTRY_REDIS_PASSWORD : "TXZZY3VVMFJhSXUxU1g3ZlkxbTFKcmdMVVNhWkpqZ2U="
---
# Source: harbor/templates/registry/registry-secret.yaml
apiVersion : v1
kind : Secret
metadata :
name : "harbor-registry-htpasswd"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
REGISTRY_HTPASSWD : "aGFyYm9yX3JlZ2lzdHJ5X3VzZXI6JDJhJDEwJDJiSTc1ZjlUeXdmYkZ1bnpNQk50NnVOQUNMVko4UjdDWmtrV2M2UzROUnlIMlZiR2RaNXVT"
---
# Source: harbor/templates/registry/registryctl-secret.yaml
apiVersion : v1
kind : Secret
metadata :
name : "harbor-registryctl"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
type : Opaque
data :
---
2022-08-16 09:40:54 +00:00
# Source: harbor/templates/core/core-cm.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : harbor-core
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
app.conf : |+
appname = Harbor
runmode = prod
enablegzip = true
[ prod]
httpport = 8080
PORT : "8080"
DATABASE_TYPE : "postgresql"
2024-07-28 17:21:48 +00:00
POSTGRESQL_HOST : "172.20.43.1"
2022-08-16 09:40:54 +00:00
POSTGRESQL_PORT : "5432"
2024-07-28 17:21:48 +00:00
POSTGRESQL_USERNAME : "kspace_harbor"
POSTGRESQL_DATABASE : "kspace_harbor"
2022-08-16 09:40:54 +00:00
POSTGRESQL_SSLMODE : "disable"
POSTGRESQL_MAX_IDLE_CONNS : "100"
POSTGRESQL_MAX_OPEN_CONNS : "900"
EXT_ENDPOINT : "https://harbor.k-space.ee"
CORE_URL : "http://harbor-core:80"
JOBSERVICE_URL : "http://harbor-jobservice"
REGISTRY_URL : "http://harbor-registry:5000"
TOKEN_SERVICE_URL : "http://harbor-core:80/service/token"
CORE_LOCAL_URL : "http://127.0.0.1:8080"
2024-07-28 17:21:48 +00:00
WITH_TRIVY : "false"
2022-08-16 09:40:54 +00:00
TRIVY_ADAPTER_URL : "http://harbor-trivy:8080"
2024-07-28 17:21:48 +00:00
REGISTRY_STORAGE_PROVIDER_NAME : "s3"
LOG_LEVEL : "debug"
2022-08-16 09:40:54 +00:00
CONFIG_PATH: "/etc/core/app.conf"
CHART_CACHE_DRIVER : "redis"
2024-07-28 17:21:48 +00:00
_REDIS_URL_CORE : "redis://:MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge@dragonfly:6379/0?idle_timeout_seconds=30"
_REDIS_URL_REG : "redis://:MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge@dragonfly:6379/2?idle_timeout_seconds=30"
2022-08-16 09:40:54 +00:00
PORTAL_URL : "http://harbor-portal"
REGISTRY_CONTROLLER_URL : "http://harbor-registry:8080"
REGISTRY_CREDENTIAL_USERNAME : "harbor_registry_user"
HTTP_PROXY : ""
HTTPS_PROXY : ""
NO_PROXY : "harbor-core,harbor-jobservice,harbor-database,harbor-registry,harbor-portal,harbor-trivy,harbor-exporter,127.0.0.1,localhost,.local,.internal"
2024-07-28 17:21:48 +00:00
PERMITTED_REGISTRY_TYPES_FOR_PROXY_CACHE : "docker-hub,harbor,azure-acr,aws-ecr,google-gcr,quay,docker-registry,github-ghcr,jfrog-artifactory"
2022-08-16 09:40:54 +00:00
METRIC_ENABLE : "true"
METRIC_PATH : "/metrics"
METRIC_PORT : "8001"
METRIC_NAMESPACE : harbor
METRIC_SUBSYSTEM : core
2024-07-28 17:21:48 +00:00
QUOTA_UPDATE_PROVIDER : "db"
---
# Source: harbor/templates/exporter/exporter-cm-env.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-exporter-env"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2024-07-28 17:21:48 +00:00
data :
HTTP_PROXY : ""
HTTPS_PROXY : ""
NO_PROXY : "harbor-core,harbor-jobservice,harbor-database,harbor-registry,harbor-portal,harbor-trivy,harbor-exporter,127.0.0.1,localhost,.local,.internal"
LOG_LEVEL : "debug"
HARBOR_EXPORTER_PORT : "8001"
HARBOR_EXPORTER_METRICS_PATH : "/metrics"
HARBOR_EXPORTER_METRICS_ENABLED : "true"
HARBOR_EXPORTER_CACHE_TIME : "23"
HARBOR_EXPORTER_CACHE_CLEAN_INTERVAL : "14400"
HARBOR_METRIC_NAMESPACE : harbor
HARBOR_METRIC_SUBSYSTEM : exporter
HARBOR_REDIS_URL : "redis://:MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge@dragonfly:6379/1"
HARBOR_REDIS_NAMESPACE : harbor_job_service_namespace
HARBOR_REDIS_TIMEOUT : "3600"
HARBOR_SERVICE_SCHEME : "http"
HARBOR_SERVICE_HOST : "harbor-core"
HARBOR_SERVICE_PORT : "80"
HARBOR_DATABASE_HOST : "172.20.43.1"
HARBOR_DATABASE_PORT : "5432"
HARBOR_DATABASE_USERNAME : "kspace_harbor"
HARBOR_DATABASE_DBNAME : "kspace_harbor"
HARBOR_DATABASE_SSLMODE : "disable"
HARBOR_DATABASE_MAX_IDLE_CONNS : "100"
HARBOR_DATABASE_MAX_OPEN_CONNS : "900"
2022-08-16 09:40:54 +00:00
---
# Source: harbor/templates/jobservice/jobservice-cm-env.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-jobservice-env"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
CORE_URL : "http://harbor-core:80"
TOKEN_SERVICE_URL : "http://harbor-core:80/service/token"
REGISTRY_URL : "http://harbor-registry:5000"
REGISTRY_CONTROLLER_URL : "http://harbor-registry:8080"
REGISTRY_CREDENTIAL_USERNAME : "harbor_registry_user"
2024-07-28 17:21:48 +00:00
JOBSERVICE_WEBHOOK_JOB_MAX_RETRY : "3"
JOBSERVICE_WEBHOOK_JOB_HTTP_CLIENT_TIMEOUT : "3"
2022-08-16 09:40:54 +00:00
HTTP_PROXY : ""
HTTPS_PROXY : ""
NO_PROXY : "harbor-core,harbor-jobservice,harbor-database,harbor-registry,harbor-portal,harbor-trivy,harbor-exporter,127.0.0.1,localhost,.local,.internal"
2024-07-28 17:21:48 +00:00
METRIC_NAMESPACE : harbor
METRIC_SUBSYSTEM : jobservice
2022-08-16 09:40:54 +00:00
---
# Source: harbor/templates/jobservice/jobservice-cm.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-jobservice"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
config.yml : |+
#Server listening port
protocol : "http"
port : 8080
worker_pool :
workers : 10
backend : "redis"
redis_pool :
2024-07-28 17:21:48 +00:00
redis_url : "redis://:MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge@dragonfly:6379/1"
2022-08-16 09:40:54 +00:00
namespace : "harbor_job_service_namespace"
idle_timeout_second : 3600
job_loggers :
- name : "FILE"
2024-07-28 17:21:48 +00:00
level : DEBUG
2022-08-16 09:40:54 +00:00
settings : # Customized settings of logger
base_dir : "/var/log/jobs"
sweeper :
duration : 14 #days
settings : # Customized settings of sweeper
work_dir : "/var/log/jobs"
metric :
2024-07-28 17:21:48 +00:00
enabled : true
2022-08-16 09:40:54 +00:00
path : /metrics
port : 8001
#Loggers for the job service
loggers :
- name : "STD_OUTPUT"
2024-07-28 17:21:48 +00:00
level : DEBUG
reaper :
# the max time to wait for a task to finish, if unfinished after max_update_hours, the task will be mark as error, but the task will continue to run, default value is 24
max_update_hours : 24
# the max time for execution in running state without new task created
max_dangling_hours : 168
2022-08-16 09:40:54 +00:00
---
# Source: harbor/templates/portal/configmap.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-portal"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
nginx.conf : |+
worker_processes auto;
pid /tmp/nginx.pid;
events {
worker_connections 1024;
}
http {
client_body_temp_path /tmp/client_body_temp;
proxy_temp_path /tmp/proxy_temp;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
server {
listen 8080;
listen [::]:8080;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
include /etc/nginx/mime.types;
gzip on;
gzip_min_length 1000;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
2024-07-28 17:21:48 +00:00
location /devcenter-api-2.0 {
try_files $uri $uri/ /swagger-ui-index.html;
}
2022-08-16 09:40:54 +00:00
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
}
}
---
# Source: harbor/templates/registry/registry-cm.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-registry"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
config.yml : |+
version : 0.1
log :
2024-07-28 17:21:48 +00:00
level : debug
2022-08-16 09:40:54 +00:00
fields :
service : registry
storage :
2024-07-28 17:21:48 +00:00
s3 :
region : us-east-1
bucket : harbor-operator-e60e5943-234a-496d-ae74-933f6a67c530
regionendpoint : https://external.minio-clusters.k-space.ee
2022-08-16 09:40:54 +00:00
cache :
layerinfo : redis
maintenance :
uploadpurging :
2024-07-28 17:21:48 +00:00
enabled : true
age : 168h
interval : 24h
dryrun : false
2022-08-16 09:40:54 +00:00
delete :
enabled : true
redirect :
2024-09-08 21:09:48 +00:00
disable : false
2022-08-16 09:40:54 +00:00
redis :
2024-07-28 17:21:48 +00:00
addr : dragonfly:6379
2022-08-16 09:40:54 +00:00
db : 2
2024-07-28 17:21:48 +00:00
password : MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge
2022-08-16 09:40:54 +00:00
readtimeout : 10s
writetimeout : 10s
dialtimeout : 10s
pool :
maxidle : 100
maxactive : 500
idletimeout : 60s
http :
addr : : 5000
relativeurls : false
# set via environment variable
# secret: placeholder
debug :
2024-07-28 17:21:48 +00:00
addr : : 8001
prometheus :
enabled : true
path : /metrics
2022-08-16 09:40:54 +00:00
auth :
htpasswd :
realm : harbor-registry-basic-realm
path : /etc/registry/passwd
validation :
disabled : true
compatibility :
schema1 :
enabled : true
ctl-config.yml : |+
---
protocol : "http"
port : 8080
2024-07-28 17:21:48 +00:00
log_level : debug
2022-08-16 09:40:54 +00:00
registry_config : "/etc/registry/config.yml"
---
# Source: harbor/templates/registry/registryctl-cm.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : "harbor-registryctl"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
data :
---
# Source: harbor/templates/jobservice/jobservice-pvc.yaml
kind : PersistentVolumeClaim
apiVersion : v1
metadata :
name : harbor-jobservice
2024-07-28 17:21:48 +00:00
annotations :
helm.sh/resource-policy : keep
2022-08-16 09:40:54 +00:00
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : jobservice
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : jobservice
2022-08-16 09:40:54 +00:00
spec :
accessModes :
2024-07-28 17:21:48 +00:00
- ReadWriteMany
2022-08-16 09:40:54 +00:00
resources :
requests :
2024-07-28 17:21:48 +00:00
storage : 5Gi
2022-08-16 09:40:54 +00:00
storageClassName : longhorn
---
# Source: harbor/templates/core/core-svc.yaml
apiVersion : v1
kind : Service
metadata :
name : harbor-core
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
spec :
ports :
- name : http-web
port : 80
targetPort : 8080
- name : http-metrics
port : 8001
selector :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : core
---
2024-07-28 17:21:48 +00:00
# Source: harbor/templates/exporter/exporter-svc.yaml
2022-08-16 09:40:54 +00:00
apiVersion : v1
kind : Service
metadata :
2024-07-28 17:21:48 +00:00
name : "harbor-exporter"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
spec :
ports :
2024-07-28 17:21:48 +00:00
- name : http-metrics
port : 8001
2022-08-16 09:40:54 +00:00
selector :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
component : exporter
2022-08-16 09:40:54 +00:00
---
# Source: harbor/templates/jobservice/jobservice-svc.yaml
apiVersion : v1
kind : Service
metadata :
name : "harbor-jobservice"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
spec :
ports :
- name : http-jobservice
port : 80
targetPort : 8080
2024-07-28 17:21:48 +00:00
- name : http-metrics
port : 8001
2022-08-16 09:40:54 +00:00
selector :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : jobservice
---
# Source: harbor/templates/portal/service.yaml
apiVersion : v1
kind : Service
metadata :
name : "harbor-portal"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
spec :
ports :
- port : 80
targetPort : 8080
selector :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : portal
---
# Source: harbor/templates/registry/registry-svc.yaml
apiVersion : v1
kind : Service
metadata :
name : "harbor-registry"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
spec :
ports :
- name : http-registry
port : 5000
- name : http-controller
port : 8080
2024-07-28 17:21:48 +00:00
- name : http-metrics
port : 8001
2022-08-16 09:40:54 +00:00
selector :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : registry
---
# Source: harbor/templates/core/core-dpl.yaml
apiVersion : apps/v1
kind : Deployment
metadata :
name : harbor-core
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : core
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : core
2022-08-16 09:40:54 +00:00
spec :
2024-07-28 17:21:48 +00:00
replicas : 1
revisionHistoryLimit : 10
2022-08-16 09:40:54 +00:00
selector :
matchLabels :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : core
template :
metadata :
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : core
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : core
annotations :
2024-09-08 21:09:48 +00:00
checksum/configmap : 459defa5f990e3b5029d62cfdb86ca9a4191544419bdac39dac6eabc20a1d07c
2024-09-08 21:18:10 +00:00
checksum/secret : cb3c7b9ca5ab79bbe000a4fc96165503da4a59cb40edc0e0b75b3f154910e171
checksum/secret-jobservice : abd218ca34d4473a7f8e1f6ed12b0b5e85e4f0b1ce1f6127afdfc59c9853fe7d
2022-08-16 09:40:54 +00:00
spec :
securityContext :
runAsUser : 10000
fsGroup : 10000
automountServiceAccountToken : false
terminationGracePeriodSeconds : 120
containers :
- name : core
2024-09-08 21:09:48 +00:00
image : goharbor/harbor-core:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
2022-08-16 09:40:54 +00:00
startupProbe :
httpGet :
path : /api/v2.0/ping
scheme : HTTP
port : 8080
failureThreshold : 360
initialDelaySeconds : 10
periodSeconds : 10
2024-07-28 17:21:48 +00:00
livenessProbe :
httpGet :
path : /api/v2.0/ping
scheme : HTTP
port : 8080
failureThreshold : 2
periodSeconds : 10
2022-08-16 09:40:54 +00:00
readinessProbe :
httpGet :
2024-07-28 17:21:48 +00:00
path : /api/v2.0/ping
2022-08-16 09:40:54 +00:00
scheme : HTTP
port : 8080
failureThreshold : 2
periodSeconds : 10
envFrom :
- configMapRef :
name : "harbor-core"
- secretRef :
name : "harbor-core"
env :
- name : CORE_SECRET
valueFrom :
secretKeyRef :
name : harbor-core
key : secret
- name : JOBSERVICE_SECRET
valueFrom :
secretKeyRef :
2024-07-28 17:21:48 +00:00
name : harbor-jobservice
2022-08-16 09:40:54 +00:00
key : JOBSERVICE_SECRET
2024-07-28 17:21:48 +00:00
- name : POSTGRESQL_PASSWORD
valueFrom :
secretKeyRef :
name : harbor-postgres-password
key : password
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
2022-08-16 09:40:54 +00:00
ports :
- containerPort : 8080
volumeMounts :
- name : config
mountPath : /etc/core/app.conf
subPath : app.conf
- name : secret-key
mountPath : /etc/core/key
subPath : key
- name : token-service-private-key
mountPath : /etc/core/private_key.pem
subPath : tls.key
- name : ca-download
mountPath : /etc/core/ca
- name : psc
mountPath : /etc/core/token
volumes :
- name : config
configMap :
name : harbor-core
items :
- key : app.conf
path : app.conf
- name : secret-key
secret :
2024-08-08 09:45:21 +00:00
secretName : harbor-core
2022-08-16 09:40:54 +00:00
items :
- key : secretKey
path : key
- name : token-service-private-key
secret :
secretName : harbor-core
- name : ca-download
secret :
- name : psc
emptyDir : {}
2024-07-28 17:21:48 +00:00
---
# Source: harbor/templates/exporter/exporter-dpl.yaml
apiVersion : apps/v1
kind : Deployment
metadata :
name : harbor-exporter
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2024-07-28 17:21:48 +00:00
component : exporter
app.kubernetes.io/component : exporter
spec :
replicas : 1
revisionHistoryLimit : 10
selector :
matchLabels :
release : harbor
app : "harbor"
component : exporter
template :
metadata :
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2024-07-28 17:21:48 +00:00
component : exporter
app.kubernetes.io/component : exporter
annotations :
2024-09-08 21:09:48 +00:00
checksum/configmap : 7175588df9aea5ad07381b9e28514d0f3506380b511be090b7d2ddc40beb5ab0
checksum/secret : be1b09e9e24f666fd357cca51bb49abd966708df0bd2e97078bf88db7ffddf85
2024-07-28 17:21:48 +00:00
spec :
securityContext :
runAsUser : 10000
fsGroup : 10000
automountServiceAccountToken : false
containers :
- name : exporter
2024-09-08 21:09:48 +00:00
image : goharbor/harbor-exporter:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
livenessProbe :
httpGet :
path : /
port : 8001
initialDelaySeconds : 300
periodSeconds : 10
readinessProbe :
httpGet :
path : /
port : 8001
initialDelaySeconds : 30
periodSeconds : 10
args : [ "-log-level" , "debug" ]
envFrom :
- configMapRef :
name : "harbor-exporter-env"
- secretRef :
name : "harbor-exporter"
env :
- name : HARBOR_DATABASE_PASSWORD
valueFrom :
secretKeyRef :
name : harbor-postgres-password
key : password
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
ports :
- containerPort : 8001
volumeMounts :
volumes :
- name : config
secret :
secretName : "harbor-exporter"
2022-08-16 09:40:54 +00:00
---
# Source: harbor/templates/jobservice/jobservice-dpl.yaml
apiVersion : apps/v1
2024-07-28 17:21:48 +00:00
kind : Deployment
2022-08-16 09:40:54 +00:00
metadata :
name : "harbor-jobservice"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : jobservice
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : jobservice
2022-08-16 09:40:54 +00:00
spec :
replicas : 1
2024-07-28 17:21:48 +00:00
revisionHistoryLimit : 10
strategy :
type : RollingUpdate
2022-08-16 09:40:54 +00:00
selector :
matchLabels :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : jobservice
template :
metadata :
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : jobservice
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : jobservice
annotations :
2024-09-08 21:09:48 +00:00
checksum/configmap : 5af691ab7fd728ad91fbd355f03ea709d69f58a32e405436cec9056617490bb3
checksum/configmap-env : f86af5d5cdbf21c00a2721265d7db84c8cda8ef1b2ac4da29aff32dbdf0a875d
2024-09-08 21:18:10 +00:00
checksum/secret : 28c5439858d9583576afb9f6fa5ec06f8cd0ddd5883de3d0bf500e043b1e9f37
checksum/secret-core : 0fd20ee0eab72090f437861dd69bda563072baddf2c1be9c8ea9adae7cd4450a
2022-08-16 09:40:54 +00:00
spec :
securityContext :
runAsUser : 10000
fsGroup : 10000
automountServiceAccountToken : false
terminationGracePeriodSeconds : 120
containers :
- name : jobservice
2024-09-08 21:09:48 +00:00
image : goharbor/harbor-jobservice:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
livenessProbe :
httpGet :
path : /api/v1/stats
scheme : HTTP
port : 8080
initialDelaySeconds : 300
periodSeconds : 10
2022-08-16 09:40:54 +00:00
readinessProbe :
httpGet :
path : /api/v1/stats
scheme : HTTP
port : 8080
initialDelaySeconds : 20
periodSeconds : 10
env :
- name : CORE_SECRET
valueFrom :
secretKeyRef :
name : harbor-core
key : secret
2024-07-28 17:21:48 +00:00
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
2022-08-16 09:40:54 +00:00
envFrom :
- configMapRef :
name : "harbor-jobservice-env"
- secretRef :
name : "harbor-jobservice"
ports :
- containerPort : 8080
volumeMounts :
- name : jobservice-config
mountPath : /etc/jobservice/config.yml
subPath : config.yml
- name : job-logs
mountPath : /var/log/jobs
subPath :
volumes :
- name : jobservice-config
configMap :
name : "harbor-jobservice"
- name : job-logs
persistentVolumeClaim :
claimName : harbor-jobservice
2024-08-23 18:34:41 +00:00
---
2022-08-16 09:40:54 +00:00
# Source: harbor/templates/portal/deployment.yaml
apiVersion : apps/v1
kind : Deployment
metadata :
name : "harbor-portal"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : portal
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : portal
2022-08-16 09:40:54 +00:00
spec :
replicas : 1
2024-07-28 17:21:48 +00:00
revisionHistoryLimit : 10
2022-08-16 09:40:54 +00:00
selector :
matchLabels :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : portal
template :
metadata :
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : portal
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : portal
2022-08-16 09:40:54 +00:00
annotations :
2024-09-08 21:09:48 +00:00
checksum/configmap : 24d858ac32ea0ba10f15274a5dc08a307a5bb9f3577cab5a58d086976c36aee5
2022-08-16 09:40:54 +00:00
spec :
securityContext :
runAsUser : 10000
fsGroup : 10000
automountServiceAccountToken : false
containers :
- name : portal
2024-09-08 21:09:48 +00:00
image : goharbor/harbor-portal:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
livenessProbe :
httpGet :
path : /
scheme : HTTP
port : 8080
initialDelaySeconds : 300
periodSeconds : 10
2022-08-16 09:40:54 +00:00
readinessProbe :
httpGet :
path : /
scheme : HTTP
port : 8080
initialDelaySeconds : 1
periodSeconds : 10
ports :
- containerPort : 8080
volumeMounts :
- name : portal-config
mountPath : /etc/nginx/nginx.conf
subPath : nginx.conf
volumes :
- name : portal-config
configMap :
name : "harbor-portal"
---
# Source: harbor/templates/registry/registry-dpl.yaml
apiVersion : apps/v1
2024-07-28 17:21:48 +00:00
kind : Deployment
2022-08-16 09:40:54 +00:00
metadata :
name : "harbor-registry"
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : registry
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : registry
2022-08-16 09:40:54 +00:00
spec :
replicas : 1
2024-07-28 17:21:48 +00:00
revisionHistoryLimit : 10
strategy :
type : RollingUpdate
2022-08-16 09:40:54 +00:00
selector :
matchLabels :
2024-07-28 17:21:48 +00:00
release : harbor
app : "harbor"
2022-08-16 09:40:54 +00:00
component : registry
template :
metadata :
labels :
2024-07-28 17:21:48 +00:00
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2022-08-16 09:40:54 +00:00
component : registry
2024-07-28 17:21:48 +00:00
app.kubernetes.io/component : registry
annotations :
2024-09-08 21:09:48 +00:00
checksum/configmap : 275b555209ecc9f8ff34a171d588f4030db27ae049e605ccf3cfa3c75d1acb6d
2024-09-08 21:18:10 +00:00
checksum/secret : 2e37b86bd1c3d83b57d2ed1d80dcbe1fc39a5e241fa8cb776dac29cbccf64448
checksum/secret-jobservice : b153867cbce5e1d1b9ca0d2f4757c175d79e0f7d439cd472f35f28d764497d0b
checksum/secret-core : 12550e5628a5bb979f1820737ebd09608aee707cfea2596b65edbeedc75d2558
2022-08-16 09:40:54 +00:00
spec :
securityContext :
runAsUser : 10000
fsGroup : 10000
2024-07-28 17:21:48 +00:00
fsGroupChangePolicy : OnRootMismatch
2022-08-16 09:40:54 +00:00
automountServiceAccountToken : false
terminationGracePeriodSeconds : 120
containers :
- name : registry
2024-09-08 21:09:48 +00:00
image : goharbor/registry-photon:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
livenessProbe :
httpGet :
path : /
scheme : HTTP
port : 5000
initialDelaySeconds : 300
periodSeconds : 10
2022-08-16 09:40:54 +00:00
readinessProbe :
httpGet :
path : /
scheme : HTTP
port : 5000
initialDelaySeconds : 1
periodSeconds : 10
2024-07-28 17:21:48 +00:00
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
2022-08-16 09:40:54 +00:00
args : [ "serve" , "/etc/registry/config.yml" ]
envFrom :
- secretRef :
name : "harbor-registry"
2024-07-28 17:21:48 +00:00
- secretRef :
name : harbor-minio-credentials
2022-08-16 09:40:54 +00:00
env :
ports :
- containerPort : 5000
2024-07-28 17:21:48 +00:00
- containerPort : 8001
2022-08-16 09:40:54 +00:00
volumeMounts :
- name : registry-data
mountPath : /storage
subPath :
- name : registry-htpasswd
mountPath : /etc/registry/passwd
subPath : passwd
- name : registry-config
mountPath : /etc/registry/config.yml
subPath : config.yml
- name : registryctl
2024-09-08 21:09:48 +00:00
image : goharbor/harbor-registryctl:v2.11.1
2024-07-28 17:21:48 +00:00
imagePullPolicy : IfNotPresent
livenessProbe :
httpGet :
path : /api/health
scheme : HTTP
port : 8080
initialDelaySeconds : 300
periodSeconds : 10
2022-08-16 09:40:54 +00:00
readinessProbe :
httpGet :
path : /api/health
scheme : HTTP
port : 8080
initialDelaySeconds : 1
periodSeconds : 10
2024-07-28 17:21:48 +00:00
securityContext :
allowPrivilegeEscalation : false
capabilities :
drop :
- ALL
privileged : false
runAsNonRoot : true
seccompProfile :
type : RuntimeDefault
2022-08-16 09:40:54 +00:00
envFrom :
- configMapRef :
name : "harbor-registryctl"
- secretRef :
name : "harbor-registry"
- secretRef :
name : "harbor-registryctl"
2024-07-28 17:21:48 +00:00
- secretRef :
name : harbor-minio-credentials
2022-08-16 09:40:54 +00:00
env :
- name : CORE_SECRET
valueFrom :
secretKeyRef :
name : harbor-core
key : secret
- name : JOBSERVICE_SECRET
valueFrom :
secretKeyRef :
name : harbor-jobservice
key : JOBSERVICE_SECRET
ports :
- containerPort : 8080
volumeMounts :
- name : registry-data
mountPath : /storage
subPath :
- name : registry-config
mountPath : /etc/registry/config.yml
subPath : config.yml
- name : registry-config
mountPath : /etc/registryctl/config.yml
subPath : ctl-config.yml
volumes :
- name : registry-htpasswd
secret :
secretName : harbor-registry-htpasswd
2024-07-28 17:21:48 +00:00
2022-08-16 09:40:54 +00:00
items :
- key : REGISTRY_HTPASSWD
path : passwd
- name : registry-config
configMap :
name : "harbor-registry"
- name : registry-data
2024-07-28 17:21:48 +00:00
emptyDir : {}
---
2024-09-08 21:09:48 +00:00
# Source: harbor/templates/ingress/ingress.yaml
apiVersion : networking.k8s.io/v1
kind : Ingress
metadata :
name : "harbor-ingress"
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
app.kubernetes.io/version : "2.11.1"
annotations :
cert-manager.io/cluster-issuer : default
external-dns.alpha.kubernetes.io/target : traefik.k-space.ee
ingress.kubernetes.io/proxy-body-size : "0"
ingress.kubernetes.io/ssl-redirect : "true"
kubernetes.io/ingress.class : traefik
nginx.ingress.kubernetes.io/proxy-body-size : "0"
nginx.ingress.kubernetes.io/ssl-redirect : "true"
traefik.ingress.kubernetes.io/router.entrypoints : websecure
traefik.ingress.kubernetes.io/router.tls : "true"
spec :
tls :
2024-09-08 21:18:10 +00:00
- hosts :
- "*.k-space.ee"
2024-09-08 21:09:48 +00:00
rules :
- http :
paths :
- path : /api/
pathType : Prefix
backend :
service :
name : harbor-core
port :
number : 80
- path : /service/
pathType : Prefix
backend :
service :
name : harbor-core
port :
number : 80
- path : /v2/
pathType : Prefix
backend :
service :
name : harbor-core
port :
number : 80
- path : /chartrepo/
pathType : Prefix
backend :
service :
name : harbor-core
port :
number : 80
- path : /c/
pathType : Prefix
backend :
service :
name : harbor-core
port :
number : 80
- path : /
pathType : Prefix
backend :
service :
name : harbor-portal
port :
number : 80
host : harbor.k-space.ee
---
2024-07-28 17:21:48 +00:00
# Source: harbor/templates/metrics/metrics-svcmon.yaml
apiVersion : monitoring.coreos.com/v1
kind : ServiceMonitor
metadata :
name : harbor
labels :
heritage : Helm
release : harbor
chart : harbor
app : "harbor"
app.kubernetes.io/instance : harbor
app.kubernetes.io/name : harbor
app.kubernetes.io/managed-by : Helm
app.kubernetes.io/part-of : harbor
2024-09-08 21:09:48 +00:00
app.kubernetes.io/version : "2.11.1"
2024-07-28 17:21:48 +00:00
spec :
jobLabel : app.kubernetes.io/name
endpoints :
- port : http-metrics
honorLabels : true
selector :
matchLabels :
release : harbor
app : "harbor"