add deployment labels to deployment #649

Merged
justusbunsi merged 3 commits from dcrussell/gitea-helm-chart:main into main 2024-05-02 04:43:42 +00:00
Contributor

Description of the change

Applies deployment.labels to the deployment itself.

Benefits

Allows the user to add labels to the deployment.

Possible drawbacks

None

Checklist

  • Parameters are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Breaking changes are documented in the README.md
  • Templating unittests are added
### Description of the change Applies `deployment.labels` to the deployment itself. ### Benefits Allows the user to add labels to the deployment. ### Possible drawbacks None ### Checklist <!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] --> - [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
dcrussell added 1 commit 2024-04-29 16:59:04 +00:00
add deployment labels to deployment
Some checks failed
check-and-test / check-and-test (pull_request) Has been cancelled
9d4f8d063b
dcrussell requested review from justusbunsi 2024-04-29 16:59:04 +00:00
dcrussell requested review from pat-s 2024-04-29 16:59:04 +00:00
Member

@dcrussell please add a unittest that ensure this feature long-term. Thanks for proposing this addition.

@dcrussell please add a unittest that ensure this feature long-term. Thanks for proposing this addition.
dcrussell added 1 commit 2024-04-29 21:39:26 +00:00
add unittests
Some checks failed
check-and-test / check-and-test (pull_request) Failing after 40s
1c60c23939
Author
Contributor

never used helm unittests before. wasn't sure where to add it.. basic seemed sensible to me.

never used helm unittests before. wasn't sure where to add it.. basic seemed sensible to me.
Author
Contributor

@justusbunsi am i missing something else on this pr ?

@justusbunsi am i missing something else on this pr ?
Member

@justusbunsi am i missing something else on this pr ?

https://gitea.com/gitea/helm-chart/actions/runs/812/jobs/0 failure is related. Please add the missing empty line at the end. 😆

Otherwise, good to be merged.

> @justusbunsi am i missing something else on this pr ? https://gitea.com/gitea/helm-chart/actions/runs/812/jobs/0 failure is related. Please add the missing empty line at the end. 😆 Otherwise, good to be merged.
dcrussell added 1 commit 2024-05-01 23:19:49 +00:00
oh yaml.. add newline
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 35s
7cf9b296e3
justusbunsi approved these changes 2024-05-02 04:42:36 +00:00
justusbunsi left a comment
Member

LGTM

LGTM
justusbunsi merged commit dd304c1c1a into main 2024-05-02 04:43:42 +00:00
Sign in to join this conversation.
No description provided.