feat: publish isolated site artifacts
Test / test (pull_request) Successful in 5s

This commit is contained in:
Evelyn Chen
2026-08-29 21:28:28 +00:00
parent f1f780f5a3
commit 7aca96e320
10 changed files with 1032 additions and 109 deletions
+9 -2
View File
@@ -1,11 +1,18 @@
{% for artifact in artifacts %}
apiVersion: v1
kind: Service
metadata:
name: {{ site_k8s }}
name: {{ artifact.service_name }}
namespace: {{ namespace }}
{% if artifact.virtual_host %} annotations:
traefik.ingress.kubernetes.io/service.passhostheader: "false"
{% endif %}
spec:
type: ExternalName
externalName: garage.storage.svc.k8s.sjc001.fritzlab.net
externalName: {{ artifact.external_name }}
ports:
- port: 80
targetPort: 80
{% if not loop.last %}---
{% endif %}
{% endfor %}