【发布时间】:2021-08-01 12:50:20
【问题描述】:
我在下面给出的文件夹结构中有一个资源 yaml 文件
基础
---- first.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'
如何将文件夹 base 中的 first.yaml 资源调用到主文件夹中的 kustomization?
【问题讨论】:
标签: kubernetes yaml kustomize