This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user