migrate Deploymnet from apps/v1beta2 to apps/v1

This commit is contained in:
Naoki Oketani
2019-11-02 09:39:44 +09:00
parent a6a5976304
commit a8ece4b5f7
15 changed files with 19 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ curl -s -o "$DEMO_HOME/#1.yaml" \
```
The patch has following content
> ```
> apiVersion: apps/v1beta2
> apiVersion: apps/v1
> kind: Deployment
> metadata:
> name: wordpress

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2 # for versions before 1.9.0 use apps/v1beta2
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: mysql

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: wordpress

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2 # for versions before 1.9.0 use apps/v1beta2
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: wordpress