mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Docs and examples use config.k8s.io/function annotation
- Update function docs to recommend new annotation - Update examples to use config.k8s.io/function annotation
This commit is contained in:
@@ -5,8 +5,9 @@ apiVersion: examples.config.kubernetes.io/v1beta1 # call `kustomize config run`
|
||||
kind: Nginx
|
||||
metadata:
|
||||
name: demo
|
||||
configFn:
|
||||
container:
|
||||
image: gcr.io/kustomize-functions/example-nginx:v0.1.0
|
||||
annotations:
|
||||
config.k8s.io/function: |
|
||||
container:
|
||||
image: gcr.io/kustomize-functions/example-nginx:v0.1.0
|
||||
spec:
|
||||
replicas: 4
|
||||
|
||||
Reference in New Issue
Block a user