From dffb6cad312b33f74c28bda8f3a471a3484c8934 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 1 May 2026 14:08:07 +0000 Subject: [PATCH] Ensured docker repo access works --- kubernetes-templates/nexus.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/kubernetes-templates/nexus.yml b/kubernetes-templates/nexus.yml index 541cb0a..b794319 100644 --- a/kubernetes-templates/nexus.yml +++ b/kubernetes-templates/nexus.yml @@ -24,6 +24,7 @@ metadata: namespace: nexus type: Opaque data: + # Contains khongisa-key-2026 nexus.secrets.json: ewogICJhY3RpdmUiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICJrZXlzIjogWwogICAgewogICAgICAiaWQiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICAgICAia2V5IjogIk5tTmhZMll3TkdNMUltVXdOVGt4WkROa1l6a3habVk1WVRJek5UWTVOalE9IgogICAgfQogIF0KfQo= postgres-password: TWd6dUxVakZianA5ZjQ= redis-password: NjI4akZL @@ -67,7 +68,7 @@ spec: ports: - containerPort: 8081 name: nexus-ui - - containerPort: 8082 + - containerPort: 8082 # Match internal HTTP connector name: docker-repo env: - name: INSTALL4J_ADD_VM_PARAMS @@ -102,6 +103,7 @@ spec: secretKeyRef: name: nexus-secrets key: postgres-password + # Redis Caching Layer - name: NEXUS_CACHE_TYPE value: "redis" - name: NEXUS_CACHE_REDIS_HOST @@ -160,19 +162,20 @@ spec: nodePort: 31009 - name: docker protocol: TCP - port: 8082 + port: 8082 # Internal Nexus Port targetPort: 8082 - nodePort: 31010 + nodePort: 31010 # External NodePort --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: - name: nexus-web + name: nexus-web-ui namespace: nexus spec: entryPoints: - websecure routes: + # Only for UI. Docker now uses direct NodePort 31010 - match: Host(`nexus.khongisa.co.za`) kind: Rule services: