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 namespace: nexus
type: Opaque type: Opaque
data: data:
# Contains khongisa-key-2026
nexus.secrets.json: ewogICJhY3RpdmUiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICJrZXlzIjogWwogICAgewogICAgICAiaWQiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICAgICAia2V5IjogIk5tTmhZMll3TkdNMUltVXdOVGt4WkROa1l6a3habVk1WVRJek5UWTVOalE9IgogICAgfQogIF0KfQo= nexus.secrets.json: ewogICJhY3RpdmUiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICJrZXlzIjogWwogICAgewogICAgICAiaWQiOiAia2hvbmdpc2Eta2V5LTIwMjYiLAogICAgICAia2V5IjogIk5tTmhZMll3TkdNMUltVXdOVGt4WkROa1l6a3habVk1WVRJek5UWTVOalE9IgogICAgfQogIF0KfQo=
postgres-password: TWd6dUxVakZianA5ZjQ= postgres-password: TWd6dUxVakZianA5ZjQ=
redis-password: NjI4akZL redis-password: NjI4akZL
@@ -67,7 +68,7 @@ spec:
ports: ports:
- containerPort: 8081 - containerPort: 8081
name: nexus-ui name: nexus-ui
- containerPort: 8082 - containerPort: 8082 # Match internal HTTP connector
name: docker-repo name: docker-repo
env: env:
- name: INSTALL4J_ADD_VM_PARAMS - name: INSTALL4J_ADD_VM_PARAMS
@@ -102,6 +103,7 @@ spec:
secretKeyRef: secretKeyRef:
name: nexus-secrets name: nexus-secrets
key: postgres-password key: postgres-password
# Redis Caching Layer
- name: NEXUS_CACHE_TYPE - name: NEXUS_CACHE_TYPE
value: "redis" value: "redis"
- name: NEXUS_CACHE_REDIS_HOST - name: NEXUS_CACHE_REDIS_HOST
@@ -160,19 +162,20 @@ spec:
nodePort: 31009 nodePort: 31009
- name: docker - name: docker
protocol: TCP protocol: TCP
port: 8082 port: 8082 # Internal Nexus Port
targetPort: 8082 targetPort: 8082
nodePort: 31010 nodePort: 31010 # External NodePort
--- ---
apiVersion: traefik.io/v1alpha1 apiVersion: traefik.io/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: nexus-web name: nexus-web-ui
namespace: nexus namespace: nexus
spec: spec:
entryPoints: entryPoints:
- websecure - websecure
routes: routes:
# Only for UI. Docker now uses direct NodePort 31010
- match: Host(`nexus.khongisa.co.za`) - match: Host(`nexus.khongisa.co.za`)
kind: Rule kind: Rule
services: services: