mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
There are three ways of running the crawler job.
|
|
|
|
# Crawling all the documents in the index and crawling all the kustomization files on Github
|
|
|
|
This is the default setting of the crawler job. The `command` and `args` field
|
|
of the container should be:
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: []
|
|
```
|
|
|
|
Or
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: [""]
|
|
```
|
|
|
|
# Crawling all the documents in the index
|
|
|
|
The `command` and `args` field of the container should be:
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: ["index"]
|
|
```
|
|
|
|
# Crawling all the kustomization files on Github
|
|
|
|
The `command` and `args` field of the container should be:
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: ["github"]
|
|
```
|
|
|
|
# Crawling all the kustomization files in a Github repo
|
|
|
|
The `command` and `args` field of the container should be like:
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: ["github-repo", "kubernetes-sigs/kustomize"]
|
|
```
|
|
|
|
# Crawling all the kustomization files in all the repositories of a Github user
|
|
|
|
The `command` and `args` field of the container should be like:
|
|
|
|
```
|
|
command: ["/crawler"]
|
|
args: ["github-user", "kubernetes-sigs"]
|
|
```
|