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

Chart annotations #3724

Merged
merged 8 commits into from
Nov 13, 2021
Merged

Chart annotations #3724

merged 8 commits into from
Nov 13, 2021

Conversation

mwm5945
Copy link
Contributor

@mwm5945 mwm5945 commented Nov 4, 2021

What this PR does / why we need it: Adds configurable annotations to the CRDs and Manager deployment templates.

Which issue(s) this PR fixes:

Fixes #3699

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

add annotation fields to helm template for CRD and deployment

@seldondev
Copy link
Collaborator

Hi @mwm5945. Thanks for your PR.

I'm waiting for a SeldonIO or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

@ukclivecox
Copy link
Contributor

@mwm5945 We will probably need to change https://github.com/SeldonIO/seldon-core/blob/master/operator/helm/split_resources.py rather than the template files directly as they are generated by this script from the kustomize.

@mwm5945 mwm5945 marked this pull request as ready for review November 10, 2021 02:40
@mwm5945
Copy link
Contributor Author

mwm5945 commented Nov 10, 2021

/assign @cliveseldon

@cliveseldon updated :)

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign cliveseldon
You can assign the PR to them by writing /assign @cliveseldon in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ukclivecox
Copy link
Contributor

/test integration

@ukclivecox
Copy link
Contributor

/test notebooks

2 similar comments
@ukclivecox
Copy link
Contributor

/test notebooks

@ukclivecox
Copy link
Contributor

/test notebooks

@seldondev
Copy link
Collaborator

@mwm5945: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
notebooks 24c85ee link /test notebooks

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ukclivecox
Copy link
Contributor

Thanks @mwm5945 !

@ukclivecox ukclivecox merged commit a06f53a into SeldonIO:master Nov 13, 2021
@@ -21,6 +21,9 @@ spec:
template:
metadata:
annotations:
{{- with .Values.manager.annotations }}
{{- toYaml . | nindent 4}}
Copy link
Contributor

Choose a reason for hiding this comment

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

❓ Couple of days late, but shouldn't this be an indent 8 spaces not 4?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep--i'll fix in another pr. Good catch!

@mwm5945 mwm5945 deleted the chart-annotations branch November 15, 2021 18:45
stephen37 pushed a commit to stephen37/seldon-core that referenced this pull request Dec 21, 2021
* update split_resources python file

* add annotations to crds

* add annotations to crds

* add annotations to deployment template

* merge origin

* update chart readme

* remove deployment annotations

* minor tweaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for Annotations and Labels to be injected into helm chart templates
4 participants