Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new redirect to for klimatickavyzva.bratislava.sk #1360

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions next/kubernetes/base/klimatickavyzva.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: klimatickavyzva-${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}/zivotne-prostredie-a-vystavba/klima/klimaticka-vyzva
spec:
tls:
- hosts:
- klimatickavyzva.${DEPLOYMENT_ENV}bratislava.sk
- www.klimatickavyzva.${DEPLOYMENT_ENV}bratislava.sk
secretName: klimatickavyzva-${BUILD_REPOSITORY_NAME}-tls
rules:
- host: klimatickavyzva.${DEPLOYMENT_ENV}bratislava.sk
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: ${BUILD_REPOSITORY_NAME}-app
port:
number: 80
- host: www.klimatickavyzva.${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 @@ -11,6 +11,7 @@ resources:
- camping.ingress.yml
- horskypark.ingress.yml
- kariera.ingress.yml
- klimatickavyzva.ingress.yml
configurations:
- configuration.yml

Expand Down
Loading