Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build wraps krusty.MakeKustomizer with the following settings:
- secure on-disk FS denying operations outside root
- load files from outside the kustomization dir path (but not outside root)
- disable plugins except for the builtin ones
func SubstituteVariables ¶
func SubstituteVariables( ctx context.Context, kubeClient client.Client, kustomization *kustomizev1.Kustomization, res *resource.Resource) (*resource.Resource, error)
SubstituteVariables replaces the vars with their values in the specified resource. If a resource is labeled or annotated with 'kustomize.toolkit.fluxcd.io/substitute: disabled' the substitution is skipped.
Types ¶
type KustomizeGenerator ¶
type KustomizeGenerator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(root string, kustomization *kustomizev1.Kustomization) *KustomizeGenerator
Click to show internal directories.
Click to hide internal directories.