monokle-cli
monokle-cli copied to clipboard
The "monokle validate . --api-token=... --project=..." command errors
As in the title, encountered by @WitoDelnat during demo. However, I checked this with latest version and seems to work 🤔
kkrzton@DESKTOP-H6J6G6R:~/Workspace/kubeshop/monokle-cli$ monokle validate . --api-token=REDACTED --project=pJFIBNae
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ ℹ Validated 4 resources using remote policy from Default project. It can be adjusted on https://app.monokle.com/dashboard/projects/pJFIBNae/policy. │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
panda-blog.deployment@test/assets/multiple-bad-resources.yaml
[⚠ schema-violated] Value at /spec/replicas should be integer
[⚠ no-latest-image] Disallow images with the latest tag
[✖ no-writable-fs] Require a read-only root file system
[✖ drop-capabilities] Require default capabilities to be dropped
[⚠ no-low-user-id] Disallow running with a low user ID
[✖ no-low-group-id] Disallow running with a low group ID
[✖ no-automount-service-account-token] Disallow automounting the service account token
@WitoDelnat could you recheck on your end 🤔