kubegen icon indicating copy to clipboard operation
kubegen copied to clipboard

kubegen – simple way to describe Kubernetes resources in a structured way, but without new syntax or magic

Results 17 kubegen issues
Sort by recently updated
recently updated
newest added

It'd be good to have some of these for e.g. namespace (so it can be used as name prefix for non-namespaces resources, e.g. `ClusterRole`), and perhaps module revision etc (so...

It'd be beneficial to have a canonical sorting order for certain keys, i.e. `apiVersion`, `kind` `metadata`, `spec` and `status`. I in another project we have done this: ```JavaScript exports.dumpSortedYAML =...

The `sockshop` module is great, cause it's fairly complex, but we also need something very basic. Right now we have a hypothetical `errors.io` app, we should either make it somewhat...

In Helm's `Chart.yaml` one can set `engine` and I believe the only supported value right now is `gotpl`, so adding `kubegen` seems doable, at least as a PoC. cc @rimusz...

We should make sure to have test for all resources and out custom features, such as `encodeAsJSON` and `readFromFiles` in secrets and configmaps.

- [ ] [downwards API](https://kubernetes.io/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information/) - [ ] [`EnvVarSource`](https://godoc.org/k8s.io/client-go/pkg/api/v1#EnvVarSource) - `ObjectFieldSelector` - `ResourceFieldSelector` - `ConfigMapKeySelector` - `SecretKeySelector` - [ ] [`EnvFromSource`](https://godoc.org/k8s.io/client-go/pkg/api/v1#EnvFromSource) - `ConfigMapEnvSource` - `SecretEnvSource`