rename config.k8s.io/function to config.kubernetes.io/function

This commit is contained in:
Phillip Wittrock
2020-01-07 11:11:59 -08:00
parent 2437e1ffe7
commit 0cae0feb9b
14 changed files with 33 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ Resource configuration, and looks for invalid configuration.
## Function invocation
The function is invoked by authoring a [local Resource](local-resource)
with `metadata.annotations.[config.k8s.io/function]` and running:
with `metadata.annotations.[config.kubernetes.io/function]` and running:
kustomize config run local-resource/

View File

@@ -5,7 +5,7 @@ apiVersion: examples.config.kubernetes.io/v1beta1
kind: Validator
metadata:
annotations:
config.k8s.io/function: |
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-tshirt:v0.1.0
---

View File

@@ -25,7 +25,7 @@ function input, and writing the function output.
## Function invocation
The function is invoked by authoring a [local Resource](local-resource)
with `metadata.annotations.[config.k8s.io/function]` and running:
with `metadata.annotations.[config.kubernetes.io/function]` and running:
kustomize config run local-resource/

View File

@@ -6,7 +6,7 @@ kind: Nginx
metadata:
name: demo
annotations:
config.k8s.io/function: |
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-nginx:v0.1.0
spec:

View File

@@ -20,7 +20,7 @@ heavy lifting of implementing the function interface.
## Function invocation
The function is invoked by authoring a [local Resource](local-resource)
with `metadata.annotations.[config.k8s.io/function]` and running:
with `metadata.annotations.[config.kubernetes.io/function]` and running:
kustomize config run local-resource/

View File

@@ -7,7 +7,7 @@ kind: CockroachDB
metadata:
name: demo
annotations:
config.k8s.io/function: |
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-cockroachdb:v0.1.0
spec:

View File

@@ -18,7 +18,7 @@ the `API` struct definition in [main.go](image/main.go) for documentation.
## Function invocation
The function is invoked by authoring a [local Resource](local-resource)
with `metadata.annotations.[config.k8s.io/function]` and running:
with `metadata.annotations.[config.kubernetes.io/function]` and running:
kustomize config run local-resource/

View File

@@ -5,7 +5,7 @@ apiVersion: examples.config.kubernetes.io/v1beta1
kind: Kubeval
metadata:
annotations:
config.k8s.io/function: |
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-validator-kubeval:v0.1.0
spec:

View File

@@ -15,7 +15,7 @@ Resource configuration, and looks for invalid configuration.
## Function invocation
The function is invoked by authoring a [local Resource](local-resource)
with `metadata.annotations.[config.k8s.io/function]` and running:
with `metadata.annotations.[config.kubernetes.io/function]` and running:
kustomize config run local-resource/

View File

@@ -5,7 +5,7 @@ apiVersion: examples.config.kubernetes.io/v1beta1
kind: Validator
metadata:
annotations:
config.k8s.io/function: |
config.kubernetes.io/function: |
container:
image: gcr.io/kustomize-functions/example-validator:v0.1.0
---