rpk ai policy apply
Reconcile policies from one or more YAML manifests.
For each manifest: create the resource if absent, otherwise update only the fields that are present in the manifest AND differ from the live resource. Fields you omit are left untouched; to clear a field, write it explicitly. Lists, maps and oneof variants replace wholesale. Fields that can only be set at creation time are immutable; changing one is an error.
Manifests round-trip with get -o yaml for this resource. Pass -f - to
read stdin.
This does not delete resources absent from the manifests (no prune), and drift
is detected only for the fields a manifest names; see diff --help.
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |