#!/usr/bin/env bash if [[ -f base/kustomization.yaml ]]; then cat >base/_manifest.yaml kubectl kustomize base else cat fi