mirror of
https://github.com/ko-build/ko.git
synced 2025-11-06 09:19:12 +02:00
apps-v1
Fix API Versions in README.md
This commit is contained in:
@@ -42,7 +42,7 @@ needed.
|
||||
For example, you might use the following in a Kubernetes `Deployment` resource:
|
||||
|
||||
```yaml
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hello-world
|
||||
@@ -165,7 +165,7 @@ export KO_DOCKER_REPO="gcr.io/${PROJECT_ID}"
|
||||
ko resolve -f deployment.yaml
|
||||
|
||||
# Output
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hello-world
|
||||
@@ -193,7 +193,7 @@ export KO_DOCKER_REPO="gcr.io/${PROJECT_ID}"
|
||||
ko resolve -P -f deployment.yaml
|
||||
|
||||
# Output
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hello-world
|
||||
|
||||
Reference in New Issue
Block a user