From f15d03a1f67dc9f0b5be020a13dc1b393e91f107 Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Fri, 2 Feb 2018 07:40:04 +0800 Subject: [PATCH] Update the workloads API versions to 1.9 for rest of the docs (#7099) * Update the workloads API versions to 1.9 for rest of the docs * Remove comments per CR feedback * Add a comment to be clear about which versions will work with the example --- docs/admin/authentication.md | 2 +- docs/tasks/inject-data-application/podpreset-replicaset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/authentication.md b/docs/admin/authentication.md index 7f46f8ce5c..cb55df9406 100644 --- a/docs/admin/authentication.md +++ b/docs/admin/authentication.md @@ -185,7 +185,7 @@ talk to the API server. Accounts may be explicitly associated with pods using th NOTE: `serviceAccountName` is usually omitted because this is done automatically. ``` -apiVersion: apps/v1beta2 +apiVersion: apps/v1 # this apiVersion is relevant as of Kubernetes 1.9 kind: Deployment metadata: name: nginx-deployment diff --git a/docs/tasks/inject-data-application/podpreset-replicaset.yaml b/docs/tasks/inject-data-application/podpreset-replicaset.yaml index a48a6bc5ba..e9d49a9d1d 100644 --- a/docs/tasks/inject-data-application/podpreset-replicaset.yaml +++ b/docs/tasks/inject-data-application/podpreset-replicaset.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend