Eirik A

Results 133 issues of Eirik A

In particular; - `HasStatus` - `HasSpec` and maybe more like `HasConditions` once we get going with https://github.com/kube-rs/k8s-pb/issues/4 This is **not really actionable yet** since the traits need to find a...

Sometimes when writing auxiliary tools/controllers for existing crds, we are sometimes only necessary to generate the `spec` object for a type. In these cases it would be OK to omit...

enhancement
help wanted

Currently kopium generates `BTreeMap` for all map types except arbitrary json (stored in `HashMap`). While this is OK on the surface level, I think we should probably move all containers...

enhancement
good first issue
help wanted

Carrying on from #65 and re-adding the commented-out linkerd server crd (using complex enums) and the ignored unit `#[test]` taking the part of it. Not sure if I'll have time...

## Problem suppose you have a struct `endpoints` in the schema with properties: - `metrics_relabelings` (generating `EndpointsMetricsRelabelings` struct) - `metrics` (generating `EndpointsMetrics` struct) suppose further that the `metrics` property in...

bug
help wanted

Minor issue when using the fully automatic schemas against something using `IntOrString`: ``` error[E0277]: the trait bound `IntOrString: JsonSchema` is not satisfied --> tests/./gen.rs:15:15 | 15 | pub port: IntOrString,...

The current output from `--docs` is one giant line and this **could** be better. We should split it onto several lines such that: ``` /// First sentence for main doc...

good first issue
help wanted

`kube-derive` supports [using `schemars` + `validator`](https://docs.rs/kube/0.64.0/kube/derive.CustomResource.html#customizing-schemas) to inject validation rules into the schema. We should similarly parse the validation attributes from the schema, and store them as properties on `OutputMember`,...

help wanted

Currently the [kubernetes schemas only mention support int32 or int64 integer types](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#format), but the schemas contain a `minimum: f64` where the minimum is set to `0.0` in unsigned cases. We...

help wanted
question

kubernetes schemas may set a [byte type](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#format). We should maybe package that up in [Bytes](https://docs.rs/bytes/1.1.0/bytes/struct.Bytes.html) struct, but need to test it. Need someone with bytes in a CRD to test...

help wanted