File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ Registry connection details
238238*/} }
239239{ {- define " trigger-v4.registry.host" -} }
240240{ {- if .Values.registry.deploy -} }
241- { { include " trigger-v4.fullname " . } }-registry: { { . Values.registry.service.port } }
241+ { { . Values.registry.host } }
242242{ {- else -} }
243- { { .Values.registry.external.host } }: { { .Values.registry.external.port } }
243+ { { .Values.registry.external.host } }
244244{ {- end -} }
245245{ {- end } }
246246
Original file line number Diff line number Diff line change @@ -492,20 +492,34 @@ s3:
492492
493493# Docker Registry configuration
494494registry :
495- # EXPERIMENTAL - requires TLS setup or additional cluster configuration. Configure `external` details instead.
495+ # EXPERIMENTAL - requires ingress/ TLS setup or additional cluster configuration. Configure `external` details instead.
496496 deploy : false
497497
498- repositoryNamespace : " trigger" # Docker repository namespace for deployed images, will be part of the image ref
498+ # This will be used when deploy: true
499+ host : " registry.example.com"
500+
501+ # Docker repository namespace for deployed images, will be part of the image ref
502+ repositoryNamespace : " trigger"
503+
499504 image :
500505 registry : docker.io
501506 repository : registry
502507 tag : " 2"
503508 pullPolicy : IfNotPresent
509+
504510 auth :
505511 enabled : true
506512 username : " registry-user"
507513 password : " very-secure-indeed"
508514
515+ # External Registry connection (when deploy: false)
516+ external :
517+ host : " localhost:5001"
518+ auth :
519+ enabled : false
520+ username : " "
521+ password : " "
522+
509523 podAnnotations : {}
510524
511525 # podSecurityContext:
@@ -571,15 +585,6 @@ registry:
571585 failureThreshold : 60
572586 successThreshold : 1
573587
574- # External Registry connection (when deploy: false)
575- external :
576- host : " localhost"
577- port : 5001
578- auth :
579- enabled : false
580- username : " "
581- password : " "
582-
583588 # Extra environment variables for Registry
584589 extraEnvVars :
585590 []
You can’t perform that action at this time.
0 commit comments