mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
4 years ago
|
## flux create receiver
|
||
4 years ago
|
|
||
|
Create or update a Receiver resource
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
The create receiver command generates a Receiver resource.
|
||
|
|
||
|
```
|
||
4 years ago
|
flux create receiver [name] [flags]
|
||
4 years ago
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
# Create a Receiver
|
||
4 years ago
|
flux create receiver github-receiver \
|
||
4 years ago
|
--type github \
|
||
|
--event ping \
|
||
|
--event push \
|
||
|
--secret-ref webhook-token \
|
||
|
--resource GitRepository/webapp \
|
||
|
--resource HelmRepository/webapp
|
||
|
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
--event stringArray
|
||
|
-h, --help help for receiver
|
||
|
--resource stringArray
|
||
|
--secret-ref string
|
||
|
--type string
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
|
--export export in YAML format to stdout
|
||
|
--interval duration source sync interval (default 1m0s)
|
||
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||
|
--label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
|
||
4 years ago
|
-n, --namespace string the namespace scope for this operation (default "flux-system")
|
||
4 years ago
|
--timeout duration timeout for this operation (default 5m0s)
|
||
|
--verbose print generated objects
|
||
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
4 years ago
|
* [flux create](flux_create.md) - Create or update sources and resources
|
||
4 years ago
|
|