Skip to content

Commit 5ed4e16

Browse files
author
Alan Christie
committed
ci: Fix for ingress
1 parent cfd2620 commit 5ed4e16

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up Python 3.8
25-
uses: actions/setup-python@v2
23+
- uses: actions/checkout@v3
24+
- name: Set up Python
25+
uses: actions/setup-python@v3
2626
with:
27-
python-version: '3.8'
27+
python-version: '3.10'
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
@@ -34,4 +34,3 @@ jobs:
3434
run: |
3535
yamllint .
3636
find . -type f -name '*.yaml.j2' -exec yamllint {} +
37-
ansible-lint

roles/mini-apps-ui/templates/ingress.yaml.j2

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ metadata:
1313
# For a full set of nginx annotations see...
1414
# https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/
1515
spec:
16+
ingressClassName: nginx
1617
tls:
1718
- hosts:
1819
- {{ maui_hostname }}
@@ -22,6 +23,9 @@ spec:
2223
http:
2324
paths:
2425
- path: /{{ maui_hostname_path }}
26+
pathType: Prefix
2527
backend:
26-
serviceName: mini-apps-ui
27-
servicePort: http
28+
service:
29+
name: mini-apps-ui
30+
port:
31+
name: http

0 commit comments

Comments
 (0)