https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/177-volume-snapshot/tighten-validation-webhook-crd.md 1. Ratcheting validation webhook server image 2. Controller labels invalid objects 3. Unit tests for webhook 4. Deployment README and example deployment method with certs 5. Update top-level README Racheting validation: 1. webhook is strict on create 2. webhook is strict on updates where the existing object passes strict validation 3. webhook is relaxed on updates where the existing object fails strict validation (allows finalizer removal, status update, deletion, etc) Additionally the validating wehook server will perform immutability checks on scenario 2 above.
691 B
691 B
Generating Fish Completions for your own cobra.Command
Cobra supports native Fish completions generated from the root cobra.Command
. You can use the command.GenFishCompletion()
or command.GenFishCompletionFile()
functions. You must provide these functions with a parameter indicating if the completions should be annotated with a description; Cobra will provide the description automatically based on usage information. You can choose to make this option configurable by your users.
Limitations
- Custom completions implemented using the
ValidArgsFunction
andRegisterFlagCompletionFunc()
are supported automatically but the ones implemented in Bash scripting are not.