Skip to content

Conversation

@yonatankahana
Copy link
Contributor

@yonatankahana yonatankahana commented Mar 10, 2021

Fixes #63

Adds the ability to add custom labels to created resources
also adds the ability to add annotations to: storage class, pod and service account.
also, there was a missing documentation of image pull secrets that was exists but missing from values.yaml and readme.

the default labels should have been from app.kubernetes.io/ namespace and not just name or release by the best practices but it may breaks compatibility to someone and anyway matchLabels (selectorLabels) are immutable once created so i gave up on that.
the changes tested and are the it is upgrade-able and backward compatible.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 10, 2021
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 10, 2021
@yonatankahana yonatankahana changed the title Helm chart labels and annotations Helm chart labels and annotations and add missing image pull secrets in documentation Mar 10, 2021
@yonatankahana yonatankahana marked this pull request as draft March 10, 2021 21:54
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 10, 2021
@yonatankahana yonatankahana force-pushed the chart-labels-and-annotations branch from de53e09 to d2bc38e Compare March 11, 2021 22:25
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
@yonatankahana yonatankahana force-pushed the chart-labels-and-annotations branch from d2bc38e to 7412348 Compare March 11, 2021 22:29
…al-provisioner into chart-labels-and-annotations
…in documentation

Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
@yonatankahana yonatankahana marked this pull request as ready for review March 11, 2021 22:37
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 11, 2021
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 15, 2021
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 21, 2021
yonatankahana and others added 3 commits March 22, 2021 16:48
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
…al-provisioner into chart-labels-and-annotations
…na/nfs-subdir-external-provisioner into chart-labels-and-annotations
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 7, 2021
Copy link
Contributor

@mkilchhofer mkilchhofer left a comment

Choose a reason for hiding this comment

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

Found another small detail :)

…s is false

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 14, 2021
Copy link
Contributor

@mkilchhofer mkilchhofer left a comment

Choose a reason for hiding this comment

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

Let's rebase and merge it :-)

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 22, 2021
@yonatankahana
Copy link
Contributor Author

/cc @kmova

@k8s-ci-robot k8s-ci-robot requested a review from kmova April 22, 2021 11:46
@kmova
Copy link
Contributor

kmova commented Apr 23, 2021

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 23, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kmova, mkilchhofer, yonatankahana

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [kmova,yonatankahana]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: add support to customize the labels and annotations for the resources (deployment, pod, etc)

4 participants