Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-7621] Add better control on annotations and labels on deployments and pods #135

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

uncycler
Copy link

This PR allows better control on annotations and labels assigned to deployments and pods.

@uncycler uncycler requested a review from a team as a code owner April 19, 2024 13:06
@bitwarden-bot
Copy link

Thank you for your contribution! We've added this to our internal Community PR board for review.
ID: PM-7621

@bitwarden-bot bitwarden-bot changed the title Add better control on annotations and labels on deployments and pods [PM-7621] Add better control on annotations and labels on deployments and pods Apr 19, 2024
@bitwarden-bot bitwarden-bot added in-product-review Community PR is being reviewed by Bitwarden's Product team community-pr labels Apr 19, 2024
@bitwarden-bot
Copy link

bitwarden-bot commented Apr 19, 2024

Logo
Checkmarx One – Scan Summary & Details413f3f7e-242d-4b74-b90a-6cb82628821d

No New Or Fixed Issues Found

charts/self-host/templates/admin.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/api.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/attachments.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/events.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/icons.yaml Outdated Show resolved Hide resolved
Comment on lines +21 to +22
annotations:
{{- include "bitwarden.annotations" . | indent 4 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved up near line 8 where the current annotations key is defined.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this may have been missed. The ingress.yaml file has two annotations keys. Line 21 should be deleted and Line 22 should be moved above line 12.

charts/self-host/templates/notifications.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/scim.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/sso.yaml Outdated Show resolved Hide resolved
charts/self-host/templates/web.yaml Outdated Show resolved Hide resolved
Signed-off-by: Frédéric Marchand <[email protected]>
@uncycler
Copy link
Author

Thanks, I have corrected

@vgrassia vgrassia self-requested a review April 24, 2024 17:38
{{ include "bitwarden.labels" . | indent 8 }}
{{ include "bitwarden.podLabels" . | indent 8 }}
{{- with .Values.component.identity.podLabels }}
{{ toYaml . | indent 4 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{ toYaml . | indent 4 }}
{{ toYaml . | indent 8 }}

Comment on lines +21 to +22
annotations:
{{- include "bitwarden.annotations" . | indent 4 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this may have been missed. The ingress.yaml file has two annotations keys. Line 21 should be deleted and Line 22 should be moved above line 12.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-pr in-product-review Community PR is being reviewed by Bitwarden's Product team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants