mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Fn framework template and process options
- Refactor framework code to be simpler - Add TemplatesFn feature - Add PreProcessFilters feature - Add PostProcessFilters features - Add TemplatesFromDir - Add PatchTemplatesFromDir - Add PatchContainerTemplatesFromDir
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Copyright 2019 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
env:
|
||||
key: {{ .Key }}
|
||||
value: {{ .Value }}
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright 2019 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
spec:
|
||||
replicas: {{ .Replicas }}
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright 2019 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: foo
|
||||
namespace: bar
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: foo
|
||||
image: {{ .Image }}
|
||||
Reference in New Issue
Block a user