Ensured docker repo access works

This commit is contained in:
=
2026-05-01 14:08:07 +00:00
parent 079b9f4c14
commit dffb6cad31
+7 -4
View File
@@ -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: