Skip to content

Commit

Permalink
docs: add section on deactivating profiles (#7100)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasmota authored Feb 10, 2022
1 parent 189a552 commit 35ec779
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/en/docs/environment/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,13 @@ skaffold dev -p hello,world

Skaffold will activate both profiles, `hello` and `world`.
This is e.g. useful when combined with patches to provide a composable development setup where `hello` and `world` can be added on demand.

### Deactivating Profiles

Profiles can also be manually deactivated by prefixing the profile name with `-` like so:

```bash
skaffold dev -p hello,-world
```

Skaffold will activate the `hello` profile, and deactivate the `world` profile, even if it had otherwise been activated through the configuration.

0 comments on commit 35ec779

Please sign in to comment.