Compare commits

...

12 Commits

Author SHA1 Message Date
codex-manual ca08bd86a1 ci(frontend): update oauth frontend image tags 2026-06-15 14:27:16 +00:00
gitea-actions db226a06de ci: update ircs image tags 2026-06-15 14:09:40 +00:00
gitea-actions 458154221c ci: update ircs image tags 2026-06-15 13:26:35 +00:00
gitea-actions e42cf9acbe ci(frontend): update huawai image to sha-4588209b3e03 2026-06-15 13:24:51 +00:00
gitea-actions 0aa0ec0316 ci: update ircs image tags 2026-06-15 13:15:52 +00:00
gitea-actions be3efcb107 ci(frontend): update admin image to sha-c80a63b12cd4 2026-06-15 13:14:02 +00:00
gitea-actions a4a8b5a08c ci: update ircs image tags 2026-06-15 12:48:57 +00:00
Prodiglagla 1e89e83a1a fix(auth): remove injected JWT secret from prod 2026-06-15 20:47:00 +08:00
gitea-actions 9b5086ea35 ci(frontend): update admin image to sha-1bdd25fee772 2026-06-15 12:00:07 +00:00
gitea-actions b759844d13 ci(frontend): update huawai image to sha-2a6e6abf77b2 2026-06-15 11:58:48 +00:00
Prodiglagla f466b55af0 fix(frontend): enable IPv6 listeners for public frontends 2026-06-15 19:55:56 +08:00
Prodiglagla 9710d0e1d7 Enable dual-stack for public IRCS services 2026-06-15 19:20:35 +08:00
5 changed files with 83 additions and 25 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ spec:
- name: registry-secret - name: registry-secret
containers: containers:
- name: app - name: app
image: registry.mnnu.eu.org/ircs/ircs-config-service:sha-de9957f9ced5 image: registry.mnnu.eu.org/ircs/ircs-config-service:sha-fd3046b12539
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
+8 -12
View File
@@ -53,12 +53,6 @@ spec:
secretKeyRef: secretKeyRef:
name: ircs-prod-secrets name: ircs-prod-secrets
key: DB_PASSWORD key: DB_PASSWORD
- name: APP_IDENTITY_JWT_SECRET
valueFrom:
secretKeyRef:
name: ircs-prod-secrets
key: APP_IDENTITY_JWT_SECRET
optional: true
- name: APP_BFF_AUDIT_ENABLED - name: APP_BFF_AUDIT_ENABLED
value: "true" value: "true"
- name: IRCS_OUTBOUND_CIRCUIT_PORTAL_BFF_PROXY_ENABLED - name: IRCS_OUTBOUND_CIRCUIT_PORTAL_BFF_PROXY_ENABLED
@@ -104,6 +98,10 @@ metadata:
environment: prod environment: prod
spec: spec:
type: ClusterIP type: ClusterIP
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
selector: selector:
app: ircs-portal-bff app: ircs-portal-bff
ports: ports:
@@ -166,12 +164,6 @@ spec:
secretKeyRef: secretKeyRef:
name: ircs-prod-secrets name: ircs-prod-secrets
key: DB_PASSWORD key: DB_PASSWORD
- name: APP_IDENTITY_JWT_SECRET
valueFrom:
secretKeyRef:
name: ircs-prod-secrets
key: APP_IDENTITY_JWT_SECRET
optional: true
- name: APP_BFF_AUDIT_ENABLED - name: APP_BFF_AUDIT_ENABLED
value: "true" value: "true"
- name: APP_BFF_SERVICE_ID - name: APP_BFF_SERVICE_ID
@@ -226,6 +218,10 @@ metadata:
environment: prod environment: prod
spec: spec:
type: ClusterIP type: ClusterIP
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
selector: selector:
app: ircs-admin-bff app: ircs-admin-bff
ports: ports:
@@ -26,6 +26,7 @@ data:
server { server {
listen 80; listen 80;
listen [::]:80;
server_name _; server_name _;
client_max_body_size 50m; client_max_body_size 50m;
@@ -107,6 +108,7 @@ data:
server { server {
listen 8080; listen 8080;
listen [::]:8080;
server_name _; server_name _;
client_max_body_size 50m; client_max_body_size 50m;
@@ -219,6 +221,53 @@ data:
} }
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap
metadata:
name: ircs-admin-frontend-nginx
namespace: ircs-prod
labels:
app.kubernetes.io/part-of: ircs
environment: prod
data:
default.conf: |
server {
listen 80;
listen [::]:80;
server_name localhost;
gzip on;
gzip_min_length 1k;
gzip_comp_level 6;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/json;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://ircs-admin-bff.ircs-prod.svc.cluster.local:8080/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
location /media/ {
proxy_pass http://ircs-admin-bff.ircs-prod.svc.cluster.local:8080/media/;
}
}
---
apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ircs-portal-frontend name: ircs-portal-frontend
@@ -229,6 +278,10 @@ metadata:
environment: prod environment: prod
spec: spec:
type: ClusterIP type: ClusterIP
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
selector: selector:
app: ircs-portal-frontend app: ircs-portal-frontend
ports: ports:
@@ -248,6 +301,10 @@ metadata:
environment: prod environment: prod
spec: spec:
type: ClusterIP type: ClusterIP
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
selector: selector:
app: ircs-admin-frontend app: ircs-admin-frontend
ports: ports:
@@ -305,13 +362,13 @@ spec:
environment: prod environment: prod
annotations: annotations:
ircs.prodigalgal.com/no-public-route: "true" ircs.prodigalgal.com/no-public-route: "true"
ircs.prodigalgal.com/config-version: "bff-20260606-1" ircs.prodigalgal.com/config-version: "ipv6-listen-20260615-1"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: registry-secret - name: registry-secret
containers: containers:
- name: huawai - name: huawai
image: registry.mnnu.eu.org/ircs/ircs-huawai-frontend:sha-fbd4430f6682 image: registry.mnnu.eu.org/ircs/ircs-huawai-frontend:sha-a31062f3a4b8
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
@@ -319,6 +376,8 @@ spec:
env: env:
- name: BACKEND_URL - name: BACKEND_URL
value: http://ircs-frontend-gateway.ircs-prod.svc.cluster.local:80 value: http://ircs-frontend-gateway.ircs-prod.svc.cluster.local:80
- name: HOSTNAME
value: "::"
resources: resources:
requests: requests:
cpu: 25m cpu: 25m
@@ -372,11 +431,16 @@ spec:
- name: registry-secret - name: registry-secret
containers: containers:
- name: ircs-admin-frontend - name: ircs-admin-frontend
image: registry.mnnu.eu.org/ircs/ircs-admin-frontend:sha-7a74ebb402ab image: registry.mnnu.eu.org/ircs/ircs-admin-frontend:sha-ed4d82a1a0b7
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 80
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
readOnly: true
resources: resources:
requests: requests:
cpu: 10m cpu: 10m
@@ -398,6 +462,10 @@ spec:
initialDelaySeconds: 20 initialDelaySeconds: 20
periodSeconds: 20 periodSeconds: 20
timeoutSeconds: 3 timeoutSeconds: 3
volumes:
- name: nginx-config
configMap:
name: ircs-admin-frontend-nginx
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
@@ -425,7 +493,7 @@ spec:
environment: prod environment: prod
annotations: annotations:
ircs.prodigalgal.com/no-public-route: "true" ircs.prodigalgal.com/no-public-route: "true"
ircs.prodigalgal.com/config-version: "bff-20260606-1" ircs.prodigalgal.com/config-version: "ipv6-listen-20260615-1"
spec: spec:
containers: containers:
- name: nginx - name: nginx
@@ -27,7 +27,7 @@ spec:
- name: registry-secret - name: registry-secret
containers: containers:
- name: app - name: app
image: registry.mnnu.eu.org/ircs/ircs-identity-service:sha-de9957f9ced5 image: registry.mnnu.eu.org/ircs/ircs-identity-service:sha-fd3046b12539
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
@@ -50,12 +50,6 @@ spec:
secretKeyRef: secretKeyRef:
name: ircs-prod-secrets name: ircs-prod-secrets
key: DB_PASSWORD key: DB_PASSWORD
- name: APP_IDENTITY_JWT_SECRET
valueFrom:
secretKeyRef:
name: ircs-prod-secrets
key: APP_IDENTITY_JWT_SECRET
optional: true
- name: SECURITY_ADMIN_PASSWORD - name: SECURITY_ADMIN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
+1 -1
View File
@@ -21,7 +21,7 @@ spec:
- name: registry-secret - name: registry-secret
containers: containers:
- name: migrator - name: migrator
image: registry.mnnu.eu.org/ircs/ircs-migrator:sha-de9957f9ced5 image: registry.mnnu.eu.org/ircs/ircs-migrator:sha-fd3046b12539
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: SPRING_DATASOURCE_URL - name: SPRING_DATASOURCE_URL