Skip to content

Commit 9446f35

Browse files
committed
fix: apply kustomize dir with correct flags
1 parent a5b246f commit 9446f35

File tree

12 files changed

+12
-10
lines changed

12 files changed

+12
-10
lines changed

docs/book/src/component-config-tutorial/testdata/project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

docs/book/src/cronjob-tutorial/testdata/project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

pkg/plugins/golang/v3/scaffolds/internal/templates/readme.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (f *Readme) SetTemplateDefaults() error {
4545
"*/", "", 1)
4646

4747
f.TemplateBody = fmt.Sprintf(readmeFileTemplate,
48-
codeFence("kubectl apply -f config/samples/"),
48+
codeFence("kubectl apply -k config/samples/"),
4949
codeFence("make docker-build docker-push IMG=<some-registry>/{{ .ProjectName }}:tag"),
5050
codeFence("make deploy IMG=<some-registry>/{{ .ProjectName }}:tag"),
5151
codeFence("make uninstall"),

pkg/plugins/golang/v4/scaffolds/internal/templates/readme.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (f *Readme) SetTemplateDefaults() error {
4545
"*/", "", 1)
4646

4747
f.TemplateBody = fmt.Sprintf(readmeFileTemplate,
48-
codeFence("kubectl apply -f config/samples/"),
48+
codeFence("kubectl apply -k config/samples/"),
4949
codeFence("make docker-build docker-push IMG=<some-registry>/{{ .ProjectName }}:tag"),
5050
codeFence("make deploy IMG=<some-registry>/{{ .ProjectName }}:tag"),
5151
codeFence("make uninstall"),

testdata/project-v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

testdata/project-v4-declarative-v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

testdata/project-v4-multigroup/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Dockerfile.cross
2020

2121
# editor and IDE paraphernalia
2222
.idea
23+
.vscode
2324
*.swp
2425
*.swo
2526
*~

testdata/project-v4-multigroup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

testdata/project-v4-with-deploy-image/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

testdata/project-v4-with-grafana/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1212
1. Install Instances of Custom Resources:
1313

1414
```sh
15-
kubectl apply -f config/samples/
15+
kubectl apply -k config/samples/
1616
```
1717

1818
2. Build and push your image to the location specified by `IMG`:

0 commit comments

Comments
 (0)