Skip to content

Commit 5c4c829

Browse files
author
Aatman
authored
chore(docs): typo in example (#9)
* chore(docs): typo in example * chore: missing comma
1 parent 1851938 commit 5c4c829

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ metadata:
3131
```
3232
```
3333
$ ./kube2cdk8s typescript -f temp.yaml
34-
new k8s.KubeServiceAccount("", this, {
34+
new k8s.KubeServiceAccount(this, "my-service-account", {
3535
metadata: {
3636
name: "my-service-account",
3737
namespace: "my-namespace",
@@ -86,7 +86,7 @@ spec:
8686
```
8787
```
8888
$ ./kube2cdk8s typescript -m true -f temp.yaml
89-
new k8s.KubeDeployment("", this, {
89+
new k8s.KubeDeployment(this, "my-deployment", {
9090
metadata: {
9191
name: "my-deployment",
9292
namespace: "my-namespace",
@@ -118,7 +118,7 @@ new k8s.KubeDeployment("", this, {
118118
},
119119
});
120120
121-
new k8s.KubeDeployment("", this, {
121+
new k8s.KubeDeployment(this, "my-deployment-2", {
122122
metadata: {
123123
name: "my-deployment-2",
124124
namespace: "my-namespace-2",

0 commit comments

Comments
 (0)