diff --git a/.gitea/workflows/kubernetes-linter.yml b/.gitea/workflows/kubernetes-linter.yml index 14fb131..4cbf8de 100644 --- a/.gitea/workflows/kubernetes-linter.yml +++ b/.gitea/workflows/kubernetes-linter.yml @@ -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 diff --git a/kubernetes/clusters/production/apps.yaml b/kubernetes/clusters/production/apps.yaml index 8b055ba..294a924 100644 --- a/kubernetes/clusters/production/apps.yaml +++ b/kubernetes/clusters/production/apps.yaml @@ -11,6 +11,6 @@ spec: sourceRef: kind: GitRepository name: flux-system - path: ./apps/production + path: ./kubernetes/apps/production prune: true wait: true diff --git a/kubernetes/clusters/production/flux-system/gotk-sync.yaml b/kubernetes/clusters/production/flux-system/gotk-sync.yaml index 5c6caff..1e3ad83 100644 --- a/kubernetes/clusters/production/flux-system/gotk-sync.yaml +++ b/kubernetes/clusters/production/flux-system/gotk-sync.yaml @@ -20,7 +20,7 @@ metadata: namespace: flux-system spec: interval: 10m0s - path: ./clusters/production + path: ./kubernetes/clusters/production prune: true sourceRef: kind: GitRepository diff --git a/kubernetes/clusters/production/infrastructure.yaml b/kubernetes/clusters/production/infrastructure.yaml index 9a539e4..b0b4217 100644 --- a/kubernetes/clusters/production/infrastructure.yaml +++ b/kubernetes/clusters/production/infrastructure.yaml @@ -9,6 +9,6 @@ spec: sourceRef: kind: GitRepository name: flux-system - path: ./infrastructure + path: ./kubernetes/infrastructure prune: true wait: true