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

[prometheus-operator] Rename to kube-prometheus-stack #1

Merged
merged 57 commits into from
Sep 9, 2020

Conversation

scottrigby
Copy link
Member

@scottrigby scottrigby commented Aug 9, 2020

Fixes #9

Background

See prometheus-community/community#28 (comment)

Description

This is an attempt to rename the chart. There are a lot of changes needed, so it's taken some time to review.

I have also dramatically simplified the README per new charts template decision in #14. (tl;dr, helm show values gives all the info a user needs, and makes that the older convention of duplicating these value configurations in the README unnecessary). Without deep experience using this chart, I can't know if the existing upgrading sections are still relevant, so I organized and left them in case they are useful to end users.

PR status

Once steps above are complete, we can merge this PR. Merging will release the new chart package and add to the helm repo index.

Note: merging this PR has not been identified as a blocker to transferring the repo to prometheus-community. See #11

@vsliouniaev
Copy link
Contributor

This seems like it will have issues with PVCs that anyone may have created as part of the previous release as well as anyone using this in umbrella charts. Would be nice to give some guidance on how to solve for those issues using some variables. I've had no time to look at this in the last while.

@scottrigby
Copy link
Member Author

@vsliouniaev Thanks for looking into this. There is a section in the readme under "Persistent Volumes" that I believe addresses this:

If you would like to keep the data of the current persistent volumes, it should be possible to attach existing volumes to new PVCs and PVs that are created using the conventions in the new chart… [EXAMPLE]
The PVC will take ownership of the PV and when you create a release using a persistent volume claim template it will use the existing PVCs as they match the naming convention used by the chart. For other cloud providers similar approaches can be used.

I have not done this myself with this chart, but have helped with migrations by configuring other charts to attach existing claims to the new deployment.

@monotek
Copy link
Member

monotek commented Aug 17, 2020

Wow, I didn't even know that prometheus-operator chart is not the prometheus-operator as I wanted to try out the operator soon.

So +1 to rename it.

@scottrigby
Copy link
Member Author

Once #14 is merged, will will need to rebase this PR. The change to this chart is deprecating the old chart to begin with so it doesn't get indexed until we finish reviewing this PR and un-deprecate it under the new name.

@scottrigby scottrigby marked this pull request as draft August 20, 2020 01:36
@scottrigby scottrigby changed the title Rename prometheus-operator kube-prometheus Rename prometheus-operator chart to kube-prometheus Aug 21, 2020
@scottrigby
Copy link
Member Author

I merged main, so #14 is now merged into this PR, which is now ready for review. I'm sure some things are broken.

I'd appreciate review/testing by both maintainers and anyone who uses the stable/prometheus-operator chart. I'm also happy for the maintainers of this chart to push fixes directly to this branch (you should be able to do that per the CODEOWNERS file at it's current state in main. Please lmk if you can't).

Testing scenarios:

Thanks!

@scottrigby scottrigby marked this pull request as ready for review August 21, 2020 13:37
This was referenced Aug 21, 2020
zanhsieh
zanhsieh previously approved these changes Sep 9, 2020
okgolove
okgolove previously approved these changes Sep 9, 2020
@torstenwalter
Copy link
Member

Nice! We are getting there. Two approvals. @scottrigby you should be the one to do the merge ;-)

@torstenwalter torstenwalter dismissed stale reviews from okgolove and zanhsieh via 4752d79 September 9, 2020 13:16
Xtigyro and others added 2 commits September 9, 2020 09:54
Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Co-authored-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>

Signed-off-by: Scott Rigby <scott@r6by.com>
@scottrigby scottrigby force-pushed the rename-prometheus-operator-kube-prometheus branch from 4752d79 to bdb6827 Compare September 9, 2020 13:59
@steven-sheehy
Copy link
Member

I'm not sure why the need to prefix with kube as all Helm charts are by definition associated with kubernetes already. So within that context prefixing with kube is redundant. I prefer the simpler prometheus-stack as it:

  • Drops the unnecessary prefix
  • Matches the prefix of every other chart in this repo (e.g. prometheus-)
  • Clearly differentiates between the separate prometheus-operator and kube-prometheus projects
  • Reads nicer: Indicates you're installing prometheus plus a stack of other components. You're not installing a "kube".

@scottrigby
Copy link
Member Author

@steven-sheehy I know a ton of discussion is buried in GitHub collapsed comments, so please read the direct links:

The kube-prometheus project name must be part of the chart name, as an absolute condition of moving this git repo to the prometheus-community org. The maintainers of that chart and prometheus devs (including maintainer of upstream kube-prometheus project) have agreed on the name. That process is now finished.

@scottrigby
Copy link
Member Author

I believe we've covered all our bases and then some over the past month of this PR. We're now – finally – ready to merge 😅 With that said… Thanks everyone! 🎉 💖 🙌

press the button

@scottrigby scottrigby merged commit b643f58 into main Sep 9, 2020
@scottrigby scottrigby deleted the rename-prometheus-operator-kube-prometheus branch September 9, 2020 15:51
@Xtigyro
Copy link
Member

Xtigyro commented Sep 9, 2020

@scottrigby Thank you, man! Your work has been UNBELIEVABLY VALUABLE! 🥇

scottrigby added a commit to scottrigby/charts that referenced this pull request Sep 9, 2020
scottrigby added a commit to helm/charts that referenced this pull request Sep 9, 2020
* [stable/prometheus-operator] deprecate chart

See prometheus-community/helm-charts#1

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update stable/prometheus-operator/Chart.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Reinhard Nägele <unguiculus@gmail.com>

Co-authored-by: Reinhard Nägele <unguiculus@gmail.com>
monotek referenced this pull request in monotek/prometheus-helm-charts Oct 7, 2020
* Initial chart direectory rename prometheus-operator to kube-prometheus

See prometheus-community/community#28 (comment)

Signed-off-by: Scott Rigby <scott@r6by.com>

* First attempt at data change of prometheus-operator to kube-prometheus

Signed-off-by: Scott Rigby <scott@r6by.com>

* Helm GH Action files as-is from https://github.com/helm/charts-repo-actions-demo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Bump chart-testing action to v1.0.0. See helm/charts-repo-actions-demo#20

Signed-off-by: Scott Rigby <scott@r6by.com>

* Changes to chart testing config file for this repo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Use built-in GITHUB_TOKEN now that GH Actions bug is fixed. See helm/chart-releaser-action#26

Signed-off-by: Scott Rigby <scott@r6by.com>

* Test actions with version bump to prometheus chart

Signed-off-by: Scott Rigby <scott@r6by.com>

* Bump chart-releaser-action and kind-action to v1.0.0

Signed-off-by: Scott Rigby <scott@r6by.com>

* Release from main not master branch

Signed-off-by: Scott Rigby <scott@r6by.com>

* Revert "Test actions with version bump to prometheus chart"

This reverts commit 81c50e5.

Signed-off-by: Scott Rigby <scott@r6by.com>

* Allow requirements lock files

Signed-off-by: Scott Rigby <scott@r6by.com>

* Initial CODEOWNERS file (prometheus-community#18)

Signed-off-by: Scott Rigby <scott@r6by.com>

* Prep initial charts indexing (prometheus-community#14)

* [stable/prometheus] update prometheus to 2.20.1 and cm reloader to 0.4.0 (#23506)

* updated prometheus to 2.20.1 and cm reloader to 0.4.0

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix xpp version

Signed-off-by: André Bauer <monotek23@gmail.com>

* Deprecate prometheus-operator chart before helm repo index, so that it won't be listed in the hubs

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update prometheus-community/prometheus chart. Needed to update references to stable repo, but took the opportunity to reorganize, fix and simplify README

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add Helm 3 commands before Helm 2. Add helm update command. Reorganize the 'Upgrading Chart' section

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix header

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix markdown linting

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add direct links to values.yaml configuration file for easy browsing by end users without the CLI

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove prometheus chart OWNERS file

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update prometheus-adapter chart README and bump version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus chart: Return updated, working command example for Sharing Alerts Between Services

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-adapter: fix configure command typos

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-blackbox-exporter: Update readme, delete OWNERS file and bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-cloudwatch-exporter: Update Readme with new template, delete OWNERS file, bump chart version, update CHANGELOG

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-consul-exporter: Update Readme per new template and bump chart

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Update Readme per new template and bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-mongodb-exporter: Update Readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Fix k8s 1.16 deprecated PodSecurityPolicy in the extensions/v1beta1 API version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Fix bad YAML indentation. How did this ever work?

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-mysql-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-nats-exporter: update readme per new template, move specific config note to values.yaml, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-node-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-postgres-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-pushgateway: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-rabbitmq-exporter: update readme per new template, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-redis-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-snmp-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: fix deprecated deployment apps/v1beta1

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove instructions for stable repos from all charts, except prometheus and deprecated prometheus-operator, as only those have dependencies on stable charts

Signed-off-by: Scott Rigby <scott@r6by.com>

* Temporary workaround github API rate limiting

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec

Signed-off-by: Scott Rigby <scott@r6by.com>

* disable chart testing for prometheus-to-sd. If not running on GCE, will error: "Failed to get GCE config"

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>

* Add kube-prometheus chart maintainers to CODEOWNERS after merging main

Signed-off-by: Scott Rigby <scott@r6by.com>

* Un-deprecate chart within renaming to kube-prometheus PR

Signed-off-by: Scott Rigby <scott@r6by.com>

* Change all references to old coreos/prometheus-operator and coreos/kube-prometheus git repos to the new prometheus-operator github org

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove stray CODEOWNERS rule for charts/prometheus-operator/

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix typo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/prometheus-operator.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node.rules.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node-network.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node-time.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/kubernetes-system.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update dependency location and remove README note about chart source (it's easy to determine chart source from the dependency definition)

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix markdownlint

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update kube-prometheus per new README template. See prometheus-community#14

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove requirements lock file for now, otherwise if we release the chart before transferring repo ownership the digest will differ. See helm pkg downloader Manager Build() method check for resolveRepoNames()

Signed-off-by: Scott Rigby <scott@r6by.com>

* Non-functional: update commented links to CRD sources

Co-authored-by: Quentin Bisson <quentin@giantswarm.io>

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add GitHub superlinter to lint markdown (prometheus-community#26)

* Create linter.yml

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Add configuration for Stale GitHub app (prometheus-community#27)

Signed-off-by: Scott Rigby <scott@r6by.com>

* disabled failing linters and fixed markdown issues (prometheus-community#32)

- fixes markdown issues reported by markdownlint
- disabled yamllint as helm templates are never valid
- disabled the other linters as there is a problem with a shell script and some python code
  once that is fixed we could enable them again

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Rename chart dir

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update CODEOWNERS for new chart dir name

Signed-off-by: Scott Rigby <scott@r6by.com>

* Rename instances of kube-prometheus to kube-prometheus-stack. Take care to leave references to the upstream kube-prometheus project (and related configs) as kube-prometheus

Signed-off-by: Scott Rigby <scott@r6by.com>

* Chart testing needs this repo info to test chart dependencies in the same repo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Auto-sync README from main to gh-pages (prometheus-community#41)

* Auto-sync README from main to gh-pages

Signed-off-by: Scott Rigby <scott@r6by.com>

* Only runs on push to main

even if this workflow is copied to a new branch

Signed-off-by: Scott Rigby <scott@r6by.com>

* Improve README for main and gh pages (prometheus-community#43)

Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus] unify labels and annotations across all deploymens and statefulsets (prometheus-community#45)

Signed-off-by: Ondrej Homolka <ondrej.homolka@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-redis-exporter] Add zanhsieh as maintainer (prometheus-community#46)

Signed-off-by: zanhsieh <zanhsieh@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* added link to github to readme (prometheus-community#51)

Signed-off-by: André Bauer <monotek23@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Add PROCESSES document (prometheus-community#44)

* Add CODEOWNERS

I used this syntax in CODEOWNERS:

```
/chart/<name-of-chart> @maintainer
```

It matches any files in the chart directory at the root of the repository and any of its  subdirectories.
Without the leading `/` it would also match directories found somewhere
else. It's unlikely that those names would be used, but it does not harm
to do it this way.

Part-of: prometheus-community#38

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* sort charts alphabetically

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* adjust existing CODEOWNERS

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* link to CODEOWNERS file and fixed spelling

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* feat: adding issue templates (prometheus-community#54)

* feat: adding issue templates

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* feat: PR template and review comments

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-consul-exporter] add gkarthiks as additional maintainers (prometheus-community#50)

* adding gkarthiks for additional maintainers

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: new line char

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* adding gkarthiks to codeowners against consul

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus] - adds monotek to prometheus maintainers (prometheus-community#55)

* added monotek to prometheus maintainers

Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>

* rearrange the new codeowner for prometheus chart

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

Co-authored-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-blackbox-exporter] fix linting failure due to deprecated api version (see issue prometheus-community#56) (prometheus-community#57)

* fix linting failure due to deprecated api version (see issue prometheus-community#56)

Signed-off-by: Jorrit Salverda <jsalverda@travix.com>

* use rbac.apiVersion template to set correct apiVersion for role and rolebinding

Signed-off-by: Jorrit Salverda <jsalverda@travix.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* formatted GitHub templates and made minor adjustments (prometheus-community#59)

* formatted GitHub templates and made minor adjustments

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [kube-prometheus-stack] Fix Chart Name and Rm Whitespaces in "NOTES.txt" (prometheus-community#60)

* fix chart name in NOTES.txt

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* rm whitespaces in NOTES.txt

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* feat: replacing grafana rom stable to its own repo + additional chart maintainer (prometheus-community#53)

* feat: replacing grafana own repo

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: trailing white spaces

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: reverting the grafana values

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* adding grafana repo for actions

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* add: adding grafana repo in linter

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* doc(lint): making doc stmt as single stmt

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* revert: reverting the old README statement

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* feat: adding gkarthiks to codeowners against kube-prometheus-stack

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

Signed-off-by: Karthikeyan Govindaraj <30545166+gkarthiks@users.noreply.github.com>

* Add scottrigby as co-maintainer of kube-prometheus-stack

Signed-off-by: Scott Rigby <scott@r6by.com>

* add xtigyro as maintainer for kube-prometheus-stack (prometheus-community#73)

Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>

* Revert header for simplicity

Co-authored-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: Torsten Walter <mail@torstenwalter.de>
Co-authored-by: hmlkao <ondrej.homolka@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: Karthikeyan Govindaraj <30545166+gkarthiks@users.noreply.github.com>
Co-authored-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Co-authored-by: Jorrit Salverda <JorritSalverda@users.noreply.github.com>

Signed-off-by: Scott Rigby <scott@r6by.com>
Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>
stamzid pushed a commit to Unstructured-IO/prometheus-community-helm-charts that referenced this pull request Mar 3, 2023
…munity#1)

* Initial chart direectory rename prometheus-operator to kube-prometheus

See prometheus-community/community#28 (comment)

Signed-off-by: Scott Rigby <scott@r6by.com>

* First attempt at data change of prometheus-operator to kube-prometheus

Signed-off-by: Scott Rigby <scott@r6by.com>

* Helm GH Action files as-is from https://github.com/helm/charts-repo-actions-demo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Bump chart-testing action to v1.0.0. See helm/charts-repo-actions-demo#20

Signed-off-by: Scott Rigby <scott@r6by.com>

* Changes to chart testing config file for this repo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Use built-in GITHUB_TOKEN now that GH Actions bug is fixed. See helm/chart-releaser-action#26

Signed-off-by: Scott Rigby <scott@r6by.com>

* Test actions with version bump to prometheus chart

Signed-off-by: Scott Rigby <scott@r6by.com>

* Bump chart-releaser-action and kind-action to v1.0.0

Signed-off-by: Scott Rigby <scott@r6by.com>

* Release from main not master branch

Signed-off-by: Scott Rigby <scott@r6by.com>

* Revert "Test actions with version bump to prometheus chart"

This reverts commit 81c50e5.

Signed-off-by: Scott Rigby <scott@r6by.com>

* Allow requirements lock files

Signed-off-by: Scott Rigby <scott@r6by.com>

* Initial CODEOWNERS file (prometheus-community#18)

Signed-off-by: Scott Rigby <scott@r6by.com>

* Prep initial charts indexing (prometheus-community#14)

* [stable/prometheus] update prometheus to 2.20.1 and cm reloader to 0.4.0 (#23506)

* updated prometheus to 2.20.1 and cm reloader to 0.4.0

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix xpp version

Signed-off-by: André Bauer <monotek23@gmail.com>

* Deprecate prometheus-operator chart before helm repo index, so that it won't be listed in the hubs

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update prometheus-community/prometheus chart. Needed to update references to stable repo, but took the opportunity to reorganize, fix and simplify README

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add Helm 3 commands before Helm 2. Add helm update command. Reorganize the 'Upgrading Chart' section

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix header

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix markdown linting

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add direct links to values.yaml configuration file for easy browsing by end users without the CLI

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove prometheus chart OWNERS file

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update prometheus-adapter chart README and bump version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus chart: Return updated, working command example for Sharing Alerts Between Services

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-adapter: fix configure command typos

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-blackbox-exporter: Update readme, delete OWNERS file and bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-cloudwatch-exporter: Update Readme with new template, delete OWNERS file, bump chart version, update CHANGELOG

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-consul-exporter: Update Readme per new template and bump chart

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Update Readme per new template and bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-mongodb-exporter: Update Readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Fix k8s 1.16 deprecated PodSecurityPolicy in the extensions/v1beta1 API version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-couchdb-exporter: Fix bad YAML indentation. How did this ever work?

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-mysql-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-nats-exporter: update readme per new template, move specific config note to values.yaml, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-node-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-postgres-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-pushgateway: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-rabbitmq-exporter: update readme per new template, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-redis-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-snmp-exporter: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: update readme per new template, remove OWNERS file, bump chart version

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: fix deprecated deployment apps/v1beta1

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove instructions for stable repos from all charts, except prometheus and deprecated prometheus-operator, as only those have dependencies on stable charts

Signed-off-by: Scott Rigby <scott@r6by.com>

* Temporary workaround github API rate limiting

Signed-off-by: Scott Rigby <scott@r6by.com>

* prometheus-to-sd: missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec

Signed-off-by: Scott Rigby <scott@r6by.com>

* disable chart testing for prometheus-to-sd. If not running on GCE, will error: "Failed to get GCE config"

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>

* Add kube-prometheus chart maintainers to CODEOWNERS after merging main

Signed-off-by: Scott Rigby <scott@r6by.com>

* Un-deprecate chart within renaming to kube-prometheus PR

Signed-off-by: Scott Rigby <scott@r6by.com>

* Change all references to old coreos/prometheus-operator and coreos/kube-prometheus git repos to the new prometheus-operator github org

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove stray CODEOWNERS rule for charts/prometheus-operator/

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix typo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/hack/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/prometheus-operator.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node.rules.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node-network.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/node-time.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/templates/prometheus/rules/kubernetes-system.yaml

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update charts/kube-prometheus/README.md

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Update dependency location and remove README note about chart source (it's easy to determine chart source from the dependency definition)

Signed-off-by: Scott Rigby <scott@r6by.com>

* Fix markdownlint

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update kube-prometheus per new README template. See prometheus-community#14

Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove requirements lock file for now, otherwise if we release the chart before transferring repo ownership the digest will differ. See helm pkg downloader Manager Build() method check for resolveRepoNames()

Signed-off-by: Scott Rigby <scott@r6by.com>

* Non-functional: update commented links to CRD sources

Co-authored-by: Quentin Bisson <quentin@giantswarm.io>

Signed-off-by: Scott Rigby <scott@r6by.com>

* Add GitHub superlinter to lint markdown (prometheus-community#26)

* Create linter.yml

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Co-authored-by: Scott Rigby <scott@r6by.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Add configuration for Stale GitHub app (prometheus-community#27)

Signed-off-by: Scott Rigby <scott@r6by.com>

* disabled failing linters and fixed markdown issues (prometheus-community#32)

- fixes markdown issues reported by markdownlint
- disabled yamllint as helm templates are never valid
- disabled the other linters as there is a problem with a shell script and some python code
  once that is fixed we could enable them again

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Rename chart dir

Signed-off-by: Scott Rigby <scott@r6by.com>

* Update CODEOWNERS for new chart dir name

Signed-off-by: Scott Rigby <scott@r6by.com>

* Rename instances of kube-prometheus to kube-prometheus-stack. Take care to leave references to the upstream kube-prometheus project (and related configs) as kube-prometheus

Signed-off-by: Scott Rigby <scott@r6by.com>

* Chart testing needs this repo info to test chart dependencies in the same repo

Signed-off-by: Scott Rigby <scott@r6by.com>

* Auto-sync README from main to gh-pages (prometheus-community#41)

* Auto-sync README from main to gh-pages

Signed-off-by: Scott Rigby <scott@r6by.com>

* Only runs on push to main

even if this workflow is copied to a new branch

Signed-off-by: Scott Rigby <scott@r6by.com>

* Improve README for main and gh pages (prometheus-community#43)

Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus] unify labels and annotations across all deploymens and statefulsets (prometheus-community#45)

Signed-off-by: Ondrej Homolka <ondrej.homolka@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-redis-exporter] Add zanhsieh as maintainer (prometheus-community#46)

Signed-off-by: zanhsieh <zanhsieh@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* added link to github to readme (prometheus-community#51)

Signed-off-by: André Bauer <monotek23@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Add PROCESSES document (prometheus-community#44)

* Add CODEOWNERS

I used this syntax in CODEOWNERS:

```
/chart/<name-of-chart> @maintainer
```

It matches any files in the chart directory at the root of the repository and any of its  subdirectories.
Without the leading `/` it would also match directories found somewhere
else. It's unlikely that those names would be used, but it does not harm
to do it this way.

Part-of: prometheus-community#38

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* sort charts alphabetically

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* adjust existing CODEOWNERS

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* link to CODEOWNERS file and fixed spelling

Signed-off-by: Torsten Walter <mail@torstenwalter.de>

* feat: adding issue templates (prometheus-community#54)

* feat: adding issue templates

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* feat: PR template and review comments

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-consul-exporter] add gkarthiks as additional maintainers (prometheus-community#50)

* adding gkarthiks for additional maintainers

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: new line char

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* adding gkarthiks to codeowners against consul

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus] - adds monotek to prometheus maintainers (prometheus-community#55)

* added monotek to prometheus maintainers

Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>

* rearrange the new codeowner for prometheus chart

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

Co-authored-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [prometheus-blackbox-exporter] fix linting failure due to deprecated api version (see issue prometheus-community#56) (prometheus-community#57)

* fix linting failure due to deprecated api version (see issue prometheus-community#56)

Signed-off-by: Jorrit Salverda <jsalverda@travix.com>

* use rbac.apiVersion template to set correct apiVersion for role and rolebinding

Signed-off-by: Jorrit Salverda <jsalverda@travix.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* formatted GitHub templates and made minor adjustments (prometheus-community#59)

* formatted GitHub templates and made minor adjustments

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
Signed-off-by: Scott Rigby <scott@r6by.com>

* [kube-prometheus-stack] Fix Chart Name and Rm Whitespaces in "NOTES.txt" (prometheus-community#60)

* fix chart name in NOTES.txt

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* rm whitespaces in NOTES.txt

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* feat: replacing grafana rom stable to its own repo + additional chart maintainer (prometheus-community#53)

* feat: replacing grafana own repo

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: trailing white spaces

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* fix: reverting the grafana values

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* adding grafana repo for actions

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* add: adding grafana repo in linter

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* doc(lint): making doc stmt as single stmt

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* revert: reverting the old README statement

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

* feat: adding gkarthiks to codeowners against kube-prometheus-stack

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

Signed-off-by: Karthikeyan Govindaraj <30545166+gkarthiks@users.noreply.github.com>

* Add scottrigby as co-maintainer of kube-prometheus-stack

Signed-off-by: Scott Rigby <scott@r6by.com>

* add xtigyro as maintainer for kube-prometheus-stack (prometheus-community#73)

Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>

* Revert header for simplicity

Co-authored-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>

Signed-off-by: Scott Rigby <scott@r6by.com>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: Torsten Walter <mail@torstenwalter.de>
Co-authored-by: hmlkao <ondrej.homolka@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: Karthikeyan Govindaraj <30545166+gkarthiks@users.noreply.github.com>
Co-authored-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Co-authored-by: Jorrit Salverda <JorritSalverda@users.noreply.github.com>

Signed-off-by: Scott Rigby <scott@r6by.com>
zanhsieh pushed a commit that referenced this pull request Sep 9, 2023
…he ServiceAccount template (#1) (#3686)

* refactor: remove extra spaces from the ServiceAccount template (#1)

Signed-off-by: Shubham Girdhar <girdharshubham@hotmail.com>

* bump: chart minor version

Signed-off-by: Shubham Girdhar <girdharshubham@hotmail.com>

---------

Signed-off-by: Shubham Girdhar <girdharshubham@hotmail.com>
Co-authored-by: Asher Foa <asher@asherfoa.com>
@aarifkhan8 aarifkhan8 mentioned this pull request May 25, 2024
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename prometheus-operator