Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

FSD-717 - Harshal - Add ingress for artemis to access management console #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
27 changes: 27 additions & 0 deletions stable/activemq-artemis/templates/ci-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
kubernetes.io/ingress.class: internal-ingress
name: {{ include "artemis.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
rules:
- host: {{ include "artemis.fullname" . }}.ci.tarabutgateway.io
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other environments will also be included like, sandbox and prod and also sau. Better to interpolate the full host.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test the chart with this PR, or we should interpolate and then do the testing?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syed-faraz Can you check now?

http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: {{ include "artemis.fullname" . }}
port:
number: 8161
tls:
- hosts:
- {{ include "artemis.fullname" . }}.ci.tarabutgateway.io
secretName: {{ .Release.Namespace }}-{{ include "artemis.fullname" . }}-tls-cert