Skip to content

Commit

Permalink
fix: apply kustomize dir with correct flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Kavinjsir committed Jul 25, 2023
1 parent a5b246f commit 9446f35
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/cronjob-tutorial/testdata/project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (f *Readme) SetTemplateDefaults() error {
"*/", "", 1)

f.TemplateBody = fmt.Sprintf(readmeFileTemplate,
codeFence("kubectl apply -f config/samples/"),
codeFence("kubectl apply -k config/samples/"),
codeFence("make docker-build docker-push IMG=<some-registry>/{{ .ProjectName }}:tag"),
codeFence("make deploy IMG=<some-registry>/{{ .ProjectName }}:tag"),
codeFence("make uninstall"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (f *Readme) SetTemplateDefaults() error {
"*/", "", 1)

f.TemplateBody = fmt.Sprintf(readmeFileTemplate,
codeFence("kubectl apply -f config/samples/"),
codeFence("kubectl apply -k config/samples/"),
codeFence("make docker-build docker-push IMG=<some-registry>/{{ .ProjectName }}:tag"),
codeFence("make deploy IMG=<some-registry>/{{ .ProjectName }}:tag"),
codeFence("make uninstall"),
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-declarative-v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
1 change: 1 addition & 0 deletions testdata/project-v4-multigroup/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Dockerfile.cross

# editor and IDE paraphernalia
.idea
.vscode
*.swp
*.swo
*~
2 changes: 1 addition & 1 deletion testdata/project-v4-multigroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-with-deploy-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v4-with-grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

2. Build and push your image to the location specified by `IMG`:
Expand Down
1 change: 1 addition & 0 deletions testdata/project-v4/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Dockerfile.cross

# editor and IDE paraphernalia
.idea
.vscode
*.swp
*.swo
*~
2 changes: 1 addition & 1 deletion testdata/project-v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
1. Install Instances of Custom Resources:

```sh
kubectl apply -f config/samples/
kubectl apply -k config/samples/
```

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

0 comments on commit 9446f35

Please sign in to comment.