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

Create a new git repo for prometheus-community helm charts #28

Closed
2 tasks done
scottrigby opened this issue Aug 5, 2020 · 37 comments
Closed
2 tasks done

Create a new git repo for prometheus-community helm charts #28

scottrigby opened this issue Aug 5, 2020 · 37 comments

Comments

@scottrigby
Copy link
Member

scottrigby commented Aug 5, 2020

Hello 👋

Problem

Helm stable and incubator repos are EOL on Nov 13, 2020 (See support plan and Deprecation Timeline). The community (chart OWNERS, organizations, groups or individuals who want to host charts) are moving charts to new Helm repos, and will list these new repos on the Helm Hub before stable and incubator are de-listed there.

Proposed solution

  • Please create a new git repo for prometheus-community helm charts: https://github.com/prometheus-community/helm-charts
  • Invite collaborators to the new prometheus-community/helm-charts git repo with to help move over prometheus-related community charts from the stable helm repo (to properly retain git history), and set up CI/CD for automated chart testing and releasing. You can invite me, and I'll invite the others

From there, these remaining checklist items can move to an issue in the new repo. I'm listing them here so everyone can see the end-to-end plan:

  • Invite existing prometheus community chart maintainers as collaborators with write access
  • List new chart repo at https://hub.helm.sh/ and https://artifacthub.io/
  • Deprecate the moved charts in the stable repo
  • Work with prometheus developers and community to properly refactor charts within the new prometheus-community/helm-charts repo to refactor, and deprecate/rename as needed according to ongoing discussion about more appropriate architecture/naming

Additional context

Open question about prometheus-operator chart

Update: it was decided that the prometheus-operator chart should move to the prometheus-community org, per prometheus-operator/prometheus-operator#3169 (comment)

@paulfantom pointed me to the open issue at prometheus-operator/prometheus-operator#3169 and I have commented there.

Relevant notes from IRC

From chat in Freenode #prometheus-dev IRC today

I'm part of the Helm team, focusing largely on charts, repos and related tooling. Just caught up on the "Helm charts home" mailing list topic https://groups.google.com/g/prometheus-developers/c/Gh8GMscELao/m/2zZFPwdLBwAJ?pli=1 and would like to help however I can to get questions resolved for the new home(s) for stable prometheus charts before the current repo deprecation.

@brancz and I had an earlier Slack thread with Naseem in February/March about this. I think the mailing thread covered most of the topics we discussed.

In general, an idiomatic approach for an org hosting multiple Helm charts is a monorepo. If on GitHub, Helm has created Actions for consistent chart testing during CI and chart packaging releasing for CD (listed in the mail list thread). For history sake, we normally recommend preserving git history (using filter-branch) when moving charts, so that it's clear to future devs why past changes were made, and to credit those who made them.

That thread bike-shedded a bit on details like naming (really just keep it simple, no prefixes or suffixes needed etc). But there were two other points that I think are legit potential blockers to discuss:

  1. how the prom charts should be ideally structured vs how the stable ones people depend on now are structured
  2. whether there should be several categories of charts, clearly separated somehow for end users (example: a. charts owned by prometheus to be better architected and named, b. charts maintained by the community moved from stable as-is and refactored over time, c. charts focused on external projects like the prom jira-alerts. Or maybe b and c should be combined etc)

My suggestion to keep things as simple as possible is to take a multi-stage approach:

  • First ask a Prometheus GitHub admin to create a new git repo https://github.com/prometheus-community/helm-charts. And invite a few collaborators as repo admins to help set it up (I'm happy to help), as well as write access for current chart maintainers (we can follow up about github usernames)
  • Then we can bring in the existing charts as-is, with a goal of refactoring, and deprecating/renaming as needed from there according to ongoing discussion about more appropriate architecture/naming

☝️ This would still allow specific refactored charts to later be moved to https://github.com/prometheus/helm-charts if prometheus developers prefer an easier to distinguish charts maintained internally vs those maintained by the community. But they could also remain in prometheus-community if this isn't desired. My main goal is to unblock the 17 stable community prometheus-related Helm charts currently in use by end users today. Here is an issue we're using to track progress on moving all existing stable charts https://github.com/helm/charts/issues/21103

@SuperQ said:

The first step for that is to open an issue on https://github.com/prometheus-community/community/issues

@brian-brazil said:

I don't think it should ever be in the main prometheus org

Personally I agree. Some people in the mailing list suggested that so I just want to clearly note that the community repo wouldn't preclude individual charts moving elsewhere later, for any technical reasons related to helm repos, hub aggregation etc.

@SuperQ
Copy link
Contributor

SuperQ commented Aug 5, 2020

Anyone volunteer to be the maintainer sponsor? @bwplotka @brancz @gouthamve ?

@hickeyma
Copy link

hickeyma commented Aug 6, 2020

Just to add some feedback that we have received in the Helm community in the last few months. There has been a lot of questions wrt prometheus Helm charts and if they will be supported by the prometheus community going forward. The other question been asked is, when will the charts be Helm 3 compatible.

@stuart-c
Copy link

stuart-c commented Aug 6, 2020

@hickeyma what do you mean by Helm 3 compatible? I've been using Helm 3 with the charts for 6 months so far...

@hickeyma
Copy link

hickeyma commented Aug 6, 2020

IIRC, someone mentioned that it was not compatible at some stage.

Ah, my bad. Checking the operator chart, I can see that it has indeed been updated for Helm 3 CRDs. Thanks for the heads up @stuart-c

@brancz
Copy link
Member

brancz commented Aug 6, 2020

I'm happy with sponsoring the chart for the prometheus-community org, under the condition that:

  • It is renamed to kube-prometheus-chart to actually reflect its content, and confuse users less
  • There are at least 2 maintainers (I would only sponsor, not be maintainer, now or ever)
  • The maintainers actively try to minimize the differences between the chart and kube-prometheus (I believe this is already happening but I would like to see it be an explicit goal)

@stuart-c
Copy link

stuart-c commented Aug 6, 2020

@brancz when you say "the chart" are you referring to the prometheus operator chart, as the repo would be home to all the prometheus related charts (prom operator, node exporter, alertmanager, other exporters, etc)?

@SuperQ
Copy link
Contributor

SuperQ commented Aug 6, 2020

I've created @prometheus-community/helm-charts GitHub team to manage things.

@brancz
Copy link
Member

brancz commented Aug 6, 2020

I'm specifically talking about what is in the upstream charts repo referred to as the prometheus-operator chart.

@stuart-c
Copy link

stuart-c commented Aug 6, 2020

I'd be happy to lend a hand if you would like an additional maintainer...

@Nexucis
Copy link

Nexucis commented Aug 6, 2020

It is renamed to kube-prometheus-chart to actually reflect its content, and confuse users less

Sorry by advance for the dummy question, but what is the point of putting kube in the name of the repo ?

Helm-charts is for sure for kube. People that doesn't make the link probably shouldn't use it.

And you already have the name prometheus in prometheus-community.
IMHO prometheus-community/helm-charts is obviously the different helm charts relative to the different prometheus repositories which then should be used into kube

@scottrigby
Copy link
Member Author

@brancz OK, I updated the issue description to say it was decided that the prometheus-operator chart should move to the prometheus-community org, per prometheus-operator/prometheus-operator#3169 (comment) 👌

Simplifying charts

Regarding this note from that thread:

Aside from that, I'm excited to see how what you mentioned @scottrigby works out in practice around minimal helm charts, and hope to see the chart evolve in that direction.

Yes! I'm happy to continue the discussion with chart maintainers to help this happen. One potentially valuable direction could be to create new, minimal charts at some point once refactoring/consolidation/renaming is agreed upon as chart API v2 charts (the default when using helm create with Helm 3). These could be a breaking MAJOR version to the same charts after Helm 2 is officially deprecated in November, or we could start earlier and these could live alongside the legacy ones until the old charts are deprecated. The only thing we can't do is have two charts with the same name in the same helm repo.

Multi-step process

Clarifying, do you agree we should follow the multi-step process I summarized in this issue description above? If it's not clear, I'll expand on it a bit here:

Step 1. Move over all existing stable prometheus-related charts to a new space: github.com/prometheus-community/helm-charts

These are the prometheus related charts:

  1. stable/prometheus
  2. stable/prometheus-adapter
  3. stable/prometheus-blackbox-exporter
  4. stable/prometheus-cloudwatch-exporter
  5. stable/prometheus-consul-exporter
  6. stable/prometheus-couchdb-exporter
  7. stable/prometheus-mongodb-exporter
  8. stable/prometheus-mysql-exporter
  9. stable/prometheus-nats-exporter
  10. stable/prometheus-node-exporter
  11. stable/prometheus-operator
  12. stable/prometheus-postgres-exporter
  13. stable/prometheus-pushgateway
  14. stable/prometheus-rabbitmq-exporter
  15. stable/prometheus-redis-exporter
  16. stable/prometheus-snmp-exporter
  17. stable/prometheus-to-sd

Step 2. Collaborate with prometheus devs to refactor/rename and simplify charts as appropriate

  • This can be done in-place, or in new charts within the same repo alongside the legacy ones
  • Starting by moving over the legacy charts first will not preclude however this is decided on a chart-by-chart basis
  • Helm also has a built-in mechanism to deprecate charts, so this will aid in clarifying which charts will be best to retire or rename as opposed to updating in-place
  • It is fine, and in fact advisable for charts to be located in a subdirectory of a git repo. They can also be placed into different subdirectories (as incubator and stable currently are) in order to differentiate or group them. So we can also keep this in mind if this is a concern during the subsequent refactoring work
  • In case it's not clear, there are a few benefits of starting with the existing charts in step 1, and incrementally improving them in step 2 (as opposed to rearchitecting/renaming to begin with). First is to keep the git history (including all lessons learned from years of past chart maintenance). Second so that legacy users not able to update yet to the newer versions can continue to download the initial version of the charts from your repo when the stable and incubator helm repos are no longer available (this is due to the object storage buckets being owned by Google, which will not necessarily be maintained after the November deprecation date)

Does this make sense?

@scottrigby
Copy link
Member Author

scottrigby commented Aug 6, 2020

@SuperQ re #28 (comment) if you would like to add me to the @prometheus-community/helm-charts GitHub team I'm more than happy to help configure the initial repo, move over the initial version of the charts, set up the standard helm repo CI/CD etc. There may also be other helm maintainers who would be willing to help with ongoing repo-level administration help, though I think after initial setup the prometheus-community members can also take over this part.

We can also discuss the process of adding chart maintainers, who will require git repo write access. I would recommend asking the current maintainers of the existing charts if they would like to be added to this. If there is a reason to differentiate maintainers of each of the individual charts, this can be done with a GitHub CODEOWNERS file (I'm not assuming that's necessary, just noting this is a good solution if it becomes a need through discussion about chart maintenance moving forward).

Please just lmk when this is ready and I will hop on it. If I miss replies about that here I'd appreciate if someone wouldn't mind pinging me in Slack or IRC. Thanks!

@stuart-c
Copy link

stuart-c commented Aug 7, 2020

As part of this will the existing charts in the helm org be deprecated and their README files updated to point here?

@matthiasr
Copy link
Contributor

I think this is a good move, from an ecosystem standpoint it makes sense. I'm not 100% sure what the governance model is now (#7) but if we need a formal sponsor from -team I am willing to take that. Unless we have someone who actually uses Helm day-to-day, that would be even better then?

@brancz
Copy link
Member

brancz commented Aug 7, 2020

@Nexucis kube-prometheus was created without ever intending to build a helm chart out of it :)

@scottrigby As I said before, my condition is that the "prometheus-operator" chart as it exists today with that name must change. It does not just deploy the prometheus operator, it deploys an entire cluster monitoring stack, that includes many many other components. I'm not against having a chart like that, but it must not be called prometheus operator, this naming has hurt the prometheus operator maintainers tremendously over the years as everyone opens issues directly on the prometheus operator repository about things that have nothing to do with the prometheus operator. I am ok with that chart being called kube-prometheus, because that is exactly what that helm chart was derived from. I am also ok with having a minimal helm chart called prometheus-operator, like the bitnami one, that truly just deploys the prometheus operator. I actually have exactly the same issue with the "prometheus" chart as it is based off of a very old version of kube-prometheus, that predates kube-prometheus using the prometheus operator.

I am perfectly happy with having all of these charts in general, as well as the two "meta" charts (prometheus and prometheus-operator as they are called today), but their name must accurately reflect their content.

@scottrigby
Copy link
Member Author

scottrigby commented Aug 8, 2020

@stuart-c Yes that would be the process, along with steps in https://github.com/helm/charts/blob/master/PROCESSES.md#deprecating-a-chart 👍 Then in https://github.com/helm/charts/issues/21103 we'll link to the helm/charts repo PR where that deprecation and notes to the new repo are added, just to help users keep track all in one place.

@matthiasr great 🙌

@brancz Those conditions make sense. I can also understand the frustration that came over time from that chart naming choice. I agree this seems like a good time to correct that once and for all. If we deprecate the chart before it's published to the new helm repo, it won't appear in the hub aggregators either.

One path forward is I could create a temporary git repo under my namespace, so that you can look it over before approving, then transfer it to the https://github.com/prometheus-community. That way we can adjust names as needed without confusing end users before fully approving and moving over the repo as the new starting point. What do you think?

@naseemkullah
Copy link
Member

naseemkullah commented Aug 8, 2020

On a related note, I notice there is no alertmanager chart in stable repo, I've prepared one here: https://github.com/naseemkullah/naseem-charts/tree/master/charts/alertmanager and would be glad to move it to the new repo in efforts to modularize the components into subcharts.

Though this would be more for vanilla prometheus, as I think alertmanager is a CRD in prometheus-operator.

@SuperQ
Copy link
Contributor

SuperQ commented Aug 10, 2020

@scottrigby Setting up the new github repo and then moving it sounds like a good solution.

@brancz
Copy link
Member

brancz commented Aug 11, 2020

Thank you @scottrigby! This gives me hope! :)

You have my approval and sponsorship. (I'm soon on vacation so unfortunately I don't think I will be very helpful with actually doing the move, but it appears that @SuperQ might be able to help :) )

@scottrigby
Copy link
Member Author

scottrigby commented Aug 12, 2020

I set up an initial version of this a few days ago, and took a first stab at renaming the prometheus-operator chart to kube-prometheus (also linked above) prometheus-community/helm-charts#1

Would someone be willing to review/test/fix whatever I broke by doing this? I added some detailed questions in the PR. Thanks!

I’d like to put PRs to at least stable/prometheus on hold in the stable until this is resolved, but we don’t have any good automated way to ensure that. So hopefully we can get this done ASAP. Thanks in advance for any help on this 🙂

@scottrigby
Copy link
Member Author

@gkarthiks Do you mean for additional charts? Since you're already added to the initial git repo as the maintainer of prometheus-couchdb-exporter you will continue to be added once the repo moves back to the prometheus-community org (see prometheus-community/helm-charts#20 for next steps 😄 We are nearly there!). For helping maintain other prometheus charts, you would need to ask the existing maintainers of those the chart(s) you want to help with, and have that convo. I've made an issue for discussion on this  prometheus-community/helm-charts#21 so we can follow-up there.

@QuentinBisson
Copy link
Member

I can help as well if a chart maintainer is needed

@scottrigby
Copy link
Member Author

@omegas27 Would you mind also replying on this issue? prometheus-community/helm-charts#21

For everyone else as well: mainly I'm trying to respect @brancz request to move discussion related to the charts to that repo. The discussion will persist when the repo is transferred to the prometheus-community org. Thanks!

@scottrigby
Copy link
Member Author

Update: I believe we are ready to transfer! See prometheus-community/helm-charts#11 for a maintainers poll.

@brancz your final approval is especially important here as you're sponsoring the move. I outlined the questions as I see them in that issue.

@SuperQ In order to transfer I'll DM you about team/permission details in IRC

@sachinmsft
Copy link

@scottrigby Is migration of prometheus-operator chart complete ? I wanted to shoot a PR to add optional Windows dashboards and rules once migration is done.

@scottrigby
Copy link
Member Author

scottrigby commented Sep 2, 2020

@sachinmsft There is a pull request in progress for the rename prometheus-community/helm-charts#1. If you wish you can make a PR against the PR branch there (rename-prometheus-operator-kube-prometheus). Let's move further discussion about that one either to an issue in that repo or on your Pull Request itself.

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

@sachinmsft
Copy link

Thanks @scottrigby . I can wait couple of days till this is done.

@scottrigby
Copy link
Member Author

This is done! 🎉 https://github.com/prometheus-community/helm-charts

For maintainers, there's this GH "project" if you want to see the remaining post-transfer steps: https://github.com/prometheus-community/helm-charts/projects/2

Closing this now. Thanks to @brancz and @SuperQ as well as all the prometheus community charts maintainers 🦄 💖

@brancz
Copy link
Member

brancz commented Sep 7, 2020

Thank you so much @scottrigby for taking the lead on this! I think we're in a much better place now than we were before.

@scottrigby
Copy link
Member Author

My pleasure!

scottrigby added a commit to prometheus-community/helm-charts that referenced this issue Sep 9, 2020
scottrigby added a commit to prometheus-community/helm-charts that referenced this issue Sep 9, 2020
* Initial chart direectory rename prometheus-operator to kube-prometheus

See prometheus-community/community#28 (comment)

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Changes to chart testing config file for this repo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Test actions with version bump to prometheus chart

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Release from main not master branch

Signed-off-by: Scott Rigby <[email protected]>

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

This reverts commit 81c50e5.

Signed-off-by: Scott Rigby <[email protected]>

* Allow requirements lock files

Signed-off-by: Scott Rigby <[email protected]>

* Initial CODEOWNERS file (#18)

Signed-off-by: Scott Rigby <[email protected]>

* Prep initial charts indexing (#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 <[email protected]>

* fix xpp version

Signed-off-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix header

Signed-off-by: Scott Rigby <[email protected]>

* Fix markdown linting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Remove prometheus chart OWNERS file

Signed-off-by: Scott Rigby <[email protected]>

* Update prometheus-adapter chart README and bump version

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* prometheus-adapter: fix configure command typos

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Temporary workaround github API rate limiting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix typo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Update charts/kube-prometheus/README.md

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Fix markdownlint

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Non-functional: update commented links to CRD sources

Co-authored-by: Quentin Bisson <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

* Add GitHub superlinter to lint markdown (#26)

* Create linter.yml

Signed-off-by: Torsten Walter <[email protected]>
Co-authored-by: Scott Rigby <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Add configuration for Stale GitHub app (#27)

Signed-off-by: Scott Rigby <[email protected]>

* disabled failing linters and fixed markdown issues (#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 <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Rename chart dir

Signed-off-by: Scott Rigby <[email protected]>

* Update CODEOWNERS for new chart dir name

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

* Auto-sync README from main to gh-pages

Signed-off-by: Scott Rigby <[email protected]>

* Only runs on push to main

even if this workflow is copied to a new branch

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Ondrej Homolka <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: zanhsieh <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* added link to github to readme (#51)

Signed-off-by: André Bauer <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Add PROCESSES document (#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: #38

Signed-off-by: Torsten Walter <[email protected]>

* sort charts alphabetically

Signed-off-by: Torsten Walter <[email protected]>

* adjust existing CODEOWNERS

Signed-off-by: Torsten Walter <[email protected]>

* link to CODEOWNERS file and fixed spelling

Signed-off-by: Torsten Walter <[email protected]>

* feat: adding issue templates (#54)

* feat: adding issue templates

Signed-off-by: gkarthiks <[email protected]>

* feat: PR template and review comments

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* adding gkarthiks for additional maintainers

Signed-off-by: gkarthiks <[email protected]>

* fix: new line char

Signed-off-by: gkarthiks <[email protected]>

* adding gkarthiks to codeowners against consul

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* added monotek to prometheus maintainers

Signed-off-by: André Bauer <[email protected]>

* rearrange the new codeowner for prometheus chart

Signed-off-by: Xtigyro <[email protected]>

Co-authored-by: Miroslav Hadzhiev <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

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

Signed-off-by: Jorrit Salverda <[email protected]>

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

Signed-off-by: Jorrit Salverda <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* formatted GitHub templates and made minor adjustments

Signed-off-by: Torsten Walter <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* fix chart name in NOTES.txt

Signed-off-by: Xtigyro <[email protected]>

* rm whitespaces in NOTES.txt

Signed-off-by: Xtigyro <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* feat: replacing grafana own repo

Signed-off-by: gkarthiks <[email protected]>

* fix: trailing white spaces

Signed-off-by: gkarthiks <[email protected]>

* fix: reverting the grafana values

Signed-off-by: gkarthiks <[email protected]>

* adding grafana repo for actions

Signed-off-by: gkarthiks <[email protected]>

* add: adding grafana repo in linter

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

* revert: reverting the old README statement

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

Signed-off-by: Karthikeyan Govindaraj <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Miroslav Hadzhiev <[email protected]>

* Revert header for simplicity

Co-authored-by: Cédric de Saint Martin <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>
Co-authored-by: Manuel Rüger <[email protected]>
Co-authored-by: Torsten Walter <[email protected]>
Co-authored-by: hmlkao <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: Karthikeyan Govindaraj <[email protected]>
Co-authored-by: Miroslav Hadzhiev <[email protected]>
Co-authored-by: Jorrit Salverda <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>
monotek pushed a commit to monotek/prometheus-helm-charts that referenced this issue Oct 7, 2020
* Initial chart direectory rename prometheus-operator to kube-prometheus

See prometheus-community/community#28 (comment)

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Changes to chart testing config file for this repo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Test actions with version bump to prometheus chart

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Release from main not master branch

Signed-off-by: Scott Rigby <[email protected]>

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

This reverts commit 81c50e5.

Signed-off-by: Scott Rigby <[email protected]>

* Allow requirements lock files

Signed-off-by: Scott Rigby <[email protected]>

* Initial CODEOWNERS file (prometheus-community#18)

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* fix xpp version

Signed-off-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix header

Signed-off-by: Scott Rigby <[email protected]>

* Fix markdown linting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Remove prometheus chart OWNERS file

Signed-off-by: Scott Rigby <[email protected]>

* Update prometheus-adapter chart README and bump version

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* prometheus-adapter: fix configure command typos

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Temporary workaround github API rate limiting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix typo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Update charts/kube-prometheus/README.md

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Fix markdownlint

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Non-functional: update commented links to CRD sources

Co-authored-by: Quentin Bisson <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

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

* Create linter.yml

Signed-off-by: Torsten Walter <[email protected]>
Co-authored-by: Scott Rigby <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Rename chart dir

Signed-off-by: Scott Rigby <[email protected]>

* Update CODEOWNERS for new chart dir name

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

* Auto-sync README from main to gh-pages

Signed-off-by: Scott Rigby <[email protected]>

* Only runs on push to main

even if this workflow is copied to a new branch

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Ondrej Homolka <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: zanhsieh <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: André Bauer <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* sort charts alphabetically

Signed-off-by: Torsten Walter <[email protected]>

* adjust existing CODEOWNERS

Signed-off-by: Torsten Walter <[email protected]>

* link to CODEOWNERS file and fixed spelling

Signed-off-by: Torsten Walter <[email protected]>

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

* feat: adding issue templates

Signed-off-by: gkarthiks <[email protected]>

* feat: PR template and review comments

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* adding gkarthiks for additional maintainers

Signed-off-by: gkarthiks <[email protected]>

* fix: new line char

Signed-off-by: gkarthiks <[email protected]>

* adding gkarthiks to codeowners against consul

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* added monotek to prometheus maintainers

Signed-off-by: André Bauer <[email protected]>

* rearrange the new codeowner for prometheus chart

Signed-off-by: Xtigyro <[email protected]>

Co-authored-by: Miroslav Hadzhiev <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Jorrit Salverda <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* formatted GitHub templates and made minor adjustments

Signed-off-by: Torsten Walter <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* [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 <[email protected]>

* rm whitespaces in NOTES.txt

Signed-off-by: Xtigyro <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* feat: replacing grafana own repo

Signed-off-by: gkarthiks <[email protected]>

* fix: trailing white spaces

Signed-off-by: gkarthiks <[email protected]>

* fix: reverting the grafana values

Signed-off-by: gkarthiks <[email protected]>

* adding grafana repo for actions

Signed-off-by: gkarthiks <[email protected]>

* add: adding grafana repo in linter

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

* revert: reverting the old README statement

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

Signed-off-by: Karthikeyan Govindaraj <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Miroslav Hadzhiev <[email protected]>

* Revert header for simplicity

Co-authored-by: Cédric de Saint Martin <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>
Co-authored-by: Manuel Rüger <[email protected]>
Co-authored-by: Torsten Walter <[email protected]>
Co-authored-by: hmlkao <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: Karthikeyan Govindaraj <[email protected]>
Co-authored-by: Miroslav Hadzhiev <[email protected]>
Co-authored-by: Jorrit Salverda <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>
Signed-off-by: André Bauer <[email protected]>
galina-tochilkin pushed a commit to mtp-devops/3d-party-helm that referenced this issue Aug 23, 2023
* Initial chart direectory rename prometheus-operator to kube-prometheus

See prometheus-community/community#28 (comment)

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Changes to chart testing config file for this repo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Test actions with version bump to prometheus chart

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Release from main not master branch

Signed-off-by: Scott Rigby <[email protected]>

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

This reverts commit 81c50e5a7ab6322d6755ec853de0d9babc36ae67.

Signed-off-by: Scott Rigby <[email protected]>

* Allow requirements lock files

Signed-off-by: Scott Rigby <[email protected]>

* Initial CODEOWNERS file (#18)

Signed-off-by: Scott Rigby <[email protected]>

* Prep initial charts indexing (#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 <[email protected]>

* fix xpp version

Signed-off-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix header

Signed-off-by: Scott Rigby <[email protected]>

* Fix markdown linting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Remove prometheus chart OWNERS file

Signed-off-by: Scott Rigby <[email protected]>

* Update prometheus-adapter chart README and bump version

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* prometheus-adapter: fix configure command typos

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Temporary workaround github API rate limiting

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* Fix typo

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Update charts/kube-prometheus/README.md

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: Manuel Rüger <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Fix markdownlint

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

* Non-functional: update commented links to CRD sources

Co-authored-by: Quentin Bisson <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

* Add GitHub superlinter to lint markdown (#26)

* Create linter.yml

Signed-off-by: Torsten Walter <[email protected]>
Co-authored-by: Scott Rigby <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Add configuration for Stale GitHub app (#27)

Signed-off-by: Scott Rigby <[email protected]>

* disabled failing linters and fixed markdown issues (#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 <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Rename chart dir

Signed-off-by: Scott Rigby <[email protected]>

* Update CODEOWNERS for new chart dir name

Signed-off-by: Scott Rigby <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

* Auto-sync README from main to gh-pages

Signed-off-by: Scott Rigby <[email protected]>

* Only runs on push to main

even if this workflow is copied to a new branch

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Ondrej Homolka <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: zanhsieh <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* added link to github to readme (#51)

Signed-off-by: André Bauer <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

* Add PROCESSES document (#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: #38

Signed-off-by: Torsten Walter <[email protected]>

* sort charts alphabetically

Signed-off-by: Torsten Walter <[email protected]>

* adjust existing CODEOWNERS

Signed-off-by: Torsten Walter <[email protected]>

* link to CODEOWNERS file and fixed spelling

Signed-off-by: Torsten Walter <[email protected]>

* feat: adding issue templates (#54)

* feat: adding issue templates

Signed-off-by: gkarthiks <[email protected]>

* feat: PR template and review comments

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* adding gkarthiks for additional maintainers

Signed-off-by: gkarthiks <[email protected]>

* fix: new line char

Signed-off-by: gkarthiks <[email protected]>

* adding gkarthiks to codeowners against consul

Signed-off-by: gkarthiks <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* added monotek to prometheus maintainers

Signed-off-by: André Bauer <[email protected]>

* rearrange the new codeowner for prometheus chart

Signed-off-by: Xtigyro <[email protected]>

Co-authored-by: Miroslav Hadzhiev <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

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

Signed-off-by: Jorrit Salverda <[email protected]>

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

Signed-off-by: Jorrit Salverda <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* formatted GitHub templates and made minor adjustments

Signed-off-by: Torsten Walter <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* fix chart name in NOTES.txt

Signed-off-by: Xtigyro <[email protected]>

* rm whitespaces in NOTES.txt

Signed-off-by: Xtigyro <[email protected]>
Signed-off-by: Scott Rigby <[email protected]>

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

* feat: replacing grafana own repo

Signed-off-by: gkarthiks <[email protected]>

* fix: trailing white spaces

Signed-off-by: gkarthiks <[email protected]>

* fix: reverting the grafana values

Signed-off-by: gkarthiks <[email protected]>

* adding grafana repo for actions

Signed-off-by: gkarthiks <[email protected]>

* add: adding grafana repo in linter

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

* revert: reverting the old README statement

Signed-off-by: gkarthiks <[email protected]>

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

Signed-off-by: gkarthiks <[email protected]>

Signed-off-by: Karthikeyan Govindaraj <[email protected]>

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

Signed-off-by: Scott Rigby <[email protected]>

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

Signed-off-by: Miroslav Hadzhiev <[email protected]>

* Revert header for simplicity

Co-authored-by: Cédric de Saint Martin <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>

Co-authored-by: André Bauer <[email protected]>
Co-authored-by: Manuel Rüger <[email protected]>
Co-authored-by: Torsten Walter <[email protected]>
Co-authored-by: hmlkao <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: Karthikeyan Govindaraj <[email protected]>
Co-authored-by: Miroslav Hadzhiev <[email protected]>
Co-authored-by: Jorrit Salverda <[email protected]>

Signed-off-by: Scott Rigby <[email protected]>
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

No branches or pull requests