diff --git a/cluster-scope/overlays/nerc-ocp-prod/ingresscontrollers/external-apps-ingress-controller.yaml b/cluster-scope/overlays/nerc-ocp-prod/ingresscontrollers/external-apps-ingress-controller.yaml index 715ec185..b9d53e84 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/ingresscontrollers/external-apps-ingress-controller.yaml +++ b/cluster-scope/overlays/nerc-ocp-prod/ingresscontrollers/external-apps-ingress-controller.yaml @@ -17,4 +17,4 @@ spec: nerc.mghpcc.org/external-ingress: 'true' routeSelector: matchLabels: - type: external + nerc.mghpcc.org/external-ingress: 'true' diff --git a/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml index c86a6ae2..c1df838b 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml @@ -20,6 +20,7 @@ resources: - nodenetworkconfigurationpolicies - metallb - clusterversion.yaml +- services/router-external-apps-ingress-controller.yaml patches: - path: ingresscontrollers/default_patch.yaml diff --git a/cluster-scope/overlays/nerc-ocp-prod/services/router-external-apps-ingress-controller.yaml b/cluster-scope/overlays/nerc-ocp-prod/services/router-external-apps-ingress-controller.yaml new file mode 100644 index 00000000..d9438a96 --- /dev/null +++ b/cluster-scope/overlays/nerc-ocp-prod/services/router-external-apps-ingress-controller.yaml @@ -0,0 +1,33 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + metallb.universe.tf/address-pool: public + traffic-policy.network.alpha.openshift.io/local-with-fallback: "" + labels: + app: router + ingresscontroller.operator.openshift.io/owning-ingresscontroller: external-apps-ingress-controller + router: router-external-apps-ingress-controller + name: router-external-apps-ingress-controller + namespace: openshift-ingress +spec: + allocateLoadBalancerNodePorts: true + externalTrafficPolicy: Local + healthCheckNodePort: 32573 + internalTrafficPolicy: Cluster + ipFamilies: + - IPv4 + ipFamilyPolicy: SingleStack + loadBalancerIP: 199.94.61.6 + ports: + - name: http + nodePort: 31731 + port: 80 + targetPort: http + - name: https + nodePort: 31651 + port: 443 + targetPort: https + selector: + ingresscontroller.operator.openshift.io/deployment-ingresscontroller: external-apps-ingress-controller + type: LoadBalancer