Skip to content

Commit

Permalink
Added new redirect to for kariera.bratislava.sk (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidriduch authored Oct 8, 2024
1 parent 6d8013a commit 66a61b2
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions next/kubernetes/base/kariera.ingress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kariera-${BUILD_REPOSITORY_NAME}-ingress
namespace: ${NAMESPACE}
labels:
service: redirect
annotations:
cert-manager.io/cluster-issuer: cloudflare-dns01
cert-manager.io/issue-temporary-certificate: 'true'
kubernetes.io/ingress.class: haproxy
ingress.kubernetes.io/redirect-to: https://${BRATISKA_HOSTNAME}/mesto-bratislava/sprava-mesta/magistrat/pracovne-prilezitosti
spec:
tls:
- hosts:
- kariera.${DEPLOYMENT_ENV}bratislava.sk
- www.kariera.${DEPLOYMENT_ENV}bratislava.sk
secretName: kariera-${BUILD_REPOSITORY_NAME}-tls
rules:
- host: kariera.${DEPLOYMENT_ENV}bratislava.sk
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: ${BUILD_REPOSITORY_NAME}-app
port:
number: 80
- host: www.kariera.${DEPLOYMENT_ENV}bratislava.sk
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: ${BUILD_REPOSITORY_NAME}-app
port:
number: 80
1 change: 1 addition & 0 deletions next/kubernetes/base/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resources:
- klima.ingress.yml
- camping.ingress.yml
- horskypark.ingress.yml
- kariera.ingress.yml
configurations:
- configuration.yml

Expand Down

0 comments on commit 66a61b2

Please sign in to comment.