diff --git a/confluence/templates/ingress.yaml b/confluence/templates/ingress.yaml index dfbd3df..b09a933 100644 --- a/confluence/templates/ingress.yaml +++ b/confluence/templates/ingress.yaml @@ -17,7 +17,11 @@ spec: - host: {{ .Values.Ingress.Host }} http: paths: + {{- if .Values.Ingress.Path }} + - path: {{ .Values.Ingress.Path }} + {{- else }} - path: / + {{- end }} backend: serviceName: {{ .Release.Name }} servicePort: {{ .Values.Ingress.ServicePort }} diff --git a/confluence/values.yaml b/confluence/values.yaml index 1ac2a74..73f771e 100644 --- a/confluence/values.yaml +++ b/confluence/values.yaml @@ -96,6 +96,8 @@ Ingress: ServicePort: 8090 # Annotations: # - key: value + # Optional: Define a path to use in the ingress + # Path: /confluence PodDisruption: Enabled: false diff --git a/jira/templates/ingress.yaml b/jira/templates/ingress.yaml index edcd970..c301d94 100644 --- a/jira/templates/ingress.yaml +++ b/jira/templates/ingress.yaml @@ -10,8 +10,12 @@ spec: rules: - host: {{ .Values.Ingress.Host }} http: - paths: + paths: + {{- if .Values.Ingress.Path }} + - path: {{ .Values.Ingress.Path }} + {{- else }} - path: / + {{- end }} backend: serviceName: {{ .Release.Name }} servicePort: {{ .Values.Ingress.ServicePort }} diff --git a/jira/values.yaml b/jira/values.yaml index c1dd87c..ef5c422 100644 --- a/jira/values.yaml +++ b/jira/values.yaml @@ -113,6 +113,8 @@ Ingress: Enabled: true Host: jira.example.com ServicePort: 8080 + # Optional: Define a path to use in the ingress + # Path: /jira # to add promethues annotations PrometheusMetrics: