mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +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:
@@ -222,15 +222,15 @@ Following is an example of running the `kustomize config run` using the precedin
|
||||
metadata:
|
||||
name: my-instance
|
||||
annotations:
|
||||
config.k8s.io/function: |
|
||||
container:
|
||||
image: gcr.io/example-functions/nginx-template:v1.0.0
|
||||
config.kubernetes.io/local-config: "true"
|
||||
configFn:
|
||||
container:
|
||||
image: gcr.io/example-functions/nginx-template:v1.0.0
|
||||
spec:
|
||||
replicas: 5
|
||||
|
||||
- `configFn.container.image`: the image to use for this API
|
||||
- `annotations[config.kubernetes.io/local-config]`: mark this as not a Resource that should
|
||||
- `annotations.[config.k8s.io/function]`: the image to use for this API
|
||||
- `annotations.[config.kubernetes.io/local-config]`: mark this as not a Resource that should
|
||||
be applied
|
||||
|
||||
#### `kustomize config run dir/` (Output)
|
||||
|
||||
Reference in New Issue
Block a user