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
Co-authored-by: Cédric de Saint Martin <[email protected]>

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

* Update stable/prometheus-operator/Chart.yaml

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

Co-authored-by: Reinhard Nägele <[email protected]>

Co-authored-by: Reinhard Nägele <[email protected]>
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 <[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]>
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 <[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]>
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 <[email protected]>

* bump: chart minor version

Signed-off-by: Shubham Girdhar <[email protected]>

---------

Signed-off-by: Shubham Girdhar <[email protected]>
Co-authored-by: Asher Foa <[email protected]>
@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