Skip to content

Commit

Permalink
add support for deploymentLabels
Browse files Browse the repository at this point in the history
Signed-off-by: quintonm <[email protected]>
  • Loading branch information
quintonm committed Nov 22, 2024
1 parent a3377eb commit 04af6f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/gitbook/install/flagger-install-on-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ $ helm upgrade -i flagger flagger/flagger \

You can install Flagger in any namespace as long as it can talk to the Prometheus service on port 9090.

If you need to add labels to the flagger deployment or pods, you can pass the labels as parameters as shown below.

```bash
helm upgrade -i flagger flagger/flagger \
--namespace=<namespace> \
--set crd.create=false \
--set meshProvider=<provider>> \
--set metricsServer=<metricServer> \
--set podLabels.<labelName>=<labelValue> \
--set deploymentLabels.<labelName>=<labelValue>
```

For ingress controllers, the install instructions are:

* [Contour](https://docs.flagger.app/tutorials/contour-progressive-delivery)
Expand Down

0 comments on commit 04af6f2

Please sign in to comment.