我在下面给出的文件夹结构中有一个资源 yaml 文件
根据
---- 首先.yaml
主要的
---- kustomization.yaml
在 kustomization.yaml 中,我将 first.yaml 称为
资源:
- ../base/first.yaml
但是当我应用 kubectl apply -f kustomizatio.yaml 时出现错误
accumulating resources: accumulating resources from '../base/first.yaml': security; file '../base/first.yaml' is not in or below '../base'
Run Code Online (Sandbox Code Playgroud)
如何从文件夹库调用first.yaml资源到主文件夹中的kustomization?