diff --git a/cmd/config/docs/api-conventions/functions-impl.md b/cmd/config/docs/api-conventions/functions-impl.md index c0e8548c3..17891c50a 100644 --- a/cmd/config/docs/api-conventions/functions-impl.md +++ b/cmd/config/docs/api-conventions/functions-impl.md @@ -116,14 +116,14 @@ metadata: name: my-instance annotations: config.kubernetes.io/local-config: "true" - config.k8s.io/function: | + config.kubernetes.io/function: | container: image: gcr.io/example-functions/nginx-template:v1.0.0 spec: replicas: 5 ``` -- `annotations[config.k8s.io/function].container.image`: the image to use for this API +- `annotations[config.kubernetes.io/function].container.image`: the image to use for this API - `annotations[config.kubernetes.io/local-config]`: mark this as not a Resource that should be applied diff --git a/cmd/config/docs/api-conventions/functions-spec.md b/cmd/config/docs/api-conventions/functions-spec.md index 5108e101e..7bc69df34 100644 --- a/cmd/config/docs/api-conventions/functions-spec.md +++ b/cmd/config/docs/api-conventions/functions-spec.md @@ -114,7 +114,7 @@ functionConfig: name: staging metadata: annotations: - config.k8s.io/function: | + config.kubernetes.io/function: | container: image: gcr.io/example/foo:v1.0.0 spec: diff --git a/cmd/config/internal/generateddocs/api/docs.go b/cmd/config/internal/generateddocs/api/docs.go index d03933c6e..285277a1a 100644 --- a/cmd/config/internal/generateddocs/api/docs.go +++ b/cmd/config/internal/generateddocs/api/docs.go @@ -175,13 +175,13 @@ are passed to the Function through the ` + "`" + `ResourceList.functionConfig` + name: my-instance annotations: config.kubernetes.io/local-config: "true" - config.k8s.io/function: | + config.kubernetes.io/function: | container: image: gcr.io/example-functions/nginx-template:v1.0.0 spec: replicas: 5 -- ` + "`" + `annotations[config.k8s.io/function].container.image` + "`" + `: the image to use for this API +- ` + "`" + `annotations[config.kubernetes.io/function].container.image` + "`" + `: the image to use for this API - ` + "`" + `annotations[config.kubernetes.io/local-config]` + "`" + `: mark this as not a Resource that should be applied @@ -343,7 +343,7 @@ An example using ` + "`" + `config.kubernetes.io/v1beta1/ResourceList` + "`" + ` name: staging metadata: annotations: - config.k8s.io/function: | + config.kubernetes.io/function: | container: image: gcr.io/example/foo:v1.0.0 spec: