Skip to content

kubectl kustomize errored: error: specify one path to kustomization.yaml #8

@prestonvanloon

Description

@prestonvanloon
name: kustomization
on: push
    
env:
  DATREE_TOKEN: ${{ secrets.DATREE_TOKEN }} 

jobs:
  kustomize_check:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Run Datree Policy Check on Kustomize
        uses: datreeio/action-datree@69aaff54675fdbda959740657d0fc81be9afd4fc
        with:
          path: 'cluster/default/**'
          isKustomization: true
          cliArguments: '--policy Github --ignore-missing-schemas --output simple'

kubectl kustomize errored: error: specify one path to kustomization.yaml

It passes when using commit 460c784

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions