Skip to content

Commit

Permalink
Carvel docs to specify namespace for repository. (#4368)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Nelson <minelson@vmware.com>
  • Loading branch information
absoludity authored Mar 2, 2022
1 parent 3a69d57 commit dfdef54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/managing-carvel-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ EOF
Then, you need to apply the `PackageRepository` CR to your cluster using `kubectl` (or, alternatively, the `kapp` CLI), by running the following command:

```bash
kubectl apply -f repo.yaml
kubectl apply --namespace kapp-controller-packaging-global -f repo.yaml
```

Under the hood, kapp-controller will create `Package` and `PackageMetadata` CRs for each of the packages in the repository.
Under the hood, kapp-controller will create `Package` and `PackageMetadata` CRs for each of the packages in the repository in the global packaging namespace for kapp-controller, enabling those packages to be installed via Kubeapps in any namespace. Note you can instead install the repository in a different namespace if the packages should only be available for install via Kubeapps in a particular namespace.

> **TIP**: Run `kubectl get packagerepository`, `kubectl get packages` and `kubectl get packagemetadatas` to get the created CRs.

Expand Down

0 comments on commit dfdef54

Please sign in to comment.