Files
cozystack/packages/extra/bootbox
Timofei Larkin 562145e69b [cozystack-controller] Ancestor tracking webhook
Many resources created as part of managed apps in cozystack (pods,
secrets, etc) do not carry predictable labels that unambiguously
indicate which app originally triggered their creation. Some resources
are managed by controllers and other custom resources and this
indirection can lead to loss of information. Other controllers sometimes
simply do not allow setting labels on controlled resources and the
latter do not inherit labels from the owner. This patch implements a
webhook that sidesteps this problem with a universal solution. On
creation of a pod/secret/PVC etc it walks through the owner references
until a HelmRelease is found that can be matched with a managed app
dynamically registered in the Cozystack API server. The pod is mutated
with labels identifying the managed app.

```release-note
[cozystack-controller] Add a mutating webhook to identify the Cozystack
managed app that ultimately owns low-level resources created in the
cluster and label these resources with a reference to said app.
```

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2025-09-24 12:07:18 +03:00
..
2025-01-27 10:56:23 +01:00
2025-01-27 10:56:23 +01:00
2025-08-08 00:26:51 +02:00
2025-08-08 00:26:51 +02:00
2025-08-08 00:26:51 +02:00

BootBox

Parameters

Common parameters

Name Description Type Value
whitelistHTTP Secure HTTP by enabling client networks whitelisting bool true
whitelist List of client networks []string []
machines Configuration of physical machine instances []object []
machines[i].hostname Hostname string ""
machines[i].arch Architecture string ""
machines[i].ip.address IP address object {}
machines[i].ip.address.address IP address string ""
machines[i].ip.address.gateway IP gateway string ""
machines[i].ip.address.netmask Netmask string ""
machines[i].leaseTime Lease time int 0
machines[i].mac MAC addresses []string []
machines[i].nameServers Name servers []string []
machines[i].timeServers Time servers []string []
machines[i].uefi UEFI bool false