|
Ran
|
Jobs
1
|
Files
27
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: Support Twingate Resource tagging (#605) ## Changes - Support adding k8s labels as Twingate Resource tags for `TwingateResource` CRD - Since k8s `Service` also syncs the same `metadata.labels` to `TwingateResource` CRD (see [code](https://github.com/Twingate/kubernetes-operator/blob/e6cd06849/app/handlers/handlers_services.py#L86)), Twingate Resource tags will also be added as a result. ## Usage Example ```yaml apiVersion: twingate.com/v1beta kind: TwingateResource metadata: name: my-twingate-resource labels: env: prod # 👈🏼 This will add a `env:prod` tag in Twingate Resource spec: name: My K8S Resource address: my.default.cluster.local alias: mine.local ``` --------- Co-authored-by: Eran Kampf <205185+ekampf@users.noreply.github.com>
327 of 355 branches covered (92.11%)
Branch coverage included in aggregate %.
28 of 28 new or added lines in 3 files covered. (100.0%)
1050 of 1075 relevant lines covered (97.67%)
0.98 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 14436299223.1 | 27 |
96.29 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|