'How to add labels using the rancher CLI
Trying to create a namespace using the Rancher CLI. (https://rancher.com/docs/rancher/v2.6/en/cli/)
When I run rancher namespaces create -h, it tells me
Usage:
rancher namespaces create [OPTIONS] [NEWPROJECTNAME...]
Options:
--description value Description to apply to the namespace
However when I run rancher namespaces create pg-test
I get a 400 back saying that there are labels that are required on my namespace that are missing. Is there a way to create a namespace and set labels?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
