diff --git a/roles/gitops/rendering-apps-files/templates/nexus/templates/ingress.yml.j2 b/roles/gitops/rendering-apps-files/templates/nexus/templates/ingress.yml.j2 index 5d34a1b36..c26331faf 100644 --- a/roles/gitops/rendering-apps-files/templates/nexus/templates/ingress.yml.j2 +++ b/roles/gitops/rendering-apps-files/templates/nexus/templates/ingress.yml.j2 @@ -1,3 +1,4 @@ +{% if dsc.global.platform == "openshift" %} --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -36,3 +37,4 @@ spec: name: {{ dsc.nexus.release }} port: name: http +{% endif %}