Skip to content

Commit

Permalink
wip: registries config
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthés <[email protected]>
  • Loading branch information
guilhem-barthes committed Mar 19, 2024
1 parent a8064fa commit c1e3c47
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/values/backend-org-2-harbor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ containerRegistry:
local: false
scheme: https
host: harbor.harbor.svc.cluster.local
pullDomain: harbor.harbor.svc.cluster.local:8443
port: 8443
pullDomain: registry.org-2.internal:30046
port: 30046
prepopulate:
- image: substra/substra-tools:latest
dstImage: substra/substra-tools:latest
sourceRegistry: ghcr.io

kaniko:
dockerConfigSecretName: docker-config
dockerConfigSecretName: docker-config
23 changes: 14 additions & 9 deletions examples/values/harbor.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
service:
type: ClusterIP
type: NodePort

ports:
http: 8080
https: 8443
global:
internalTLS:
enabled: true
http: 30000
https: 30046

nodePorts:
http: 30000
https: 30046


externalURL: https://harbor.harbor.svc.cluster.local:8443
externalURL: https://harbor.harbor.svc.cluster.local:30046
adminPassword: "harborP@ssword2403"

nginx:
containerPorts:
http: 30000
https: 30046
tls:
commonName: harbor.svc.cluster.local

ingress:
core:
hostname: harbor.harbor.svc.cluster.local
port: 8443
hostname: harbor.svc.cluster.local
port: 30046
50 changes: 50 additions & 0 deletions registries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
mirrors:
harbor.harbor.svc.cluster.local:
endpoint:
- https://localhost:30046/v2
- https://localhost:30046
- https://127.0.0.1:30046/v2
- https://127.0.0.1:30046
harbor.harbor.svc.cluster.local:30046:
endpoint:
- https://localhost:30046/v2
- https://localhost:30046
- https://127.0.0.1:30046/v2
- https://127.0.0.1:30046
registry.org-2.internal:30046:
endpoint:
- https://localhost:30046/v2
- https://localhost:30046
- https://127.0.0.1:30046/v2
- https://127.0.0.1:30046
registry.org-2.internal:
endpoint:
- https://localhost:30046/v2
- https://localhost:30046
- https://127.0.0.1:30046/v2
- https://127.0.0.1:30046
configs:
harbor.harbor.svc.cluster.local:
auth:
username: admin
password: harborP@ssword2403
tls:
insecure_skip_verify: true
harbor.harbor.svc.cluster.local:30046:
auth:
username: admin
password: harborP@ssword2403
tls:
insecure_skip_verify: true
registry.org-2.internal:30046:
auth:
username: admin
password: harborP@ssword2403
tls:
insecure_skip_verify: true
registry.org-2.internal:
auth:
username: admin
password: harborP@ssword2403
tls:
insecure_skip_verify: true

0 comments on commit c1e3c47

Please sign in to comment.