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

Added labels and annotations to Helm Chart #458

Merged
merged 2 commits into from
Sep 29, 2020
Merged

Added labels and annotations to Helm Chart #458

merged 2 commits into from
Sep 29, 2020

Conversation

SylwiaBrant
Copy link

Added configuration option for the user to specify annotations and labels for Jenkins CR and pod via helm. Updated installation guide with information about this feature.
#432

Added configuration option for a user to specify annotations and labels for Jenkins CR and pod.
@tumevoiz tumevoiz added the enhancement New feature or request label Sep 25, 2020
Comment on lines +59 to +65
$ helm install <name> jenkins/jenkins-operator
```

To add custom labels and annotations, you can use `values.yaml` file or pass them into `helm install` command, e.g.:

```bash
$ helm install <name> jenkins/jenkins-operator --set jenkins.labels.LabelKey=LabelValue,jenkins.annotations.AnnotationKey=AnnotationValue

Choose a reason for hiding this comment

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

helm install <name> jenkins/jenkins-operator --set jenkins.labels.LabelKey=LabelValue,jenkins.annotations.AnnotationKey=AnnotationValue -> helm install <name> jenkins/jenkins-operator.

Add separated section with info about values.yaml customization possibility.

Copy link
Author

Choose a reason for hiding this comment

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

Since I'm already changing docs later (recommiting to fix_docs pull request) I guess I can add it then to not generate docs twice? We could do separate page about customizing with helm and leave a link there or add a 'helm section' in existing customization page.

@tumevoiz tumevoiz requested a review from tomaszsek September 25, 2020 09:54
chart/jenkins-operator/templates/jenkins.yaml Outdated Show resolved Hide resolved
chart/jenkins-operator/templates/jenkins.yaml Outdated Show resolved Hide resolved
Added configuration option for the user to specify annotations and labels for Jenkins pod via helm. Updated installation guide with information about this feature.
@tomaszsek tomaszsek merged commit f12a3e8 into jenkinsci:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants