Chip Zoller
Chip Zoller
@vyankyGH can you assist here, please?
@vyankyGH
The filter could be written in such a way that one of the inputs is the composition of the output you'd like, examples being letters, numbers, or symbols.
@kranurag7 ☝️
The filter needs to accept two parameters: length and composition. Here are some basic use cases which must be solved for: * Create a random string 6 characters long composed...
Seems a little more complex to me than may be necessary. I was envisioning a simple way to specify both in the same filter: ``` random(`6`,'num') random(`12`,'llet,num') random(`15`,'llet,ulet,num') ``` First...
The complexity with having one for digits is the output type may be int versus having one function and using the built-in JMESPath filters for either `to_string()` or `to_number()` to...
> `random_string` - for strings only (uppercase & lowercase both) What if I don't want (or can't use) upper-case letters? I would be forced to pipe the output of that...
>can you please explain what llet,ulet,num mean and how they should be used? Yes, as shown [here](https://github.com/kyverno/kyverno/issues/3598#issuecomment-1204296231), these are keywords which mean the following: * `llet` == lower-case letter *...
Using such flexible input parameters would allow you to solve for a bunch of valuable use cases: ## Make your own "Pod hash" ### Example: `foo-a8u03p` ``` name: {{ @...