fix linter and flux paths

This commit is contained in:
Lee 2024-09-23 10:13:51 +01:00
parent cea3b46673
commit 7a0bade84f
4 changed files with 8 additions and 7 deletions

@ -4,16 +4,17 @@ on:
push:
branches: [main, master]
paths:
- "apps/**"
- "kubernetes/apps/**"
pull_request:
paths:
- "apps/**"
- "kubernetes/apps/**"
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
@ -36,4 +37,4 @@ jobs:
- name: Scan yaml files with kube-linter
run: |
kube-linter lint ./apps
kube-linter lint .kubernetes/apps

@ -11,6 +11,6 @@ spec:
sourceRef:
kind: GitRepository
name: flux-system
path: ./apps/production
path: ./kubernetes/apps/production
prune: true
wait: true

@ -20,7 +20,7 @@ metadata:
namespace: flux-system
spec:
interval: 10m0s
path: ./clusters/production
path: ./kubernetes/clusters/production
prune: true
sourceRef:
kind: GitRepository

@ -9,6 +9,6 @@ spec:
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure
path: ./kubernetes/infrastructure
prune: true
wait: true