Fleet versions 4.84.0
Web browser and operating system: Any
💥 Actual behavior
GitOps dry-run is not currently validating platform in labels. This leads to discovering any issues during the real run.
🛠️ Expected behavior
TODO
🧑💻 Steps to reproduce
These steps:
- In GitOps, create a label and apply it to linux as the platform
- Notice dry-run completes but the real run fails
- Change platform to ubuntu or centos and observe successful run
🕯️ More info (optional)
Ran into this on dogfood: [+] applying 68 labels (1 new and 67 updated)
Error: POST /api/latest/fleet/spec/labels received status 422 Unprocessable Entity: invalid platform: darwin,linux,windows (API time: 122ms)
Error: Process completed with exit code 1.
Fleet versions 4.84.0
Web browser and operating system: Any
💥 Actual behavior
GitOps dry-run is not currently validating
platformin labels. This leads to discovering any issues during the real run.🛠️ Expected behavior
TODO
🧑💻 Steps to reproduce
These steps:
🕯️ More info (optional)
Ran into this on dogfood: [+] applying 68 labels (1 new and 67 updated)
Error: POST /api/latest/fleet/spec/labels received status 422 Unprocessable Entity: invalid platform: darwin,linux,windows (API time: 122ms)
Error: Process completed with exit code 1.