fix linter and flux paths
This commit is contained in:
parent
cea3b46673
commit
7a0bade84f
@ -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
|
||||
|
Reference in New Issue
Block a user