helm-chart/templates/gitea
remogeissbuehler 5dfaca13f2 Allowing Custom Labels in SVC Templates (#597)
### Description of the change
The change allows users of this chart to specify custom labels for the HTTP & SSH Services that get deployed. They are optional and if given are added to the standard list of labels.

### Benefits
Certain use cases require labelling services to be able to select them in other places. Specifiying them directly in the helm chart avoids having to label by hand everytime.

Concrete Use Case Example: Cilium Layer 2 Announcements require selecting services to announce via labels (see [docs](https://docs.cilium.io/en/stable/network/l2-announcements/#service-selector)). I would like to add a label to the SSH service, but not the HTTP Service (which is handled via an ingress).

### Possible drawbacks
I don't see any, using this feature is optional :)

### Checklist

- [X] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm)
- [X] Breaking changes are documented in the `README.md`
- [X] Templating unittests are added

Co-authored-by: Remo Geissbühler <git@remogeissbuehler.ch>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/597
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com>
Co-committed-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com>
2024-01-13 09:58:30 +00:00
..
config.yaml Properly distinguish predefined and custom env vars in environment-to-ini (#586) 2023-12-18 08:44:51 +00:00
deployment.yaml fix: Deployment has no field serviceName #466 (#467) 2023-07-18 06:25:38 +00:00
deprecation.yaml Add deprecation fail-safe for Chart templating (#269) 2021-12-23 00:25:32 +08:00
extra-list.yaml add extraDeploy to add arbitrary objects to the release (#441) 2023-05-02 21:32:54 +08:00
gpg-secret.yaml Fix wrong reference to existingKey (#415) 2023-03-21 14:16:41 +08:00
http-svc.yaml Allowing Custom Labels in SVC Templates (#597) 2024-01-13 09:58:30 +00:00
ingress.yaml Improving DRY principle support on gitea Ingress host name (#498) 2023-09-22 15:09:13 +00:00
init.yaml Properly sanitize gitea admin output (#590) 2023-12-21 07:59:18 +00:00
poddisruptionbudget.yaml [Breaking] Add HA-support; switch to Deployment (#437) 2023-07-17 19:09:42 +00:00
pvc.yaml Expose persistence.volumeName (#471) 2023-07-19 12:37:53 +00:00
serviceaccount.yaml Add support for ServiceAccount configuration (#451) 2023-05-31 08:47:58 +00:00
servicemonitor.yaml Fixing prometheus monitoring (#157) 2021-06-07 22:28:28 +08:00
ssh-svc.yaml Allowing Custom Labels in SVC Templates (#597) 2024-01-13 09:58:30 +00:00