├── .editorconfig ├── .github └── workflows │ ├── ci.yaml │ └── release-executable.yaml ├── .gitignore ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── README.tmpl.md ├── cmd └── root.go ├── examples ├── alertmanager.md ├── kube-prometheus-stack.md ├── prometheus-adapter.md ├── prometheus-blackbox-exporter.md ├── prometheus-cloudwatch-exporter.md ├── prometheus-consul-exporter.md ├── prometheus-couchdb-exporter.md ├── prometheus-druid-exporter.md ├── prometheus-elasticsearch-exporter.md ├── prometheus-kafka-exporter.md ├── prometheus-mongodb-exporter.md ├── prometheus-mysql-exporter.md ├── prometheus-nats-exporter.md ├── prometheus-node-exporter.md ├── prometheus-pingdom-exporter.md ├── prometheus-postgres-exporter.md ├── prometheus-pushgateway.md ├── prometheus-rabbitmq-exporter.md ├── prometheus-redis-exporter.md ├── prometheus-snmp-exporter.md ├── prometheus-stackdriver-exporter.md ├── prometheus-statsd-exporter.md ├── prometheus-to-sd.md └── prometheus.md ├── go.mod ├── go.sum ├── hack ├── integration-tests.sh └── update-readme.sh ├── main.go └── pkg ├── git ├── git.go └── models.go ├── helm ├── find_chars.go ├── models.go └── releases.go └── output ├── markdown.go └── utils.go /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | 10 | [*.md] 11 | trim_trailing_whitespace = false 12 | 13 | [Makefile] 14 | indent_style = tab 15 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | name: Build and Test 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'main' 7 | pull_request: 8 | branches: 9 | - '*' 10 | 11 | jobs: 12 | build: 13 | strategy: 14 | matrix: 15 | os: [ubuntu-latest, macOS-latest, windows-latest] 16 | runs-on: ${{ matrix.os }} 17 | name: Build & Test 18 | steps: 19 | - 20 | name: Checkout 21 | uses: actions/checkout@v2 22 | - 23 | name: Setup go 24 | uses: actions/setup-go@v2 25 | with: 26 | go-version: '^1.16.0' 27 | - 28 | name: Download dependencies 29 | run: go mod download 30 | - 31 | name: Build & Test 32 | run: | 33 | go build -o ./helm-changelog -v ./cmd/ 34 | go test ./... 35 | - 36 | name: Run GoReleaser 37 | uses: goreleaser/goreleaser-action@v2 38 | with: 39 | args: release --snapshot --skip-publish --rm-dist 40 | -------------------------------------------------------------------------------- /.github/workflows/release-executable.yaml: -------------------------------------------------------------------------------- 1 | name: Release with goreleaser 2 | 3 | on: 4 | push: 5 | tags: 6 | - v*.*.* 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | name: goreleaser 12 | steps: 13 | - 14 | name: Checkout 15 | uses: actions/checkout@v2 16 | with: 17 | fetch-depth: 0 18 | - 19 | name: Setup go 20 | uses: actions/setup-go@v2 21 | with: 22 | go-version: '^1.16.0' 23 | - 24 | name: Download dependencies 25 | run: go mod download 26 | - 27 | name: Release via goreleaser 28 | uses: goreleaser/goreleaser-action@v2 29 | with: 30 | args: release --rm-dist 31 | env: 32 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 33 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, built with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # Dependency directories (remove the comment below to include it) 15 | # vendor/ 16 | 17 | bin/* 18 | out/* 19 | tmp/* 20 | charts/ 21 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "spellright.language": [ 3 | "en_GB" 4 | ], 5 | "spellright.documentTypes": [ 6 | "markdown", 7 | "latex", 8 | "plaintext" 9 | ] 10 | } -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.16-alpine AS build-env 2 | 3 | # Dependencies 4 | WORKDIR /build 5 | ENV GO111MODULE=on 6 | COPY go.mod go.sum ./ 7 | RUN go mod download 8 | 9 | # Build 10 | COPY main.go main.go 11 | COPY pkg pkg/ 12 | COPY cmd cmd/ 13 | 14 | RUN CGO_ENABLED=0 go build -ldflags '-w -s' -o /app/helm-changelog . 15 | 16 | # Build runtime container 17 | FROM alpine:3 18 | LABEL description="Create changelogs for Helm Charts, based on git history." 19 | WORKDIR /data 20 | RUN apk add git 21 | COPY --from=build-env --chown=1000:1000 /app/helm-changelog /app/helm-changelog 22 | 23 | USER 1000:1000 24 | 25 | CMD ["/app/helm-changelog"] 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | VERSION="v0.0.1" 2 | 3 | PROJECT_NAME="helm-changelog" 4 | BINDIR ?= $(CURDIR)/bin 5 | TMPDIR ?= $(CURDIR)/tmp 6 | ARCH ?= amd64 7 | 8 | help: ## Display this help 9 | @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST) 10 | 11 | .PHONY: help build docker all clean 12 | 13 | test-unit: ## Run unit-tests 14 | go test ./... 15 | 16 | test-integration: build ## Run integration-tests 17 | bash hack/integration-tests.sh 18 | 19 | build: ## Build binary 20 | mkdir -p $(BINDIR) 21 | CGO_ENABLED=0 go build -o ./bin/${PROJECT_NAME} . 22 | 23 | verify: test build ## tests and builds 24 | 25 | image: ## build docker image 26 | docker build -t mogensen/${PROJECT_NAME}:${VERSION} . 27 | 28 | clean: ## clean up created files 29 | rm -rf \ 30 | $(BINDIR) \ 31 | $(TMPDIR) 32 | 33 | all: test build docker ## Runs test, build and docker 34 | 35 | test-coverage: ## Generate test coverage report 36 | mkdir -p $(TMPDIR) 37 | go test ./... --coverprofile $(TMPDIR)/outfile 38 | go tool cover -html=$(TMPDIR)/outfile 39 | 40 | lint: ## Generate static analysis report 41 | golint ./... 42 | 43 | update-docs: build ## Upgrade automatic documentations 44 | bash hack/update-readme.sh 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # helm-changelog 2 | 3 | [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fmogensen%2Fhelm-changelog%2Fbadge%3Fref%3Dmain&style=flat)](https://actions-badge.atrox.dev/mogensen/helm-changelog/goto?ref=main) 4 | [![Go Report Card](https://goreportcard.com/badge/github.com/mogensen/helm-changelog)](https://goreportcard.com/report/github.com/mogensen/helm-changelog) 5 | 6 | Create changelogs for Helm Charts, based on git history. 7 | 8 | The application depends on the assumption that the helm chart is released on the first commit where the version number is bumped in the `Chart.yaml` file. 9 | 10 | All sub-sequent commits are grouped as commits for the next release, until the version number is bumped again. 11 | 12 | ## Features 13 | 14 | The changelog contains the following things: 15 | 16 | - Commits are grouped by releases 17 | - Each release displays 18 | * Supported Helm version 19 | * Release date 20 | * App Version for the chart 21 | * Supported Kubernetes version 22 | - Changes in default helm values 23 | 24 | ## Examples 25 | 26 | This repository contains a set of example changelogs created for the github.com/prometheus-community/helm-charts charts. 27 | 28 | - [examples](https://github.com/mogensen/helm-changelog/tree/main/examples/) 29 | 30 | ## Installation 31 | 32 | All relevant commands are added to the `Makefile` 33 | 34 | ```bash 35 | $ make help 36 | 37 | Usage: 38 | make 39 | 40 | Targets: 41 | help Display this help 42 | test-unit Run unit-tests 43 | test-integration Run integration-tests 44 | build Build binary 45 | verify tests and builds 46 | image build docker image 47 | clean clean up created files 48 | all Runs test, build and docker 49 | test-coverage Generate test coverage report 50 | lint Generate static analysis report 51 | update-docs Upgrade automatic documentations 52 | ``` 53 | 54 | ### Run Standalone 55 | 56 | First build the standalone binary: 57 | 58 | ```bash 59 | $ make build 60 | go build -o ./bin/helm-changelog . 61 | ``` 62 | 63 | This results in a binary in `./bin/helm-changelog`. 64 | 65 | ```bash 66 | # See all cli options 67 | $ ./bin/helm-changelog --help 68 | Create changelogs for Helm Charts, based on git history 69 | 70 | Usage: 71 | helm-changelog [flags] 72 | 73 | Flags: 74 | -h, --help help for helm-changelog 75 | -v, --verbosity string Log level (debug, info, warn, error, fatal, panic (default "warning") 76 | 77 | # Run helm-changelog creator with default params 78 | $ ./bin/helm-changelog 79 | ``` 80 | 81 | ### Run in Docker 82 | 83 | The helm-changelog can alternatively be run in docker. 84 | 85 | This is done in a multi-stage build, and does not require a working go development environment. 86 | 87 | ```bash 88 | # Building the application and docker image 89 | $ make image 90 | 91 | # Run the resulting docker image 92 | $ docker run -it --rm -v $(pwd):/data mogensen/helm-changelog:latest 93 | ``` 94 | 95 | The helm-changelog app is running as a non-root user. 96 | This is a security best-practice. If user `1000` does not have write access to the chart directory, you may need to run the container as an other user. 97 | 98 | 99 | ```bash 100 | # Run docker image as current user 101 | $ docker run --user $UID it --rm -v $(pwd):/data mogensen/helm-changelog:latest 102 | ``` 103 | 104 | --- 105 | 106 | ## Testing 107 | 108 | ### Running Unit Tests 109 | 110 | Unit tests are implemented with Go's standard test framework. 111 | 112 | All tests are located in their own test-packages, enforcing that the tests only test the 113 | public interface of the go packages. 114 | 115 | ```bash 116 | # Run unit tests and code coverage, including test for race conditions 117 | $ make test-coverage 118 | ``` 119 | -------------------------------------------------------------------------------- /README.tmpl.md: -------------------------------------------------------------------------------- 1 | # helm-changelog 2 | 3 | [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fmogensen%2Fhelm-changelog%2Fbadge%3Fref%3Dmain&style=flat)](https://actions-badge.atrox.dev/mogensen/helm-changelog/goto?ref=main) 4 | [![Go Report Card](https://goreportcard.com/badge/github.com/mogensen/helm-changelog)](https://goreportcard.com/report/github.com/mogensen/helm-changelog) 5 | 6 | Create changelogs for Helm Charts, based on git history. 7 | 8 | The application depends on the assumption that the helm chart is released on the first commit where the version number is bumped in the `Chart.yaml` file. 9 | 10 | All sub-sequent commits are grouped as commits for the next release, until the version number is bumped again. 11 | 12 | ## Features 13 | 14 | The changelog contains the following things: 15 | 16 | - Commits are grouped by releases 17 | - Each release displays 18 | * Supported Helm version 19 | * Release date 20 | * App Version for the chart 21 | * Supported Kubernetes version 22 | - Changes in default helm values 23 | 24 | ## Examples 25 | 26 | This repository contains a set of example changelogs created for the github.com/prometheus-community/helm-charts charts. 27 | 28 | - [examples](https://github.com/mogensen/helm-changelog/tree/main/examples/) 29 | 30 | ## Installation 31 | 32 | All relevant commands are added to the `Makefile` 33 | 34 | ```bash 35 | $ make help 36 | {{ .Env.MAKE_HELPTEXT }} 37 | ``` 38 | 39 | ### Run Standalone 40 | 41 | First build the standalone binary: 42 | 43 | ```bash 44 | $ make build 45 | go build -o ./bin/helm-changelog . 46 | ``` 47 | 48 | This results in a binary in `./bin/helm-changelog`. 49 | 50 | ```bash 51 | # See all cli options 52 | $ ./bin/helm-changelog --help 53 | {{ .Env.HELM_CHANGELOG_HELPTEXT }} 54 | 55 | # Run helm-changelog creator with default params 56 | $ ./bin/helm-changelog 57 | ``` 58 | 59 | ### Run in Docker 60 | 61 | The helm-changelog can alternatively be run in docker. 62 | 63 | This is done in a multi-stage build, and does not require a working go development environment. 64 | 65 | ```bash 66 | # Building the application and docker image 67 | $ make image 68 | 69 | # Run the resulting docker image 70 | $ docker run -it --rm -v $(pwd):/data mogensen/helm-changelog:latest 71 | ``` 72 | 73 | The helm-changelog app is running as a non-root user. 74 | This is a security best-practice. If user `1000` does not have write access to the chart directory, you may need to run the container as an other user. 75 | 76 | 77 | ```bash 78 | # Run docker image as current user 79 | $ docker run --user $UID it --rm -v $(pwd):/data mogensen/helm-changelog:latest 80 | ``` 81 | 82 | --- 83 | 84 | ## Testing 85 | 86 | ### Running Unit Tests 87 | 88 | Unit tests are implemented with Go's standard test framework. 89 | 90 | All tests are located in their own test-packages, enforcing that the tests only test the 91 | public interface of the go packages. 92 | 93 | ```bash 94 | # Run unit tests and code coverage, including test for race conditions 95 | $ make test-coverage 96 | ``` 97 | -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- 1 | package cmd 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "path/filepath" 7 | "strings" 8 | 9 | "github.com/mogensen/helm-changelog/pkg/git" 10 | "github.com/mogensen/helm-changelog/pkg/helm" 11 | "github.com/mogensen/helm-changelog/pkg/output" 12 | "github.com/sirupsen/logrus" 13 | "github.com/spf13/cobra" 14 | ) 15 | 16 | var changelogFilename string 17 | 18 | // rootCmd represents the base command when called without any subcommands 19 | var rootCmd = &cobra.Command{ 20 | Use: "helm-changelog", 21 | Short: "Create changelogs for Helm Charts, based on git history", 22 | Run: func(cmd *cobra.Command, args []string) { 23 | 24 | log := logrus.StandardLogger() 25 | 26 | currentDir, err := os.Getwd() 27 | if err != nil { 28 | log.Fatal(err) 29 | } 30 | 31 | g := git.Git{Log: log} 32 | 33 | gitBaseDir, err := g.FindGitRepositoryRoot() 34 | if err != nil { 35 | log.Fatalf("Could not determine git root directory. helm-changelog depends largely on git history.") 36 | } 37 | 38 | fileList, err := helm.FindCharts(currentDir) 39 | if err != nil { 40 | log.Fatal(err) 41 | } 42 | 43 | for _, chartFileFullPath := range fileList { 44 | log.Infof("Handling: %s\n", chartFileFullPath) 45 | 46 | fullChartDir := filepath.Dir(chartFileFullPath) 47 | chartFile := strings.TrimPrefix(chartFileFullPath, gitBaseDir+"/") 48 | relativeChartFile := strings.TrimPrefix(chartFileFullPath, currentDir+"/") 49 | relativeChartDir := filepath.Dir(relativeChartFile) 50 | 51 | allCommits, err := g.GetAllCommits(fullChartDir) 52 | if err != nil { 53 | log.Fatal(err) 54 | } 55 | 56 | releases := helm.CreateHelmReleases(log, chartFile, relativeChartDir, g, allCommits) 57 | 58 | changeLogFilePath := filepath.Join(fullChartDir, changelogFilename) 59 | output.Markdown(log, changeLogFilePath, releases) 60 | } 61 | }, 62 | } 63 | 64 | // Execute sets all flags appropriately. 65 | // This is called by main.main(). It only needs to happen once to the rootCmd. 66 | func Execute() { 67 | var v string 68 | 69 | rootCmd.PersistentPreRunE = func(cmd *cobra.Command, args []string) error { 70 | if err := setUpLogs(os.Stdout, v); err != nil { 71 | return err 72 | } 73 | return nil 74 | } 75 | 76 | rootCmd.PersistentFlags().StringVarP(&changelogFilename, "filename", "f", "Changelog.md", "Filename for changelog") 77 | rootCmd.PersistentFlags().StringVarP(&v, "verbosity", "v", logrus.WarnLevel.String(), "Log level (debug, info, warn, error, fatal, panic)") 78 | 79 | cobra.CheckErr(rootCmd.Execute()) 80 | } 81 | 82 | // setUpLogs set the log output ans the log level 83 | func setUpLogs(out io.Writer, level string) error { 84 | logrus.SetOutput(out) 85 | lvl, err := logrus.ParseLevel(level) 86 | if err != nil { 87 | return err 88 | } 89 | logrus.SetLevel(lvl) 90 | return nil 91 | } 92 | -------------------------------------------------------------------------------- /examples/alertmanager.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.9.0 4 | 5 | **Release date:** 2021-03-29 6 | 7 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 8 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 9 | 10 | 11 | * [alertmanager] add NodePort support (#790) 12 | 13 | ### Default value changes 14 | 15 | ```diff 16 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 17 | index 12f277f..bcc193b 100644 18 | --- a/charts/alertmanager/values.yaml 19 | +++ b/charts/alertmanager/values.yaml 20 | @@ -52,6 +52,8 @@ service: 21 | annotations: {} 22 | type: ClusterIP 23 | port: 9093 24 | + # if you want to force a specific nodePort. Must be use with service.type=NodePort 25 | + # nodePort: 26 | 27 | ingress: 28 | enabled: false 29 | ``` 30 | 31 | ## 0.8.0 32 | 33 | **Release date:** 2021-03-19 34 | 35 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 36 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 37 | 38 | 39 | * [Alertmanager] command podannotations (#781) 40 | 41 | ### Default value changes 42 | 43 | ```diff 44 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 45 | index aa695a4..12f277f 100644 46 | --- a/charts/alertmanager/values.yaml 47 | +++ b/charts/alertmanager/values.yaml 48 | @@ -85,6 +85,10 @@ affinity: {} 49 | statefulSet: 50 | annotations: {} 51 | 52 | +podAnnotations: {} 53 | + 54 | +command: [] 55 | + 56 | persistence: 57 | enabled: true 58 | ## Persistent Volume Storage Class 59 | ``` 60 | 61 | ## 0.7.1 62 | 63 | **Release date:** 2021-03-19 64 | 65 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 66 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 67 | 68 | 69 | * [Alertmanager]: Fix indent for service tpl annotation (#777) 70 | 71 | ### Default value changes 72 | 73 | ```diff 74 | # No changes in this release 75 | ``` 76 | 77 | ## 0.7.0 78 | 79 | **Release date:** 2021-03-18 80 | 81 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 82 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 83 | 84 | 85 | * [Alertmanager]: Enable annotations for service tpl (#767) 86 | 87 | ### Default value changes 88 | 89 | ```diff 90 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 91 | index 0e07e8f..aa695a4 100644 92 | --- a/charts/alertmanager/values.yaml 93 | +++ b/charts/alertmanager/values.yaml 94 | @@ -49,6 +49,7 @@ securityContext: 95 | additionalPeers: [] 96 | 97 | service: 98 | + annotations: {} 99 | type: ClusterIP 100 | port: 9093 101 | 102 | ``` 103 | 104 | ## 0.6.0 105 | 106 | **Release date:** 2021-02-09 107 | 108 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 109 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 110 | 111 | 112 | * Ability for custom dnsConfig in alertmanager (#642) 113 | 114 | ### Default value changes 115 | 116 | ```diff 117 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 118 | index b8acca9..0e07e8f 100644 119 | --- a/charts/alertmanager/values.yaml 120 | +++ b/charts/alertmanager/values.yaml 121 | @@ -27,7 +27,16 @@ serviceAccount: 122 | 123 | podSecurityContext: 124 | fsGroup: 65534 125 | - 126 | +dnsConfig: {} 127 | + # nameservers: 128 | + # - 1.2.3.4 129 | + # searches: 130 | + # - ns1.svc.cluster-domain.example 131 | + # - my.dns.search.suffix 132 | + # options: 133 | + # - name: ndots 134 | + # value: "2" 135 | + # - name: edns0 136 | securityContext: 137 | # capabilities: 138 | # drop: 139 | ``` 140 | 141 | ## 0.5.1 142 | 143 | **Release date:** 2021-02-07 144 | 145 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 146 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 147 | 148 | 149 | * chore: bump configmap reloader (#645) 150 | 151 | ### Default value changes 152 | 153 | ```diff 154 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 155 | index 782a531..b8acca9 100644 156 | --- a/charts/alertmanager/values.yaml 157 | +++ b/charts/alertmanager/values.yaml 158 | @@ -123,7 +123,7 @@ configmapReload: 159 | ## 160 | image: 161 | repository: jimmidyson/configmap-reload 162 | - tag: v0.4.0 163 | + tag: v0.5.0 164 | pullPolicy: IfNotPresent 165 | 166 | ## configmap-reload resource requests and limits 167 | ``` 168 | 169 | ## 0.5.0 170 | 171 | **Release date:** 2021-01-23 172 | 173 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 174 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 175 | 176 | 177 | * [alertmanager] allow possibility to use alertmanager in HA (#609) 178 | 179 | ### Default value changes 180 | 181 | ```diff 182 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 183 | index eb6188d..782a531 100644 184 | --- a/charts/alertmanager/values.yaml 185 | +++ b/charts/alertmanager/values.yaml 186 | @@ -37,6 +37,8 @@ securityContext: 187 | runAsNonRoot: true 188 | runAsGroup: 65534 189 | 190 | +additionalPeers: [] 191 | + 192 | service: 193 | type: ClusterIP 194 | port: 9093 195 | ``` 196 | 197 | ## 0.4.0 198 | 199 | **Release date:** 2021-01-23 200 | 201 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 202 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 203 | 204 | 205 | * [alertmanager] Add optional config reloader (#348) 206 | 207 | ### Default value changes 208 | 209 | ```diff 210 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 211 | index de6954a..eb6188d 100644 212 | --- a/charts/alertmanager/values.yaml 213 | +++ b/charts/alertmanager/values.yaml 214 | @@ -105,5 +105,29 @@ config: 215 | receiver: default-receiver 216 | repeat_interval: 3h 217 | 218 | +## Monitors ConfigMap changes and POSTs to a URL 219 | +## Ref: https://github.com/jimmidyson/configmap-reload 220 | +## 221 | +configmapReload: 222 | + ## If false, the configmap-reload container will not be deployed 223 | + ## 224 | + enabled: false 225 | + 226 | + ## configmap-reload container name 227 | + ## 228 | + name: configmap-reload 229 | + 230 | + ## configmap-reload container image 231 | + ## 232 | + image: 233 | + repository: jimmidyson/configmap-reload 234 | + tag: v0.4.0 235 | + pullPolicy: IfNotPresent 236 | + 237 | + ## configmap-reload resource requests and limits 238 | + ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/ 239 | + ## 240 | + resources: {} 241 | + 242 | templates: {} 243 | # alertmanager.tmpl: |- 244 | ``` 245 | 246 | ## 0.3.0 247 | 248 | **Release date:** 2020-12-12 249 | 250 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 251 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 252 | 253 | 254 | * [alertmanager] Allow passing notification templates (#484) 255 | 256 | ### Default value changes 257 | 258 | ```diff 259 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 260 | index acbd738..de6954a 100644 261 | --- a/charts/alertmanager/values.yaml 262 | +++ b/charts/alertmanager/values.yaml 263 | @@ -90,6 +90,9 @@ config: 264 | global: {} 265 | # slack_api_url: '' 266 | 267 | + templates: 268 | + - '/etc/alertmanager/*.tmpl' 269 | + 270 | receivers: 271 | - name: default-receiver 272 | # slack_configs: 273 | @@ -101,3 +104,6 @@ config: 274 | group_interval: 5m 275 | receiver: default-receiver 276 | repeat_interval: 3h 277 | + 278 | +templates: {} 279 | +# alertmanager.tmpl: |- 280 | ``` 281 | 282 | ## 0.2.0 283 | 284 | **Release date:** 2020-11-25 285 | 286 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 287 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 288 | 289 | 290 | * [alertmanager] add statefulSet annotations (#414) 291 | 292 | ### Default value changes 293 | 294 | ```diff 295 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 296 | index 70e9a7d..acbd738 100644 297 | --- a/charts/alertmanager/values.yaml 298 | +++ b/charts/alertmanager/values.yaml 299 | @@ -70,6 +70,9 @@ tolerations: [] 300 | 301 | affinity: {} 302 | 303 | +statefulSet: 304 | + annotations: {} 305 | + 306 | persistence: 307 | enabled: true 308 | ## Persistent Volume Storage Class 309 | ``` 310 | 311 | ## 0.1.4 312 | 313 | **Release date:** 2020-10-28 314 | 315 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 316 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 317 | 318 | 319 | * alertmanager: add maintainer (#276) 320 | 321 | ### Default value changes 322 | 323 | ```diff 324 | # No changes in this release 325 | ``` 326 | 327 | ## 0.1.3 328 | 329 | **Release date:** 2020-10-21 330 | 331 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 332 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 333 | 334 | 335 | * [alertmanager] Add support change default config (#240) 336 | 337 | ### Default value changes 338 | 339 | ```diff 340 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 341 | index 6f4a487..70e9a7d 100644 342 | --- a/charts/alertmanager/values.yaml 343 | +++ b/charts/alertmanager/values.yaml 344 | @@ -10,6 +10,8 @@ image: 345 | # Overrides the image tag whose default is the chart appVersion. 346 | tag: "" 347 | 348 | +extraArgs: {} 349 | + 350 | imagePullSecrets: [] 351 | nameOverride: "" 352 | fullnameOverride: "" 353 | ``` 354 | 355 | ## 0.1.2 356 | 357 | **Release date:** 2020-10-20 358 | 359 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 360 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 361 | 362 | 363 | * Fix alertmanager statefulset template (#236) 364 | 365 | ### Default value changes 366 | 367 | ```diff 368 | # No changes in this release 369 | ``` 370 | 371 | ## 0.1.1 372 | 373 | **Release date:** 2020-10-02 374 | 375 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 376 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 377 | 378 | 379 | * [alertmanager ]fix persistence (#174) 380 | 381 | ### Default value changes 382 | 383 | ```diff 384 | diff --git a/charts/alertmanager/values.yaml b/charts/alertmanager/values.yaml 385 | index b8dac66..6f4a487 100644 386 | --- a/charts/alertmanager/values.yaml 387 | +++ b/charts/alertmanager/values.yaml 388 | @@ -69,7 +69,7 @@ tolerations: [] 389 | affinity: {} 390 | 391 | persistence: 392 | - enabled: false 393 | + enabled: true 394 | ## Persistent Volume Storage Class 395 | ## If defined, storageClassName: 396 | ## If set to "-", storageClassName: "", which disables dynamic provisioning 397 | @@ -79,7 +79,7 @@ persistence: 398 | # storageClass: "-" 399 | accessModes: 400 | - ReadWriteOnce 401 | - size: 1Gi 402 | + size: 50Mi 403 | 404 | config: 405 | global: {} 406 | ``` 407 | 408 | ## 0.1.0 409 | 410 | **Release date:** 2020-09-27 411 | 412 | ![AppVersion: v0.21.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.21.0&color=success&logo=) 413 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 414 | 415 | 416 | * [alertmanager] add new chart (#64) 417 | 418 | ### Default value changes 419 | 420 | ```diff 421 | # Default values for alertmanager. 422 | # This is a YAML-formatted file. 423 | # Declare variables to be passed into your templates. 424 | 425 | replicaCount: 1 426 | 427 | image: 428 | repository: prom/alertmanager 429 | pullPolicy: IfNotPresent 430 | # Overrides the image tag whose default is the chart appVersion. 431 | tag: "" 432 | 433 | imagePullSecrets: [] 434 | nameOverride: "" 435 | fullnameOverride: "" 436 | 437 | serviceAccount: 438 | # Specifies whether a service account should be created 439 | create: true 440 | # Annotations to add to the service account 441 | annotations: {} 442 | # The name of the service account to use. 443 | # If not set and create is true, a name is generated using the fullname template 444 | name: 445 | 446 | podSecurityContext: 447 | fsGroup: 65534 448 | 449 | securityContext: 450 | # capabilities: 451 | # drop: 452 | # - ALL 453 | # readOnlyRootFilesystem: true 454 | runAsUser: 65534 455 | runAsNonRoot: true 456 | runAsGroup: 65534 457 | 458 | service: 459 | type: ClusterIP 460 | port: 9093 461 | 462 | ingress: 463 | enabled: false 464 | annotations: {} 465 | hosts: 466 | - host: alertmanager.domain.com 467 | paths: [] 468 | tls: [] 469 | # - secretName: chart-example-tls 470 | # hosts: 471 | # - alertmanager.domain.com 472 | 473 | resources: {} 474 | # We usually recommend not to specify default resources and to leave this as a conscious 475 | # choice for the user. This also increases chances charts run on environments with little 476 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 477 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 478 | # limits: 479 | # cpu: 100m 480 | # memory: 128Mi 481 | # requests: 482 | # cpu: 10m 483 | # memory: 32Mi 484 | 485 | nodeSelector: {} 486 | 487 | tolerations: [] 488 | 489 | affinity: {} 490 | 491 | persistence: 492 | enabled: false 493 | ## Persistent Volume Storage Class 494 | ## If defined, storageClassName: 495 | ## If set to "-", storageClassName: "", which disables dynamic provisioning 496 | ## If undefined (the default) or set to null, no storageClassName spec is 497 | ## set, choosing the default provisioner. 498 | ## 499 | # storageClass: "-" 500 | accessModes: 501 | - ReadWriteOnce 502 | size: 1Gi 503 | 504 | config: 505 | global: {} 506 | # slack_api_url: '' 507 | 508 | receivers: 509 | - name: default-receiver 510 | # slack_configs: 511 | # - channel: '@you' 512 | # send_resolved: true 513 | 514 | route: 515 | group_wait: 10s 516 | group_interval: 5m 517 | receiver: default-receiver 518 | repeat_interval: 3h 519 | ``` 520 | 521 | --- 522 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 523 | -------------------------------------------------------------------------------- /examples/prometheus-consul-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.4.0 4 | 5 | **Release date:** 2020-12-02 6 | 7 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * add service monitor for consul exporter (#439) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-consul-exporter/values.yaml b/charts/prometheus-consul-exporter/values.yaml 18 | index 868a750..22cad25 100644 19 | --- a/charts/prometheus-consul-exporter/values.yaml 20 | +++ b/charts/prometheus-consul-exporter/values.yaml 21 | @@ -62,6 +62,23 @@ resources: {} 22 | # cpu: 100m 23 | # memory: 128Mi 24 | 25 | +serviceMonitor: 26 | + # When set true then use a ServiceMonitor to configure scraping 27 | + enabled: false 28 | + # Set the namespace the ServiceMonitor should be deployed 29 | + # namespace: monitoring 30 | + # Set how frequently Prometheus should scrape 31 | + # interval: 30s 32 | + # Set path to consul-exporter telemtery-path 33 | + # telemetryPath: /metrics 34 | + # Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator 35 | + # labels: 36 | + # Set timeout for scrape 37 | + # timeout: 10s 38 | + # Set of labels to transfer on the Kubernetes Service onto the target. 39 | + # targetLabels: [] 40 | + # metricRelabelings: [] 41 | + 42 | nodeSelector: {} 43 | 44 | tolerations: [] 45 | ``` 46 | 47 | ## 0.3.0 48 | 49 | **Release date:** 2020-11-18 50 | 51 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 52 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 53 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 54 | 55 | 56 | * feat(prometheus-consul-exporter): add configurable apiVersion (#383) 57 | 58 | ### Default value changes 59 | 60 | ```diff 61 | # No changes in this release 62 | ``` 63 | 64 | ## 0.2.0 65 | 66 | **Release date:** 2020-10-04 67 | 68 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 69 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 70 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 71 | 72 | 73 | * [prometheus-consul-exporter] Support extra containers, environment variables and volumes (#162) 74 | 75 | ### Default value changes 76 | 77 | ```diff 78 | diff --git a/charts/prometheus-consul-exporter/values.yaml b/charts/prometheus-consul-exporter/values.yaml 79 | index 0a8939f..868a750 100644 80 | --- a/charts/prometheus-consul-exporter/values.yaml 81 | +++ b/charts/prometheus-consul-exporter/values.yaml 82 | @@ -67,3 +67,23 @@ nodeSelector: {} 83 | tolerations: [] 84 | 85 | affinity: {} 86 | + 87 | +# Extra environment variables 88 | +extraEnv: [] 89 | + 90 | +# Init Containers for Exporter Pod 91 | +initContainers: [] 92 | + 93 | +# Extra containers for the exporter pod 94 | +extraContainers: [] 95 | + 96 | +# Extra Volumes for the pod 97 | +extraVolumes: [] 98 | +# - name: example 99 | +# configMap: 100 | +# name: example 101 | + 102 | +# Extra Volume Mounts for the exporter container 103 | +extraVolumeMounts: [] 104 | +# - name: example 105 | +# mountPath: /example 106 | ``` 107 | 108 | ## 0.1.7 109 | 110 | **Release date:** 2020-09-07 111 | 112 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 113 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 114 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 115 | 116 | 117 | * [prometheus-consul-exporter] add gkarthiks as additional maintainers (#50) 118 | 119 | ### Default value changes 120 | 121 | ```diff 122 | # No changes in this release 123 | ``` 124 | 125 | ## 0.1.6 126 | 127 | **Release date:** 2020-08-20 128 | 129 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 130 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 131 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 132 | 133 | 134 | * Prep initial charts indexing (#14) 135 | 136 | ### Default value changes 137 | 138 | ```diff 139 | # No changes in this release 140 | ``` 141 | 142 | ## 0.1.5 143 | 144 | **Release date:** 2020-07-18 145 | 146 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 147 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 148 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 149 | 150 | 151 | * [stable/prometheus-consul-exporter] Fix PSP apiVersion (#22834) 152 | 153 | ### Default value changes 154 | 155 | ```diff 156 | # No changes in this release 157 | ``` 158 | 159 | ## 0.1.4 160 | 161 | **Release date:** 2019-06-28 162 | 163 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 164 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 165 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 166 | 167 | 168 | * [stable/prometheus-consul-exporter] 14589: Bugfix to support boolean flags in prometheus-consul-exporter (#14694) 169 | 170 | ### Default value changes 171 | 172 | ```diff 173 | diff --git a/charts/prometheus-consul-exporter/values.yaml b/charts/prometheus-consul-exporter/values.yaml 174 | index e4e87ac..0a8939f 100644 175 | --- a/charts/prometheus-consul-exporter/values.yaml 176 | +++ b/charts/prometheus-consul-exporter/values.yaml 177 | @@ -29,6 +29,8 @@ consulServer: host:port 178 | 179 | # Flags - for a list visit https://github.com/prometheus/consul_exporter#flags 180 | options: {} 181 | + # no-consul.health-summary: 182 | + # kv.filter=foobar 183 | 184 | service: 185 | type: ClusterIP 186 | ``` 187 | 188 | ## 0.1.3 189 | 190 | **Release date:** 2019-03-18 191 | 192 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 193 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 194 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 195 | 196 | 197 | * Add possibility to disable apparmor podsecuritypolicy annotations. (#11934) 198 | 199 | ### Default value changes 200 | 201 | ```diff 202 | diff --git a/charts/prometheus-consul-exporter/values.yaml b/charts/prometheus-consul-exporter/values.yaml 203 | index 72049c6..e4e87ac 100644 204 | --- a/charts/prometheus-consul-exporter/values.yaml 205 | +++ b/charts/prometheus-consul-exporter/values.yaml 206 | @@ -8,6 +8,7 @@ rbac: 207 | # Specifies whether RBAC resources should be created 208 | create: true 209 | pspEnabled: true 210 | + pspUseAppArmor: true 211 | serviceAccount: 212 | # Specifies whether a ServiceAccount should be created 213 | create: true 214 | ``` 215 | 216 | ## 0.1.2 217 | 218 | **Release date:** 2018-12-18 219 | 220 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 221 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 222 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 223 | 224 | 225 | * [stable/prometheus-consul-exporter] Fix service selector (#9958) 226 | 227 | ### Default value changes 228 | 229 | ```diff 230 | # No changes in this release 231 | ``` 232 | 233 | ## 0.1.1 234 | 235 | **Release date:** 2018-12-13 236 | 237 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 238 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 239 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 240 | 241 | 242 | * Add service annotations for prometheus-consul-exporter (#9882) 243 | 244 | ### Default value changes 245 | 246 | ```diff 247 | # No changes in this release 248 | ``` 249 | 250 | ## 0.1.0 251 | 252 | **Release date:** 2018-12-07 253 | 254 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 255 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 256 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 257 | 258 | 259 | * Add chart for consul-exporter (#9686) 260 | 261 | ### Default value changes 262 | 263 | ```diff 264 | # Default values for consul-exporter. 265 | # This is a YAML-formatted file. 266 | # Declare variables to be passed into your templates. 267 | 268 | replicaCount: 1 269 | 270 | rbac: 271 | # Specifies whether RBAC resources should be created 272 | create: true 273 | pspEnabled: true 274 | serviceAccount: 275 | # Specifies whether a ServiceAccount should be created 276 | create: true 277 | # The name of the ServiceAccount to use. 278 | # If not set and create is true, a name is generated using the fullname template 279 | name: 280 | 281 | image: 282 | repository: prom/consul-exporter 283 | tag: v0.4.0 284 | pullPolicy: IfNotPresent 285 | 286 | nameOverride: "" 287 | fullnameOverride: "" 288 | 289 | # Add your consul server details here 290 | consulServer: host:port 291 | 292 | # Flags - for a list visit https://github.com/prometheus/consul_exporter#flags 293 | options: {} 294 | 295 | service: 296 | type: ClusterIP 297 | port: 9107 298 | annotations: {} 299 | 300 | ingress: 301 | enabled: false 302 | annotations: {} 303 | # kubernetes.io/ingress.class: nginx 304 | # kubernetes.io/tls-acme: "true" 305 | path: / 306 | hosts: 307 | - chart-example.local 308 | tls: [] 309 | # - secretName: chart-example-tls 310 | # hosts: 311 | # - chart-example.local 312 | 313 | resources: {} 314 | # We usually recommend not to specify default resources and to leave this as a conscious 315 | # choice for the user. This also increases chances charts run on environments with little 316 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 317 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 318 | # limits: 319 | # cpu: 100m 320 | # memory: 128Mi 321 | # requests: 322 | # cpu: 100m 323 | # memory: 128Mi 324 | 325 | nodeSelector: {} 326 | 327 | tolerations: [] 328 | 329 | affinity: {} 330 | ``` 331 | 332 | --- 333 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 334 | -------------------------------------------------------------------------------- /examples/prometheus-couchdb-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.2.0 4 | 5 | **Release date:** 2020-11-18 6 | 7 | ![AppVersion: 1.0](https://img.shields.io/static/v1?label=AppVersion&message=1.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * feat(prometheus-couchdb-exporter): add configurable apiVersion (#384) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | # No changes in this release 18 | ``` 19 | 20 | ## 0.1.3 21 | 22 | **Release date:** 2020-11-06 23 | 24 | ![AppVersion: 1.0](https://img.shields.io/static/v1?label=AppVersion&message=1.0&color=success&logo=) 25 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 26 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 27 | 28 | 29 | * charts/prometheus-couchdb-exporter: fix typos (#316) 30 | 31 | ### Default value changes 32 | 33 | ```diff 34 | diff --git a/charts/prometheus-couchdb-exporter/values.yaml b/charts/prometheus-couchdb-exporter/values.yaml 35 | index 773a7dd..9a575e9 100644 36 | --- a/charts/prometheus-couchdb-exporter/values.yaml 37 | +++ b/charts/prometheus-couchdb-exporter/values.yaml 38 | @@ -56,11 +56,11 @@ tolerations: [] 39 | 40 | affinity: {} 41 | 42 | -## CouchDB exporter configuratons 43 | +## CouchDB exporter configurations 44 | couchdb: 45 | - ## URI ofthe couchdb instance 46 | + ## URI of the couchdb instance 47 | uri: http://couchdb.default.svc:5984 48 | - ## Specify the list of databases to get the disk usage stats as comma seperates like "db-1,db-2" 49 | + ## Specify the list of databases to get the disk usage stats as comma separates like "db-1,db-2" 50 | ## or to get stats for every database, please use "_all_dbs" 51 | databases: _all_dbs 52 | ## CouchDB username 53 | ``` 54 | 55 | ## 0.1.2 56 | 57 | **Release date:** 2020-08-20 58 | 59 | ![AppVersion: 1.0](https://img.shields.io/static/v1?label=AppVersion&message=1.0&color=success&logo=) 60 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 61 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 62 | 63 | 64 | * Prep initial charts indexing (#14) 65 | 66 | ### Default value changes 67 | 68 | ```diff 69 | # No changes in this release 70 | ``` 71 | 72 | ## 0.1.1 73 | 74 | **Release date:** 2019-06-18 75 | 76 | ![AppVersion: 1.0](https://img.shields.io/static/v1?label=AppVersion&message=1.0&color=success&logo=) 77 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 78 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 79 | 80 | 81 | * Run couchdb-exporter with username and password (#14704) 82 | 83 | ### Default value changes 84 | 85 | ```diff 86 | # No changes in this release 87 | ``` 88 | 89 | ## 0.1.0 90 | 91 | **Release date:** 2018-10-04 92 | 93 | ![AppVersion: 1.0](https://img.shields.io/static/v1?label=AppVersion&message=1.0&color=success&logo=) 94 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 95 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 96 | 97 | 98 | * adding chart for prometheus-couchdb-exporters (#7494) 99 | 100 | ### Default value changes 101 | 102 | ```diff 103 | # Default values for prometheus-couchdb-exporter. 104 | # This is a YAML-formatted file. 105 | # Declare variables to be passed into your templates. 106 | 107 | rbac: 108 | # Specifies whether RBAC resources should be created 109 | create: true 110 | # Specifies whether a PodSecurityPolicy should be created 111 | pspEnabled: true 112 | serviceAccount: 113 | # Specifies whether a ServiceAccount should be created 114 | create: true 115 | # The name of the ServiceAccount to use. 116 | # If not set and create is true, a name is generated using the fullname template 117 | name: 118 | 119 | replicaCount: 1 120 | 121 | image: 122 | repository: gesellix/couchdb-prometheus-exporter 123 | tag: 16 124 | pullPolicy: IfNotPresent 125 | 126 | service: 127 | type: ClusterIP 128 | port: 9984 129 | 130 | ingress: 131 | enabled: false 132 | annotations: {} 133 | # kubernetes.io/ingress.class: nginx 134 | # kubernetes.io/tls-acme: "true" 135 | path: / 136 | hosts: 137 | # - chart-example.local 138 | tls: [] 139 | # - secretName: chart-example-tls 140 | # hosts: 141 | # - chart-example.local 142 | 143 | resources: {} 144 | # We usually recommend not to specify default resources and to leave this as a conscious 145 | # choice for the user. This also increases chances charts run on environments with little 146 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 147 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 148 | # limits: 149 | # cpu: 100m 150 | # memory: 128Mi 151 | # requests: 152 | # cpu: 100m 153 | # memory: 128Mi 154 | 155 | nodeSelector: {} 156 | 157 | tolerations: [] 158 | 159 | affinity: {} 160 | 161 | ## CouchDB exporter configuratons 162 | couchdb: 163 | ## URI ofthe couchdb instance 164 | uri: http://couchdb.default.svc:5984 165 | ## Specify the list of databases to get the disk usage stats as comma seperates like "db-1,db-2" 166 | ## or to get stats for every database, please use "_all_dbs" 167 | databases: _all_dbs 168 | ## CouchDB username 169 | # username: 170 | ## CouchDB Password 171 | # password: 172 | ``` 173 | 174 | --- 175 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 176 | -------------------------------------------------------------------------------- /examples/prometheus-druid-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.9.0 4 | 5 | **Release date:** 2020-11-22 6 | 7 | ![AppVersion: v0.8.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.8.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * [prometheus-druid-exporter] support podAnnotations (#306) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-druid-exporter/values.yaml b/charts/prometheus-druid-exporter/values.yaml 18 | index 2d70aca..486098a 100644 19 | --- a/charts/prometheus-druid-exporter/values.yaml 20 | +++ b/charts/prometheus-druid-exporter/values.yaml 21 | @@ -8,6 +8,8 @@ image: 22 | 23 | annotations: {} 24 | 25 | +podAnnotations: {} 26 | + 27 | druidURL: http://druid.opstreelabs.in 28 | logLevel: info 29 | logFormat: json 30 | ``` 31 | 32 | ## 0.8.1 33 | 34 | **Release date:** 2020-10-24 35 | 36 | ![AppVersion: v0.8.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.8.0&color=success&logo=) 37 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 38 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 39 | 40 | 41 | * if not enable serviceMonitor, it will auto add annotations to yaml (#254) 42 | 43 | ### Default value changes 44 | 45 | ```diff 46 | # No changes in this release 47 | ``` 48 | 49 | ## 0.8.0 50 | 51 | **Release date:** 2020-10-12 52 | 53 | ![AppVersion: v0.8.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.8.0&color=success&logo=) 54 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 55 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 56 | 57 | 58 | * [prometheus-druid-exporter] Added druid exporter (#114) 59 | 60 | ### Default value changes 61 | 62 | ```diff 63 | --- 64 | name: druid-exporter 65 | 66 | image: 67 | name: quay.io/opstree/druid-exporter 68 | tag: v0.8 69 | pullPolicy: IfNotPresent 70 | 71 | annotations: {} 72 | 73 | druidURL: http://druid.opstreelabs.in 74 | logLevel: info 75 | logFormat: json 76 | 77 | exporterPort: 8080 78 | 79 | serviceAccount: 80 | create: true 81 | 82 | serviceType: ClusterIP 83 | 84 | serviceMonitor: 85 | enabled: false 86 | namespace: monitoring 87 | interval: 30s 88 | scrapeTimeout: 10s 89 | additionalLabels: {} 90 | targetLabels: [] 91 | ``` 92 | 93 | --- 94 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 95 | -------------------------------------------------------------------------------- /examples/prometheus-kafka-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 1.0.0 4 | 5 | **Release date:** 2021-01-24 6 | 7 | ![AppVersion: v1.2.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.2.0&color=success&logo=) 8 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 9 | 10 | 11 | * [prometheus-kafka-exporter] Use helm test hooks (#498) 12 | 13 | ### Default value changes 14 | 15 | ```diff 16 | diff --git a/charts/prometheus-kafka-exporter/values.yaml b/charts/prometheus-kafka-exporter/values.yaml 17 | index f238a90..cb81089 100644 18 | --- a/charts/prometheus-kafka-exporter/values.yaml 19 | +++ b/charts/prometheus-kafka-exporter/values.yaml 20 | @@ -1,8 +1,19 @@ 21 | +image: 22 | + repository: danielqsj/kafka-exporter 23 | + tag: latest 24 | + pullPolicy: IfNotPresent 25 | + 26 | +replicaCount: 1 27 | + 28 | +kafkaServer: 29 | + - kafka-server:9092 30 | + 31 | rbac: 32 | # Specifies whether RBAC resources should be created 33 | create: true 34 | # Specifies whether a PodSecurityPolicy should be created 35 | pspEnabled: true 36 | + 37 | serviceAccount: 38 | # Specifies whether a ServiceAccount should be created 39 | create: true 40 | @@ -10,15 +21,6 @@ serviceAccount: 41 | # If not set and create is true, a name is generated using the fullname template 42 | name: 43 | 44 | -replicaCount: 1 45 | -image: 46 | - repository: danielqsj/kafka-exporter 47 | - tag: latest 48 | - pullPolicy: IfNotPresent 49 | - 50 | -kafkaServer: 51 | - - kafka-server:9092 52 | - 53 | env: [] 54 | 55 | service: 56 | @@ -32,6 +34,7 @@ liveness: 57 | httpGet: 58 | path: / 59 | port: exporter-port 60 | + 61 | readiness: 62 | enabled: false 63 | probe: 64 | @@ -79,3 +82,8 @@ tls: 65 | enabled: false 66 | # mountPath: /secret/certs 67 | # secretName: 68 | + 69 | +# If enabled Kafka dependency chart will be used. 70 | +# This is only needed for the CI job so it should always be disabled. 71 | +kafka: 72 | + enabled: false 73 | ``` 74 | 75 | ## 0.2.1 76 | 77 | **Release date:** 2021-01-20 78 | 79 | ![AppVersion: v1.2.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.2.0&color=success&logo=) 80 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 81 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 82 | 83 | 84 | * Add environment variables for prometheus-kafka-exporter (#601) 85 | 86 | ### Default value changes 87 | 88 | ```diff 89 | diff --git a/charts/prometheus-kafka-exporter/values.yaml b/charts/prometheus-kafka-exporter/values.yaml 90 | index d15a735..f238a90 100644 91 | --- a/charts/prometheus-kafka-exporter/values.yaml 92 | +++ b/charts/prometheus-kafka-exporter/values.yaml 93 | @@ -19,6 +19,8 @@ image: 94 | kafkaServer: 95 | - kafka-server:9092 96 | 97 | +env: [] 98 | + 99 | service: 100 | type: ClusterIP 101 | port: 9308 102 | ``` 103 | 104 | ## 0.2.0 105 | 106 | **Release date:** 2020-11-18 107 | 108 | ![AppVersion: v1.2.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.2.0&color=success&logo=) 109 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 110 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 111 | 112 | 113 | * feat(prometheus-kafka-exporter): add configurable apiVersion (#385) 114 | 115 | ### Default value changes 116 | 117 | ```diff 118 | # No changes in this release 119 | ``` 120 | 121 | ## 0.1.5 122 | 123 | **Release date:** 2020-11-18 124 | 125 | ![AppVersion: v1.2.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.2.0&color=success&logo=) 126 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 127 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 128 | 129 | 130 | * [prometheus-kafka-exporter] Servicemonitor is not able to find endpoints for kafka-exporter target (shows 0/0 up) #343 (#374) 131 | 132 | ### Default value changes 133 | 134 | ```diff 135 | diff --git a/charts/prometheus-kafka-exporter/values.yaml b/charts/prometheus-kafka-exporter/values.yaml 136 | index b4a72e0..d15a735 100644 137 | --- a/charts/prometheus-kafka-exporter/values.yaml 138 | +++ b/charts/prometheus-kafka-exporter/values.yaml 139 | @@ -42,6 +42,12 @@ prometheus: 140 | enabled: false 141 | namespace: monitoring 142 | interval: "30s" 143 | + # If serviceMonitor is enabled and you want prometheus to automatically register 144 | + # target using serviceMonitor, add additionalLabels with prometheus release name 145 | + # e.g. If you have deployed kube-prometheus-stack with release name kube-prometheus 146 | + # then additionalLabels will be 147 | + # additionalLabels: 148 | + # release: kube-prometheus 149 | additionalLabels: {} 150 | 151 | resources: {} 152 | ``` 153 | 154 | ## 0.1.4 155 | 156 | **Release date:** 2020-10-18 157 | 158 | ![AppVersion: v1.2.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.2.0&color=success&logo=) 159 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 160 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 161 | 162 | 163 | * [prometheus-kafka-exporter] new chart donation (#216) 164 | 165 | ### Default value changes 166 | 167 | ```diff 168 | rbac: 169 | # Specifies whether RBAC resources should be created 170 | create: true 171 | # Specifies whether a PodSecurityPolicy should be created 172 | pspEnabled: true 173 | serviceAccount: 174 | # Specifies whether a ServiceAccount should be created 175 | create: true 176 | # The name of the ServiceAccount to use. 177 | # If not set and create is true, a name is generated using the fullname template 178 | name: 179 | 180 | replicaCount: 1 181 | image: 182 | repository: danielqsj/kafka-exporter 183 | tag: latest 184 | pullPolicy: IfNotPresent 185 | 186 | kafkaServer: 187 | - kafka-server:9092 188 | 189 | service: 190 | type: ClusterIP 191 | port: 9308 192 | annotations: {} 193 | 194 | liveness: 195 | enabled: false 196 | probe: 197 | httpGet: 198 | path: / 199 | port: exporter-port 200 | readiness: 201 | enabled: false 202 | probe: 203 | httpGet: 204 | path: / 205 | port: exporter-port 206 | 207 | prometheus: 208 | serviceMonitor: 209 | enabled: false 210 | namespace: monitoring 211 | interval: "30s" 212 | additionalLabels: {} 213 | 214 | resources: {} 215 | # We usually recommend not to specify default resources and to leave this as a conscious 216 | # choice for the user. This also increases chances charts run on environments with little 217 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 218 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 219 | # limits: 220 | # cpu: 100m 221 | # memory: 128Mi 222 | # requests: 223 | # cpu: 100m 224 | # memory: 128Mi 225 | 226 | nodeSelector: {} 227 | 228 | tolerations: [] 229 | 230 | affinity: {} 231 | 232 | # this allows the usage of tls connection to your kafka cluster based on a secret in tls format 233 | # mandatory keys: 234 | # ca.crt 235 | # tls.crt 236 | # tls.key 237 | tls: 238 | enabled: false 239 | # mountPath: /secret/certs 240 | # secretName: 241 | ``` 242 | 243 | --- 244 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 245 | -------------------------------------------------------------------------------- /examples/prometheus-mongodb-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 2.8.1 4 | 5 | **Release date:** 2020-08-20 6 | 7 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * Prep initial charts indexing (#14) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | # No changes in this release 18 | ``` 19 | 20 | ## 2.8.0 21 | 22 | **Release date:** 2020-07-28 23 | 24 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 25 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 26 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 27 | 28 | 29 | * [stable/prometheus-mongodb-exporter] Add ServiceMonitor metricRelabelings (#23290) 30 | 31 | ### Default value changes 32 | 33 | ```diff 34 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 35 | index 32fc30a..446e2a0 100644 36 | --- a/charts/prometheus-mongodb-exporter/values.yaml 37 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 38 | @@ -93,5 +93,6 @@ serviceMonitor: 39 | namespace: 40 | additionalLabels: {} 41 | targetLabels: [] 42 | + metricRelabelings: [] 43 | 44 | tolerations: [] 45 | ``` 46 | 47 | ## 2.7.0 48 | 49 | **Release date:** 2020-07-20 50 | 51 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 52 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 53 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 54 | 55 | 56 | * Possibility to also add a custom key in the secret (#23262) 57 | 58 | ### Default value changes 59 | 60 | ```diff 61 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 62 | index 90b7eb0..32fc30a 100644 63 | --- a/charts/prometheus-mongodb-exporter/values.yaml 64 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 65 | @@ -32,6 +32,7 @@ mongodb: 66 | # If this is provided, the value mongodb.uri is ignored. 67 | existingSecret: 68 | name: "" 69 | + key: "mongodb-uri" 70 | 71 | nameOverride: "" 72 | 73 | ``` 74 | 75 | ## 2.6.0 76 | 77 | **Release date:** 2020-07-08 78 | 79 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 80 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 81 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 82 | 83 | 84 | * [stable/prometheus-mongodb-exporter] Add serviceMonitor targetLabels and service labels (#22952) 85 | 86 | ### Default value changes 87 | 88 | ```diff 89 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 90 | index e7baf98..90b7eb0 100644 91 | --- a/charts/prometheus-mongodb-exporter/values.yaml 92 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 93 | @@ -74,6 +74,7 @@ securityContext: 94 | runAsUser: 10000 95 | 96 | service: 97 | + labels: {} 98 | annotations: {} 99 | port: 9216 100 | type: ClusterIP 101 | @@ -90,5 +91,6 @@ serviceMonitor: 102 | scrapeTimeout: 10s 103 | namespace: 104 | additionalLabels: {} 105 | + targetLabels: [] 106 | 107 | tolerations: [] 108 | ``` 109 | 110 | ## 2.5.0 111 | 112 | **Release date:** 2020-04-25 113 | 114 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 115 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 116 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 117 | 118 | 119 | * Provide the possibility for referring to an existing secret to use the MongoDB URI from (#21931) 120 | 121 | ### Default value changes 122 | 123 | ```diff 124 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 125 | index 5fbd393..e7baf98 100644 126 | --- a/charts/prometheus-mongodb-exporter/values.yaml 127 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 128 | @@ -24,9 +24,14 @@ livenessProbe: 129 | port: metrics 130 | initialDelaySeconds: 10 131 | 132 | -# [mongodb://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options] 133 | +# [mongodb[+srv]://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options] 134 | mongodb: 135 | - uri: 136 | + uri: "" 137 | + 138 | +# Name of an externally managed secret (in the same namespace) containing the connection uri as key `mongodb-uri`. 139 | +# If this is provided, the value mongodb.uri is ignored. 140 | +existingSecret: 141 | + name: "" 142 | 143 | nameOverride: "" 144 | 145 | ``` 146 | 147 | ## 2.4.0 148 | 149 | **Release date:** 2019-11-12 150 | 151 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 152 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 153 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 154 | 155 | 156 | * chore(prometheus-mongodb-exporter): version bump percona mongdb exporter (#18388) 157 | 158 | ### Default value changes 159 | 160 | ```diff 161 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 162 | index 0f2910d..5fbd393 100644 163 | --- a/charts/prometheus-mongodb-exporter/values.yaml 164 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 165 | @@ -7,13 +7,14 @@ extraArgs: 166 | - --collect.database 167 | - --collect.indexusage 168 | - --collect.topmetrics 169 | +- --collect.connpoolstats 170 | 171 | fullnameOverride: "" 172 | 173 | image: 174 | pullPolicy: IfNotPresent 175 | repository: ssheehy/mongodb-exporter 176 | - tag: 0.7.0 177 | + tag: 0.10.0 178 | 179 | imagePullSecrets: [] 180 | 181 | ``` 182 | 183 | ## 2.3.0 184 | 185 | **Release date:** 2019-09-27 186 | 187 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 188 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 189 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 190 | 191 | 192 | * [stable/promethus-mongodb-exporter] Customize serviceAccountName for mongodb-exporter deployment (#17133) 193 | 194 | ### Default value changes 195 | 196 | ```diff 197 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 198 | index 431746b..0f2910d 100644 199 | --- a/charts/prometheus-mongodb-exporter/values.yaml 200 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 201 | @@ -72,6 +72,12 @@ service: 202 | port: 9216 203 | type: ClusterIP 204 | 205 | +serviceAccount: 206 | + create: true 207 | + # If create is true and name is not set, then a name is generated using the 208 | + # fullname template. 209 | + name: 210 | + 211 | serviceMonitor: 212 | enabled: true 213 | interval: 30s 214 | ``` 215 | 216 | ## 2.2.1 217 | 218 | **Release date:** 2019-09-04 219 | 220 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 221 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 222 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 223 | 224 | 225 | * Redeploy pods on config changes. (#16835) 226 | 227 | ### Default value changes 228 | 229 | ```diff 230 | # No changes in this release 231 | ``` 232 | 233 | ## 2.2.0 234 | 235 | **Release date:** 2019-07-30 236 | 237 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 238 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 239 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 240 | 241 | 242 | * [stable/prometheus-mongodb-exporter] Add Service object for ServiceMonitor to work properly (#15218) 243 | 244 | ### Default value changes 245 | 246 | ```diff 247 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 248 | index 5b58202..431746b 100644 249 | --- a/charts/prometheus-mongodb-exporter/values.yaml 250 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 251 | @@ -67,6 +67,11 @@ securityContext: 252 | runAsNonRoot: true 253 | runAsUser: 10000 254 | 255 | +service: 256 | + annotations: {} 257 | + port: 9216 258 | + type: ClusterIP 259 | + 260 | serviceMonitor: 261 | enabled: true 262 | interval: 30s 263 | ``` 264 | 265 | ## 2.1.0 266 | 267 | **Release date:** 2019-05-17 268 | 269 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 270 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 271 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 272 | 273 | 274 | * [stable/prometheus-mongodb-exporter] Add MONGODB_URI env variable secret (#13959) 275 | 276 | ### Default value changes 277 | 278 | ```diff 279 | # No changes in this release 280 | ``` 281 | 282 | ## 2.0.1 283 | 284 | **Release date:** 2019-05-14 285 | 286 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 287 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 288 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 289 | 290 | 291 | * [stable/prometheus-mongodb-exporter] Fix mongodb-exporter default values (#13756) 292 | 293 | ### Default value changes 294 | 295 | ```diff 296 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 297 | index d3449a5..5b58202 100644 298 | --- a/charts/prometheus-mongodb-exporter/values.yaml 299 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 300 | @@ -49,10 +49,10 @@ replicas: 1 301 | 302 | resources: {} 303 | # limits: 304 | -# cpu: 250mm 305 | +# cpu: 250m 306 | # memory: 192Mi 307 | # requests: 308 | -# cpu: 100mm 309 | +# cpu: 100m 310 | # memory: 128Mi 311 | 312 | # Extra environment variables that will be passed into the exporter pod 313 | ``` 314 | 315 | ## 2.0.0 316 | 317 | **Release date:** 2019-04-25 318 | 319 | ![AppVersion: v0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.7.0&color=success&logo=) 320 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 321 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 322 | 323 | 324 | * [stable/prometheus-mongodb-exporter] Remove service & bump to v0.7.0 (#12796) 325 | 326 | ### Default value changes 327 | 328 | ```diff 329 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 330 | index eb85d06..d3449a5 100644 331 | --- a/charts/prometheus-mongodb-exporter/values.yaml 332 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 333 | @@ -3,17 +3,17 @@ affinity: {} 334 | annotations: {} 335 | 336 | extraArgs: 337 | -- -collect.collection=true 338 | -- -collect.database=true 339 | -- -collect.indexusage=true 340 | -- -collect.topmetrics=true 341 | +- --collect.collection 342 | +- --collect.database 343 | +- --collect.indexusage 344 | +- --collect.topmetrics 345 | 346 | fullnameOverride: "" 347 | 348 | image: 349 | pullPolicy: IfNotPresent 350 | - repository: ssalaues/mongodb-exporter 351 | - tag: 0.6.1 352 | + repository: ssheehy/mongodb-exporter 353 | + tag: 0.7.0 354 | 355 | imagePullSecrets: [] 356 | 357 | @@ -23,7 +23,7 @@ livenessProbe: 358 | port: metrics 359 | initialDelaySeconds: 10 360 | 361 | -# mongodb://metrics-user:password@mongodb:27017 362 | +# [mongodb://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options] 363 | mongodb: 364 | uri: 365 | 366 | @@ -31,6 +31,12 @@ nameOverride: "" 367 | 368 | nodeSelector: {} 369 | 370 | +podAnnotations: {} 371 | +# prometheus.io/scrape: "true" 372 | +# prometheus.io/port: "metrics" 373 | + 374 | +port: "9216" 375 | + 376 | priorityClassName: "" 377 | 378 | readinessProbe: 379 | @@ -57,16 +63,10 @@ securityContext: 380 | capabilities: 381 | drop: ["all"] 382 | readOnlyRootFilesystem: true 383 | + runAsGroup: 10000 384 | runAsNonRoot: true 385 | runAsUser: 10000 386 | 387 | -service: 388 | - annotations: {} 389 | - # prometheus.io/scrape: "true" 390 | - # prometheus.io/port: "9216" 391 | - port: 9216 392 | - type: ClusterIP 393 | - 394 | serviceMonitor: 395 | enabled: true 396 | interval: 30s 397 | ``` 398 | 399 | ## 1.1.1 400 | 401 | **Release date:** 2019-04-15 402 | 403 | ![AppVersion: v0.6.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.6.1&color=success&logo=) 404 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 405 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 406 | 407 | 408 | * adds mongodb prometheus exporter scrape timeout config option (#13063) 409 | 410 | ### Default value changes 411 | 412 | ```diff 413 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 414 | index 7d5bd04..eb85d06 100644 415 | --- a/charts/prometheus-mongodb-exporter/values.yaml 416 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 417 | @@ -70,6 +70,7 @@ service: 418 | serviceMonitor: 419 | enabled: true 420 | interval: 30s 421 | + scrapeTimeout: 10s 422 | namespace: 423 | additionalLabels: {} 424 | 425 | ``` 426 | 427 | ## 1.1.0 428 | 429 | **Release date:** 2019-04-01 430 | 431 | ![AppVersion: v0.6.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.6.1&color=success&logo=) 432 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 433 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 434 | 435 | 436 | * [stable/prometheus-mongodb-exporter] Add envs to deployment template (#12615) 437 | 438 | ### Default value changes 439 | 440 | ```diff 441 | diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml 442 | index f6b5060..7d5bd04 100644 443 | --- a/charts/prometheus-mongodb-exporter/values.yaml 444 | +++ b/charts/prometheus-mongodb-exporter/values.yaml 445 | @@ -49,6 +49,9 @@ resources: {} 446 | # cpu: 100mm 447 | # memory: 128Mi 448 | 449 | +# Extra environment variables that will be passed into the exporter pod 450 | +env: {} 451 | + 452 | securityContext: 453 | allowPrivilegeEscalation: false 454 | capabilities: 455 | ``` 456 | 457 | ## 1.0.0 458 | 459 | **Release date:** 2019-02-08 460 | 461 | ![AppVersion: v0.6.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.6.1&color=success&logo=) 462 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 463 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 464 | 465 | 466 | * [stable/prometheus-mongodb-exporter] Add MongoDB Exporter chart (#10979) 467 | 468 | ### Default value changes 469 | 470 | ```diff 471 | affinity: {} 472 | 473 | annotations: {} 474 | 475 | extraArgs: 476 | - -collect.collection=true 477 | - -collect.database=true 478 | - -collect.indexusage=true 479 | - -collect.topmetrics=true 480 | 481 | fullnameOverride: "" 482 | 483 | image: 484 | pullPolicy: IfNotPresent 485 | repository: ssalaues/mongodb-exporter 486 | tag: 0.6.1 487 | 488 | imagePullSecrets: [] 489 | 490 | livenessProbe: 491 | httpGet: 492 | path: / 493 | port: metrics 494 | initialDelaySeconds: 10 495 | 496 | # mongodb://metrics-user:password@mongodb:27017 497 | mongodb: 498 | uri: 499 | 500 | nameOverride: "" 501 | 502 | nodeSelector: {} 503 | 504 | priorityClassName: "" 505 | 506 | readinessProbe: 507 | httpGet: 508 | path: / 509 | port: metrics 510 | initialDelaySeconds: 10 511 | 512 | replicas: 1 513 | 514 | resources: {} 515 | # limits: 516 | # cpu: 250mm 517 | # memory: 192Mi 518 | # requests: 519 | # cpu: 100mm 520 | # memory: 128Mi 521 | 522 | securityContext: 523 | allowPrivilegeEscalation: false 524 | capabilities: 525 | drop: ["all"] 526 | readOnlyRootFilesystem: true 527 | runAsNonRoot: true 528 | runAsUser: 10000 529 | 530 | service: 531 | annotations: {} 532 | # prometheus.io/scrape: "true" 533 | # prometheus.io/port: "9216" 534 | port: 9216 535 | type: ClusterIP 536 | 537 | serviceMonitor: 538 | enabled: true 539 | interval: 30s 540 | namespace: 541 | additionalLabels: {} 542 | 543 | tolerations: [] 544 | ``` 545 | 546 | --- 547 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 548 | -------------------------------------------------------------------------------- /examples/prometheus-mysql-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 1.1.0 4 | 5 | **Release date:** 2021-02-17 6 | 7 | ![AppVersion: v0.12.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.12.1&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * [prometheus-mysql-exporter] Add securityContext and podSecurityContext (#662) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 18 | index f77038b..c1a3cd7 100644 19 | --- a/charts/prometheus-mysql-exporter/values.yaml 20 | +++ b/charts/prometheus-mysql-exporter/values.yaml 21 | @@ -51,6 +51,18 @@ affinity: {} 22 | 23 | podLabels: {} 24 | 25 | +podSecurityContext: {} 26 | + # fsGroup: 65534 27 | + 28 | +securityContext: {} 29 | + # capabilities: 30 | + # drop: 31 | + # - ALL 32 | + # readOnlyRootFilesystem: true 33 | + # runAsNonRoot: true 34 | + # runAsUser: 65534 35 | + 36 | + 37 | annotations: 38 | prometheus.io/scrape: "true" 39 | prometheus.io/path: "/metrics" 40 | ``` 41 | 42 | ## 1.0.2 43 | 44 | **Release date:** 2021-02-08 45 | 46 | ![AppVersion: v0.12.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.12.1&color=success&logo=) 47 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 48 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 49 | 50 | 51 | * [prometheus-mysql-exporter] fixed link to Prometheus MySQL Exporter repo (#630) 52 | 53 | ### Default value changes 54 | 55 | ```diff 56 | # No changes in this release 57 | ``` 58 | 59 | ## 1.0.1 60 | 61 | **Release date:** 2020-12-08 62 | 63 | ![AppVersion: v0.12.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.12.1&color=success&logo=) 64 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 65 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 66 | 67 | 68 | * fix: use alpine cloudsqlproxy image (#464) 69 | 70 | ### Default value changes 71 | 72 | ```diff 73 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 74 | index 5c0b107..f77038b 100644 75 | --- a/charts/prometheus-mysql-exporter/values.yaml 76 | +++ b/charts/prometheus-mysql-exporter/values.yaml 77 | @@ -109,7 +109,7 @@ cloudsqlproxy: 78 | enabled: false 79 | image: 80 | repo: "gcr.io/cloudsql-docker/gce-proxy" 81 | - tag: "1.16" 82 | + tag: "1.19.1-alpine" 83 | pullPolicy: "IfNotPresent" 84 | instanceConnectionName: "project:us-central1:dbname" 85 | port: "3306" 86 | ``` 87 | 88 | ## 1.0.0 89 | 90 | **Release date:** 2020-10-11 91 | 92 | ![AppVersion: v0.12.1](https://img.shields.io/static/v1?label=AppVersion&message=v0.12.1&color=success&logo=) 93 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 94 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 95 | 96 | 97 | * [prometheus-mysql-exporter] update docker image, readme links & use default labels (#68) 98 | 99 | ### Default value changes 100 | 101 | ```diff 102 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 103 | index b67a829..5c0b107 100644 104 | --- a/charts/prometheus-mysql-exporter/values.yaml 105 | +++ b/charts/prometheus-mysql-exporter/values.yaml 106 | @@ -6,7 +6,7 @@ replicaCount: 1 107 | 108 | image: 109 | repository: "prom/mysqld-exporter" 110 | - tag: "v0.11.0" 111 | + tag: "v0.12.1" 112 | pullPolicy: "IfNotPresent" 113 | 114 | service: 115 | @@ -109,20 +109,20 @@ cloudsqlproxy: 116 | enabled: false 117 | image: 118 | repo: "gcr.io/cloudsql-docker/gce-proxy" 119 | - tag: "1.14" 120 | + tag: "1.16" 121 | pullPolicy: "IfNotPresent" 122 | instanceConnectionName: "project:us-central1:dbname" 123 | port: "3306" 124 | - credentials: 125 | - '{ 126 | - "type": "service_account", 127 | - "project_id": "project", 128 | - "private_key_id": "KEYID1", 129 | - "private_key": "-----BEGIN PRIVATE KEY-----\sdajsdnasd\n-----END PRIVATE KEY-----\n", 130 | - "client_email": "user@project.iam.gserviceaccount.com", 131 | - "client_id": "111111111", 132 | - "auth_uri": "https://accounts.google.com/o/oauth2/auth", 133 | - "token_uri": "https://accounts.google.com/o/oauth2/token", 134 | - "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", 135 | - "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40project.iam.gserviceaccount.com" 136 | - }' 137 | + credentials: "" 138 | + # { 139 | + # "type": "service_account", 140 | + # "project_id": "project", 141 | + # "private_key_id": "KEYID1", 142 | + # "private_key": "-----BEGIN PRIVATE KEY-----\sdajsdnasd\n-----END PRIVATE KEY-----\n", 143 | + # "client_email": "user@project.iam.gserviceaccount.com", 144 | + # "client_id": "111111111", 145 | + # "auth_uri": "https://accounts.google.com/o/oauth2/auth", 146 | + # "token_uri": "https://accounts.google.com/o/oauth2/token", 147 | + # "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", 148 | + # "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40project.iam.gserviceaccount.com" 149 | + # } 150 | ``` 151 | 152 | ## 0.7.1 153 | 154 | **Release date:** 2020-08-20 155 | 156 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 157 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 158 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 159 | 160 | 161 | * Prep initial charts indexing (#14) 162 | 163 | ### Default value changes 164 | 165 | ```diff 166 | # No changes in this release 167 | ``` 168 | 169 | ## 0.7.0 170 | 171 | **Release date:** 2020-07-28 172 | 173 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 174 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 175 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 176 | 177 | 178 | * [stable/prometheus-mysql-exporter] Add ServiceMonitor metricRelabeling (#23352) 179 | 180 | ### Default value changes 181 | 182 | ```diff 183 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 184 | index d308647..b67a829 100644 185 | --- a/charts/prometheus-mysql-exporter/values.yaml 186 | +++ b/charts/prometheus-mysql-exporter/values.yaml 187 | @@ -29,6 +29,7 @@ serviceMonitor: 188 | jobLabel: "" 189 | targetLabels: [] 190 | podTargetLabels: [] 191 | + metricRelabelings: [] 192 | 193 | resources: {} 194 | # We usually recommend not to specify default resources and to leave this as a conscious 195 | ``` 196 | 197 | ## 0.6.0 198 | 199 | **Release date:** 2020-06-29 200 | 201 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 202 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 203 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 204 | 205 | 206 | * [stable/prometheus-mysql-exporter]: Add service labels and annotations (#22986) 207 | 208 | ### Default value changes 209 | 210 | ```diff 211 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 212 | index 9b8afd9..d308647 100644 213 | --- a/charts/prometheus-mysql-exporter/values.yaml 214 | +++ b/charts/prometheus-mysql-exporter/values.yaml 215 | @@ -10,6 +10,8 @@ image: 216 | pullPolicy: "IfNotPresent" 217 | 218 | service: 219 | + labels: {} 220 | + annotations: {} 221 | name: mysql-exporter 222 | type: ClusterIP 223 | externalPort: 9104 224 | ``` 225 | 226 | ## 0.5.3 227 | 228 | **Release date:** 2020-06-04 229 | 230 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 231 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 232 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 233 | 234 | 235 | * [stable/prometheus-mysql-exporter]: fix docs typo (#22674) 236 | 237 | ### Default value changes 238 | 239 | ```diff 240 | # No changes in this release 241 | ``` 242 | 243 | ## 0.5.2 244 | 245 | **Release date:** 2019-10-25 246 | 247 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 248 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 249 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 250 | 251 | 252 | * [mysqld-exporter] Improve Secrets (#18314) 253 | 254 | ### Default value changes 255 | 256 | ```diff 257 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 258 | index 1f2309f..9b8afd9 100644 259 | --- a/charts/prometheus-mysql-exporter/values.yaml 260 | +++ b/charts/prometheus-mysql-exporter/values.yaml 261 | @@ -99,6 +99,7 @@ mysql: 262 | port: 3306 263 | protocol: "" 264 | user: "exporter" 265 | + existingSecret: false 266 | 267 | # cloudsqlproxy https://cloud.google.com/sql/docs/mysql/sql-proxy 268 | cloudsqlproxy: 269 | ``` 270 | 271 | ## 0.5.1 272 | 273 | **Release date:** 2019-07-09 274 | 275 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 276 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 277 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 278 | 279 | 280 | * Mysql exporter managing labels (#15349) 281 | 282 | ### Default value changes 283 | 284 | ```diff 285 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 286 | index d1e48a4..1f2309f 100644 287 | --- a/charts/prometheus-mysql-exporter/values.yaml 288 | +++ b/charts/prometheus-mysql-exporter/values.yaml 289 | @@ -24,6 +24,9 @@ serviceMonitor: 290 | # scrapeTimeout: 10s 291 | # additionalLabels is the set of additional labels to add to the ServiceMonitor 292 | additionalLabels: {} 293 | + jobLabel: "" 294 | + targetLabels: [] 295 | + podTargetLabels: [] 296 | 297 | resources: {} 298 | # We usually recommend not to specify default resources and to leave this as a conscious 299 | ``` 300 | 301 | ## 0.5.0 302 | 303 | **Release date:** 2019-06-23 304 | 305 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 306 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 307 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 308 | 309 | 310 | * feat(stable/prometheus-mysql-exporter): add optional ServiceMonitor (#14600) 311 | 312 | ### Default value changes 313 | 314 | ```diff 315 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 316 | index c044141..d1e48a4 100644 317 | --- a/charts/prometheus-mysql-exporter/values.yaml 318 | +++ b/charts/prometheus-mysql-exporter/values.yaml 319 | @@ -15,6 +15,16 @@ service: 320 | externalPort: 9104 321 | internalPort: 9104 322 | 323 | +serviceMonitor: 324 | + # enabled should be set to true to enable prometheus-operator discovery of this service 325 | + enabled: false 326 | + # interval is the interval at which metrics should be scraped 327 | + # interval: 30s 328 | + # scrapeTimeout is the timeout after which the scrape is ended 329 | + # scrapeTimeout: 10s 330 | + # additionalLabels is the set of additional labels to add to the ServiceMonitor 331 | + additionalLabels: {} 332 | + 333 | resources: {} 334 | # We usually recommend not to specify default resources and to leave this as a conscious 335 | # choice for the user. This also increases chances charts run on environments with little 336 | ``` 337 | 338 | ## 0.4.0 339 | 340 | **Release date:** 2019-06-20 341 | 342 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 343 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 344 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 345 | 346 | 347 | * feat(stable/prometheus-mysql-exporter): store MySQL password in a k8s Secret (#14712) 348 | 349 | ### Default value changes 350 | 351 | ```diff 352 | # No changes in this release 353 | ``` 354 | 355 | ## 0.3.4 356 | 357 | **Release date:** 2019-06-16 358 | 359 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 360 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 361 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 362 | 363 | 364 | * [stable/prometheus-mysql-exporter] updated gce-proxy to 1.14 & added myself to maintainers & owners (#14776) 365 | 366 | ### Default value changes 367 | 368 | ```diff 369 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 370 | index 7f4828f..c044141 100644 371 | --- a/charts/prometheus-mysql-exporter/values.yaml 372 | +++ b/charts/prometheus-mysql-exporter/values.yaml 373 | @@ -92,7 +92,7 @@ cloudsqlproxy: 374 | enabled: false 375 | image: 376 | repo: "gcr.io/cloudsql-docker/gce-proxy" 377 | - tag: "1.11" 378 | + tag: "1.14" 379 | pullPolicy: "IfNotPresent" 380 | instanceConnectionName: "project:us-central1:dbname" 381 | port: "3306" 382 | ``` 383 | 384 | ## 0.3.3 385 | 386 | **Release date:** 2019-06-11 387 | 388 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 389 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 390 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 391 | 392 | 393 | * [stable/prometheus-mysql-exporter] Fix invalid YAML with non-boolean collectors (#14701) 394 | 395 | ### Default value changes 396 | 397 | ```diff 398 | # No changes in this release 399 | ``` 400 | 401 | ## 0.3.2 402 | 403 | **Release date:** 2019-03-26 404 | 405 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 406 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 407 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 408 | 409 | 410 | * fixed readme (#11660) 411 | 412 | ### Default value changes 413 | 414 | ```diff 415 | # No changes in this release 416 | ``` 417 | 418 | ## 0.3.1 419 | 420 | **Release date:** 2019-03-25 421 | 422 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 423 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 424 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 425 | 426 | 427 | * [stable/prometheus-mysql-importer] Add optional labels to each pod (#11380) 428 | 429 | ### Default value changes 430 | 431 | ```diff 432 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 433 | index 7fd4de2..7f4828f 100644 434 | --- a/charts/prometheus-mysql-exporter/values.yaml 435 | +++ b/charts/prometheus-mysql-exporter/values.yaml 436 | @@ -33,6 +33,8 @@ tolerations: [] 437 | 438 | affinity: {} 439 | 440 | +podLabels: {} 441 | + 442 | annotations: 443 | prometheus.io/scrape: "true" 444 | prometheus.io/path: "/metrics" 445 | ``` 446 | 447 | ## 0.3.0 448 | 449 | **Release date:** 2019-03-06 450 | 451 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 452 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 453 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 454 | 455 | 456 | * [stable/prometheus-mysql-exporter] Collector flags config (#11569) 457 | 458 | ### Default value changes 459 | 460 | ```diff 461 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 462 | index 77fac30..7fd4de2 100644 463 | --- a/charts/prometheus-mysql-exporter/values.yaml 464 | +++ b/charts/prometheus-mysql-exporter/values.yaml 465 | @@ -38,6 +38,43 @@ annotations: 466 | prometheus.io/path: "/metrics" 467 | prometheus.io/port: "9104" 468 | 469 | +collectors: {} 470 | + # auto_increment.columns: false 471 | + # binlog_size: false 472 | + # engine_innodb_status: false 473 | + # engine_tokudb_status: false 474 | + # global_status: true 475 | + # global_variables: true 476 | + # info_schema.clientstats: false 477 | + # info_schema.innodb_metrics: false 478 | + # info_schema.innodb_tablespaces: false 479 | + # info_schema.innodb_cmp: false 480 | + # info_schema.innodb_cmpmem: false 481 | + # info_schema.processlist: false 482 | + # info_schema.processlist.min_time: 0 483 | + # info_schema.query_response_time: false 484 | + # info_schema.tables: true 485 | + # info_schema.tables.databases: '*' 486 | + # info_schema.tablestats: false 487 | + # info_schema.schemastats: false 488 | + # info_schema.userstats: false 489 | + # perf_schema.eventsstatements: false 490 | + # perf_schema.eventsstatements.digest_text_limit: 120 491 | + # perf_schema.eventsstatements.limit: false 492 | + # perf_schema.eventsstatements.timelimit: 86400 493 | + # perf_schema.eventswaits: false 494 | + # perf_schema.file_events: false 495 | + # perf_schema.file_instances: false 496 | + # perf_schema.indexiowaits: false 497 | + # perf_schema.tableiowaits: false 498 | + # perf_schema.tablelocks: false 499 | + # perf_schema.replication_group_member_stats: false 500 | + # slave_status: true 501 | + # slave_hosts: false 502 | + # heartbeat: false 503 | + # heartbeat.database: heartbeat 504 | + # heartbeat.table: heartbeat 505 | + 506 | # mysql connection params which build the DATA_SOURCE_NAME env var of the docker container 507 | mysql: 508 | db: "" 509 | ``` 510 | 511 | ## 0.2.1 512 | 513 | **Release date:** 2018-10-23 514 | 515 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 516 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 517 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 518 | 519 | 520 | * fixed annotations (#8431) 521 | 522 | ### Default value changes 523 | 524 | ```diff 525 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 526 | index 58387d5..77fac30 100644 527 | --- a/charts/prometheus-mysql-exporter/values.yaml 528 | +++ b/charts/prometheus-mysql-exporter/values.yaml 529 | @@ -36,7 +36,7 @@ affinity: {} 530 | annotations: 531 | prometheus.io/scrape: "true" 532 | prometheus.io/path: "/metrics" 533 | - prometheus.io/port: 9104 534 | + prometheus.io/port: "9104" 535 | 536 | # mysql connection params which build the DATA_SOURCE_NAME env var of the docker container 537 | mysql: 538 | ``` 539 | 540 | ## 0.2.0 541 | 542 | **Release date:** 2018-10-13 543 | 544 | ![AppVersion: v0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.11.0&color=success&logo=) 545 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 546 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 547 | 548 | 549 | * [stable/prometheus-mysql-exporter] split datasource in separate mysql connection vars (#8000) 550 | 551 | ### Default value changes 552 | 553 | ```diff 554 | diff --git a/charts/prometheus-mysql-exporter/values.yaml b/charts/prometheus-mysql-exporter/values.yaml 555 | index fa1d9c9..58387d5 100644 556 | --- a/charts/prometheus-mysql-exporter/values.yaml 557 | +++ b/charts/prometheus-mysql-exporter/values.yaml 558 | @@ -6,7 +6,7 @@ replicaCount: 1 559 | 560 | image: 561 | repository: "prom/mysqld-exporter" 562 | - tag: "v0.10.0" 563 | + tag: "v0.11.0" 564 | pullPolicy: "IfNotPresent" 565 | 566 | service: 567 | @@ -33,13 +33,20 @@ tolerations: [] 568 | 569 | affinity: {} 570 | 571 | -annotations: {} 572 | -# prometheus.io/scrape: "true" 573 | -# prometheus.io/path: "/metrics" 574 | -# prometheus.io/port: "{{ .Values.service.internalPort }}" 575 | +annotations: 576 | + prometheus.io/scrape: "true" 577 | + prometheus.io/path: "/metrics" 578 | + prometheus.io/port: 9104 579 | 580 | -# Scraper datasource 581 | -datasource: "username:password@(localhost:3306)/" 582 | +# mysql connection params which build the DATA_SOURCE_NAME env var of the docker container 583 | +mysql: 584 | + db: "" 585 | + host: "localhost" 586 | + param: "" 587 | + pass: "password" 588 | + port: 3306 589 | + protocol: "" 590 | + user: "exporter" 591 | 592 | # cloudsqlproxy https://cloud.google.com/sql/docs/mysql/sql-proxy 593 | cloudsqlproxy: 594 | ``` 595 | 596 | ## 0.1.0 597 | 598 | **Release date:** 2018-05-17 599 | 600 | ![AppVersion: v0.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.10.0&color=success&logo=) 601 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 602 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 603 | 604 | 605 | * Added prometheus mysql exporter chart (#5373) 606 | 607 | ### Default value changes 608 | 609 | ```diff 610 | # Default values for prometheus-mysql-exporter. 611 | # This is a YAML-formatted file. 612 | # Declare variables to be passed into your templates. 613 | 614 | replicaCount: 1 615 | 616 | image: 617 | repository: "prom/mysqld-exporter" 618 | tag: "v0.10.0" 619 | pullPolicy: "IfNotPresent" 620 | 621 | service: 622 | name: mysql-exporter 623 | type: ClusterIP 624 | externalPort: 9104 625 | internalPort: 9104 626 | 627 | resources: {} 628 | # We usually recommend not to specify default resources and to leave this as a conscious 629 | # choice for the user. This also increases chances charts run on environments with little 630 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 631 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 632 | # limits: 633 | # cpu: 100m 634 | # memory: 128Mi 635 | # requests: 636 | # cpu: 100m 637 | # memory: 128Mi 638 | 639 | nodeSelector: {} 640 | 641 | tolerations: [] 642 | 643 | affinity: {} 644 | 645 | annotations: {} 646 | # prometheus.io/scrape: "true" 647 | # prometheus.io/path: "/metrics" 648 | # prometheus.io/port: "{{ .Values.service.internalPort }}" 649 | 650 | # Scraper datasource 651 | datasource: "username:password@(localhost:3306)/" 652 | 653 | # cloudsqlproxy https://cloud.google.com/sql/docs/mysql/sql-proxy 654 | cloudsqlproxy: 655 | enabled: false 656 | image: 657 | repo: "gcr.io/cloudsql-docker/gce-proxy" 658 | tag: "1.11" 659 | pullPolicy: "IfNotPresent" 660 | instanceConnectionName: "project:us-central1:dbname" 661 | port: "3306" 662 | credentials: 663 | '{ 664 | "type": "service_account", 665 | "project_id": "project", 666 | "private_key_id": "KEYID1", 667 | "private_key": "-----BEGIN PRIVATE KEY-----\sdajsdnasd\n-----END PRIVATE KEY-----\n", 668 | "client_email": "user@project.iam.gserviceaccount.com", 669 | "client_id": "111111111", 670 | "auth_uri": "https://accounts.google.com/o/oauth2/auth", 671 | "token_uri": "https://accounts.google.com/o/oauth2/token", 672 | "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", 673 | "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/user%40project.iam.gserviceaccount.com" 674 | }' 675 | ``` 676 | 677 | --- 678 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 679 | -------------------------------------------------------------------------------- /examples/prometheus-nats-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 2.6.0 4 | 5 | **Release date:** 2021-03-05 6 | 7 | ![AppVersion: 0.7.0](https://img.shields.io/static/v1?label=AppVersion&message=0.7.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * [prometheus-nats-exporter] Bump prometheus-nats-expoter app version (#722) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 18 | index 7de0f86..7ab7e94 100644 19 | --- a/charts/prometheus-nats-exporter/values.yaml 20 | +++ b/charts/prometheus-nats-exporter/values.yaml 21 | @@ -5,8 +5,8 @@ 22 | replicaCount: 1 23 | 24 | image: 25 | - repository: synadia/prometheus-nats-exporter 26 | - tag: 0.6.2 27 | + repository: natsio/prometheus-nats-exporter 28 | + tag: 0.7.0 29 | pullPolicy: IfNotPresent 30 | 31 | service: 32 | ``` 33 | 34 | ## 2.5.1 35 | 36 | **Release date:** 2020-08-20 37 | 38 | ![AppVersion: 0.6.2](https://img.shields.io/static/v1?label=AppVersion&message=0.6.2&color=success&logo=) 39 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 40 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 41 | 42 | 43 | * Prep initial charts indexing (#14) 44 | 45 | ### Default value changes 46 | 47 | ```diff 48 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 49 | index bd26c22..7de0f86 100644 50 | --- a/charts/prometheus-nats-exporter/values.yaml 51 | +++ b/charts/prometheus-nats-exporter/values.yaml 52 | @@ -35,6 +35,7 @@ resources: {} 53 | 54 | config: 55 | nats: 56 | + # See https://github.com/helm/charts/blob/master/stable/nats/templates/monitoring-svc.yaml 57 | service: nats-nats-monitoring 58 | namespace: default 59 | port: 8222 60 | ``` 61 | 62 | ## 2.5.0 63 | 64 | **Release date:** 2020-04-29 65 | 66 | ![AppVersion: 0.6.2](https://img.shields.io/static/v1?label=AppVersion&message=0.6.2&color=success&logo=) 67 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 68 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 69 | 70 | 71 | * [stable/prometheus-nats-exporter] Update prometheus-nats-exporter version (#22178) 72 | 73 | ### Default value changes 74 | 75 | ```diff 76 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 77 | index 98325ea..bd26c22 100644 78 | --- a/charts/prometheus-nats-exporter/values.yaml 79 | +++ b/charts/prometheus-nats-exporter/values.yaml 80 | @@ -6,7 +6,7 @@ replicaCount: 1 81 | 82 | image: 83 | repository: synadia/prometheus-nats-exporter 84 | - tag: 0.6.0 85 | + tag: 0.6.2 86 | pullPolicy: IfNotPresent 87 | 88 | service: 89 | @@ -45,6 +45,7 @@ config: 90 | routez: true 91 | serverz: true 92 | subz: true 93 | + gatewayz: true 94 | 95 | nodeSelector: {} 96 | 97 | ``` 98 | 99 | ## 2.4.0 100 | 101 | **Release date:** 2020-02-28 102 | 103 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 104 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 105 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 106 | 107 | 108 | * [stable/prometheus-nats-exporter]: add prometheus-operator servicemonitor support (#21088) 109 | 110 | ### Default value changes 111 | 112 | ```diff 113 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 114 | index 3f486e4..98325ea 100644 115 | --- a/charts/prometheus-nats-exporter/values.yaml 116 | +++ b/charts/prometheus-nats-exporter/values.yaml 117 | @@ -14,6 +14,13 @@ service: 118 | port: 80 119 | targetPort: 7777 120 | 121 | +serviceMonitor: 122 | + enabled: false 123 | + additionalLabels: {} 124 | + namespace: 125 | + interval: 126 | + scrapeTimeout: 127 | + 128 | resources: {} 129 | # We usually recommend not to specify default resources and to leave this as a conscious 130 | # choice for the user. This also increases chances charts run on environments with little 131 | ``` 132 | 133 | ## 2.3.0 134 | 135 | **Release date:** 2019-10-12 136 | 137 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 138 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 139 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 140 | 141 | 142 | * [stable/prometheus-nats-exporter]: upgrade (#17085) 143 | 144 | ### Default value changes 145 | 146 | ```diff 147 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 148 | index 4f3f7b1..3f486e4 100644 149 | --- a/charts/prometheus-nats-exporter/values.yaml 150 | +++ b/charts/prometheus-nats-exporter/values.yaml 151 | @@ -6,7 +6,7 @@ replicaCount: 1 152 | 153 | image: 154 | repository: synadia/prometheus-nats-exporter 155 | - tag: 0.5.0 156 | + tag: 0.6.0 157 | pullPolicy: IfNotPresent 158 | 159 | service: 160 | ``` 161 | 162 | ## 2.2.1 163 | 164 | **Release date:** 2019-08-04 165 | 166 | ![AppVersion: 0.5.0](https://img.shields.io/static/v1?label=AppVersion&message=0.5.0&color=success&logo=) 167 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 168 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 169 | 170 | 171 | * bump chart version; fix hardcoded cluster dns name (#16075) 172 | 173 | ### Default value changes 174 | 175 | ```diff 176 | # No changes in this release 177 | ``` 178 | 179 | ## 2.2.0 180 | 181 | **Release date:** 2019-07-27 182 | 183 | ![AppVersion: 0.5.0](https://img.shields.io/static/v1?label=AppVersion&message=0.5.0&color=success&logo=) 184 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 185 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 186 | 187 | 188 | * Updated prometheus-nats-exporter to 0.5.0 (#15921) 189 | 190 | ### Default value changes 191 | 192 | ```diff 193 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 194 | index a0ef8ed..4f3f7b1 100644 195 | --- a/charts/prometheus-nats-exporter/values.yaml 196 | +++ b/charts/prometheus-nats-exporter/values.yaml 197 | @@ -6,7 +6,7 @@ replicaCount: 1 198 | 199 | image: 200 | repository: synadia/prometheus-nats-exporter 201 | - tag: 0.4.0 202 | + tag: 0.5.0 203 | pullPolicy: IfNotPresent 204 | 205 | service: 206 | ``` 207 | 208 | ## 2.1.0 209 | 210 | **Release date:** 2019-06-25 211 | 212 | ![AppVersion: 0.4.0](https://img.shields.io/static/v1?label=AppVersion&message=0.4.0&color=success&logo=) 213 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 214 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 215 | 216 | 217 | * Update prometheus-nats-exporter to version 0.4.0 (#15048) 218 | 219 | ### Default value changes 220 | 221 | ```diff 222 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 223 | index d4a0f91..a0ef8ed 100644 224 | --- a/charts/prometheus-nats-exporter/values.yaml 225 | +++ b/charts/prometheus-nats-exporter/values.yaml 226 | @@ -6,7 +6,7 @@ replicaCount: 1 227 | 228 | image: 229 | repository: synadia/prometheus-nats-exporter 230 | - tag: 0.3.0 231 | + tag: 0.4.0 232 | pullPolicy: IfNotPresent 233 | 234 | service: 235 | ``` 236 | 237 | ## 2.0.0 238 | 239 | **Release date:** 2019-06-09 240 | 241 | ![AppVersion: 0.3.0](https://img.shields.io/static/v1?label=AppVersion&message=0.3.0&color=success&logo=) 242 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 243 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 244 | 245 | 246 | * [stable/prometheus-nats-exporter] upgrade to official image (#14528) 247 | 248 | ### Default value changes 249 | 250 | ```diff 251 | diff --git a/charts/prometheus-nats-exporter/values.yaml b/charts/prometheus-nats-exporter/values.yaml 252 | index 90e4a8f..d4a0f91 100644 253 | --- a/charts/prometheus-nats-exporter/values.yaml 254 | +++ b/charts/prometheus-nats-exporter/values.yaml 255 | @@ -5,14 +5,14 @@ 256 | replicaCount: 1 257 | 258 | image: 259 | - repository: appcelerator/prometheus-nats-exporter 260 | - tag: 0.17.0 261 | + repository: synadia/prometheus-nats-exporter 262 | + tag: 0.3.0 263 | pullPolicy: IfNotPresent 264 | 265 | service: 266 | type: ClusterIP 267 | port: 80 268 | - targetPort: 8222 269 | + targetPort: 7777 270 | 271 | resources: {} 272 | # We usually recommend not to specify default resources and to leave this as a conscious 273 | @@ -31,6 +31,13 @@ config: 274 | service: nats-nats-monitoring 275 | namespace: default 276 | port: 8222 277 | + metrics: 278 | + varz: true 279 | + channelz: true 280 | + connz: true 281 | + routez: true 282 | + serverz: true 283 | + subz: true 284 | 285 | nodeSelector: {} 286 | 287 | ``` 288 | 289 | ## 1.0.1 290 | 291 | **Release date:** 2019-06-05 292 | 293 | ![AppVersion: 0.17.0](https://img.shields.io/static/v1?label=AppVersion&message=0.17.0&color=success&logo=) 294 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 295 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 296 | 297 | 298 | * added me to prometheus-nats-exporter/OWNERS (#14525) 299 | 300 | ### Default value changes 301 | 302 | ```diff 303 | # No changes in this release 304 | ``` 305 | 306 | ## 1.0.0 307 | 308 | **Release date:** 2019-03-14 309 | 310 | ![AppVersion: 0.17.0](https://img.shields.io/static/v1?label=AppVersion&message=0.17.0&color=success&logo=) 311 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 312 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 313 | 314 | 315 | * Prometheus NATS exporter (#10742) 316 | 317 | ### Default value changes 318 | 319 | ```diff 320 | # Default values for prometheus-nats-exporter. 321 | # This is a YAML-formatted file. 322 | # Declare variables to be passed into your templates. 323 | 324 | replicaCount: 1 325 | 326 | image: 327 | repository: appcelerator/prometheus-nats-exporter 328 | tag: 0.17.0 329 | pullPolicy: IfNotPresent 330 | 331 | service: 332 | type: ClusterIP 333 | port: 80 334 | targetPort: 8222 335 | 336 | resources: {} 337 | # We usually recommend not to specify default resources and to leave this as a conscious 338 | # choice for the user. This also increases chances charts run on environments with little 339 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 340 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 341 | # limits: 342 | # cpu: 100m 343 | # memory: 128Mi 344 | # requests: 345 | # cpu: 100m 346 | # memory: 128Mi 347 | 348 | config: 349 | nats: 350 | service: nats-nats-monitoring 351 | namespace: default 352 | port: 8222 353 | 354 | nodeSelector: {} 355 | 356 | tolerations: [] 357 | 358 | affinity: {} 359 | 360 | annotations: {} 361 | 362 | extraContainers: | 363 | 364 | extraVolumes: | 365 | ``` 366 | 367 | --- 368 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 369 | -------------------------------------------------------------------------------- /examples/prometheus-pingdom-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 2.3.2 4 | 5 | **Release date:** 2021-01-20 6 | 7 | ![AppVersion: 20190610-1](https://img.shields.io/static/v1?label=AppVersion&message=20190610-1&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * update version (#561) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | # No changes in this release 18 | ``` 19 | 20 | ## 2.3.1 21 | 22 | **Release date:** 2020-11-06 23 | 24 | ![AppVersion: 20190610-1](https://img.shields.io/static/v1?label=AppVersion&message=20190610-1&color=success&logo=) 25 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 26 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 27 | 28 | 29 | * charts/prometheus-pingdom-exporter: fix typo (#317) 30 | * fix yaml lint 31 | * added artifact hub annotations 32 | 33 | ### Default value changes 34 | 35 | ```diff 36 | # No changes in this release 37 | ``` 38 | 39 | ## 2.3.0 40 | 41 | **Release date:** 2020-10-07 42 | 43 | ![AppVersion: 20190610-1](https://img.shields.io/static/v1?label=AppVersion&message=20190610-1&color=success&logo=) 44 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 45 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 46 | 47 | 48 | * update pingdom exporter 49 | 50 | ### Default value changes 51 | 52 | ```diff 53 | diff --git a/charts/prometheus-pingdom-exporter/values.yaml b/charts/prometheus-pingdom-exporter/values.yaml 54 | index 7a9bdcc..9be0fc8 100644 55 | --- a/charts/prometheus-pingdom-exporter/values.yaml 56 | +++ b/charts/prometheus-pingdom-exporter/values.yaml 57 | @@ -7,7 +7,7 @@ replicaCount: 1 58 | image: 59 | # we use camptocamp/prometheus-pingdom-exporter image as giantswarm did not publish recent versions after 0.1.1 60 | repository: camptocamp/prometheus-pingdom-exporter 61 | - tag: 20180821-1 62 | + tag: 20190610-1 63 | pullPolicy: IfNotPresent 64 | 65 | nameOverride: "" 66 | ``` 67 | 68 | ## 2.2.0 69 | 70 | **Release date:** 2019-09-23 71 | 72 | ![AppVersion: 20180821-1](https://img.shields.io/static/v1?label=AppVersion&message=20180821-1&color=success&logo=) 73 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 74 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 75 | 76 | 77 | * add annotations to secret (#187) 78 | 79 | ### Default value changes 80 | 81 | ```diff 82 | diff --git a/charts/prometheus-pingdom-exporter/values.yaml b/charts/prometheus-pingdom-exporter/values.yaml 83 | index 26fd9a0..7a9bdcc 100644 84 | --- a/charts/prometheus-pingdom-exporter/values.yaml 85 | +++ b/charts/prometheus-pingdom-exporter/values.yaml 86 | @@ -54,4 +54,9 @@ pingdom: 87 | pod: 88 | annotations: {} 89 | # key: "true" 90 | - # example: "false" 91 | + # example: "false" 92 | + 93 | +secret: 94 | + annotations: {} 95 | + # key: "true" 96 | + # example: "false" 97 | ``` 98 | 99 | ## 2.1.0 100 | 101 | **Release date:** 2019-09-21 102 | 103 | ![AppVersion: 20180821-1](https://img.shields.io/static/v1?label=AppVersion&message=20180821-1&color=success&logo=) 104 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 105 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 106 | 107 | 108 | * add pod annotations (#186) 109 | 110 | ### Default value changes 111 | 112 | ```diff 113 | diff --git a/charts/prometheus-pingdom-exporter/values.yaml b/charts/prometheus-pingdom-exporter/values.yaml 114 | index 06b0c6e..26fd9a0 100644 115 | --- a/charts/prometheus-pingdom-exporter/values.yaml 116 | +++ b/charts/prometheus-pingdom-exporter/values.yaml 117 | @@ -50,3 +50,8 @@ pingdom: 118 | accountEmail: somebodyorelse@invalid 119 | # time (in seconds) between accessing the Pingdom API 120 | wait: 10 121 | + 122 | +pod: 123 | + annotations: {} 124 | + # key: "true" 125 | + # example: "false" 126 | ``` 127 | 128 | ## 2.0.0 129 | 130 | **Release date:** 2019-01-14 131 | 132 | ![AppVersion: 20180821-1](https://img.shields.io/static/v1?label=AppVersion&message=20180821-1&color=success&logo=) 133 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 134 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 135 | 136 | 137 | * Prometheus pingdom exporter (#18) 138 | 139 | ### Default value changes 140 | 141 | ```diff 142 | # Default values for prometheus-pingdom-exporter. 143 | # This is a YAML-formatted file. 144 | # Declare variables to be passed into your templates. 145 | 146 | replicaCount: 1 147 | 148 | image: 149 | # we use camptocamp/prometheus-pingdom-exporter image as giantswarm did not publish recent versions after 0.1.1 150 | repository: camptocamp/prometheus-pingdom-exporter 151 | tag: 20180821-1 152 | pullPolicy: IfNotPresent 153 | 154 | nameOverride: "" 155 | fullnameOverride: "" 156 | 157 | service: 158 | type: ClusterIP 159 | port: 9100 160 | annotations: {} 161 | # prometheus.io/scrape: "true" 162 | # prometheus.io/port: "9100" 163 | 164 | resources: {} 165 | # We usually recommend not to specify default resources and to leave this as a conscious 166 | # choice for the user. This also increases chances charts run on environments with little 167 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 168 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 169 | # limits: 170 | # cpu: 100m 171 | # memory: 128Mi 172 | # requests: 173 | # cpu: 100m 174 | # memory: 128Mi 175 | 176 | nodeSelector: {} 177 | 178 | tolerations: [] 179 | 180 | affinity: {} 181 | 182 | # configuration of the pingdom credentials 183 | pingdom: 184 | # username of the pingdom account 185 | user: somebody@invalid 186 | # password of the pingdom account 187 | password: totallysecret 188 | # application id / api secret can be created on the pingdom website 189 | appId: alsototallysecret 190 | # account email of the account owner if using multiaccount / team accounts 191 | accountEmail: somebodyorelse@invalid 192 | # time (in seconds) between accessing the Pingdom API 193 | wait: 10 194 | ``` 195 | 196 | --- 197 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 198 | -------------------------------------------------------------------------------- /examples/prometheus-rabbitmq-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 1.0.0 4 | 5 | **Release date:** 2021-04-06 6 | 7 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * [prometheus-rabbitmq-exporter] Polish up Prometheus rules (#724) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | # No changes in this release 18 | ``` 19 | 20 | ## 0.7.0 21 | 22 | **Release date:** 2021-03-19 23 | 24 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 25 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 26 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 27 | 28 | 29 | * [prometheus-rabbitmq-exporter] update default rabbitmq secret key (#778) 30 | * [prometheus-rabbitmq-exporter] Make it possible to add podLabels and priorityClass (#513) 31 | 32 | ### Default value changes 33 | 34 | ```diff 35 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 36 | index b2b7a0f..30b7b8f 100644 37 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 38 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 39 | @@ -37,6 +37,7 @@ rabbitmq: 40 | password: guest 41 | # If existingPasswordSecret is set then password is ignored 42 | existingPasswordSecret: ~ 43 | + existingPasswordSecretKey: password 44 | capabilities: bert,no_sort 45 | include_queues: ".*" 46 | include_vhost: ".*" 47 | @@ -48,6 +49,8 @@ rabbitmq: 48 | timeout: 30 49 | max_queues: 0 50 | 51 | +podLabels: {} 52 | + 53 | annotations: {} 54 | # prometheus.io/scrape: "true" 55 | # prometheus.io/path: "/metrics" 56 | ``` 57 | 58 | ## 0.6.0 59 | 60 | **Release date:** 2021-01-16 61 | 62 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 63 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 64 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 65 | 66 | 67 | * [prometheus-rabbitmq-exporter] Add the possibility to specify a priority class (#416) 68 | 69 | ### Default value changes 70 | 71 | ```diff 72 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 73 | index 33ea475..b2b7a0f 100644 74 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 75 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 76 | @@ -22,6 +22,8 @@ resources: {} 77 | # cpu: 100m 78 | # memory: 128Mi 79 | 80 | +priorityClassName: "" 81 | + 82 | nodeSelector: {} 83 | 84 | tolerations: [] 85 | ``` 86 | 87 | ## 0.5.8 88 | 89 | **Release date:** 2021-01-15 90 | 91 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 92 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 93 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 94 | 95 | 96 | * [prometheus-rabbitmq-exporter] Add desaintmartin & monotek as maintainers (#571) 97 | 98 | ### Default value changes 99 | 100 | ```diff 101 | # No changes in this release 102 | ``` 103 | 104 | ## 0.5.7 105 | 106 | **Release date:** 2021-01-13 107 | 108 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 109 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 110 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 111 | 112 | 113 | * [prometheus-rabbitmq-exporter] Updated rabbitmq exporter maintainer list (#282) 114 | 115 | ### Default value changes 116 | 117 | ```diff 118 | # No changes in this release 119 | ``` 120 | 121 | ## 0.5.6 122 | 123 | **Release date:** 2020-08-20 124 | 125 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 126 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 127 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 128 | 129 | 130 | * Prep initial charts indexing (#14) 131 | 132 | ### Default value changes 133 | 134 | ```diff 135 | # No changes in this release 136 | ``` 137 | 138 | ## 0.5.5 139 | 140 | **Release date:** 2019-12-02 141 | 142 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 143 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 144 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 145 | 146 | 147 | * [stable/prometheus-rabbitmq-exporter] Fix ServiceMonitor + adds alerts (#19276) 148 | 149 | ### Default value changes 150 | 151 | ```diff 152 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 153 | index f68e5f7..33ea475 100644 154 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 155 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 156 | @@ -57,3 +57,6 @@ prometheus: 157 | additionalLabels: {} 158 | interval: 15s 159 | namespace: [] 160 | + rules: 161 | + enabled: false 162 | + additionalLabels: {} 163 | ``` 164 | 165 | ## 0.5.3 166 | 167 | **Release date:** 2019-09-15 168 | 169 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 170 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 171 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 172 | 173 | 174 | * [stable/prometheus-rabbitmq-exporter] ServiceMonitor Port Bugfix (#15801) 175 | 176 | ### Default value changes 177 | 178 | ```diff 179 | # No changes in this release 180 | ``` 181 | 182 | ## 0.5.2 183 | 184 | **Release date:** 2019-08-13 185 | 186 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 187 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 188 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 189 | 190 | 191 | * Rabbitmq prometheus exporter should use the same name for the port, otherwise servicemonitor will not scrape successfully (#16134) 192 | 193 | ### Default value changes 194 | 195 | ```diff 196 | # No changes in this release 197 | ``` 198 | 199 | ## 0.5.1 200 | 201 | **Release date:** 2019-06-22 202 | 203 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 204 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 205 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 206 | 207 | 208 | * Added support for existing rabbitmq password secret (#14958) 209 | 210 | ### Default value changes 211 | 212 | ```diff 213 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 214 | index 596c45b..f68e5f7 100644 215 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 216 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 217 | @@ -33,6 +33,8 @@ rabbitmq: 218 | url: http://myrabbit:15672 219 | user: guest 220 | password: guest 221 | + # If existingPasswordSecret is set then password is ignored 222 | + existingPasswordSecret: ~ 223 | capabilities: bert,no_sort 224 | include_queues: ".*" 225 | include_vhost: ".*" 226 | ``` 227 | 228 | ## 0.5.0 229 | 230 | **Release date:** 2019-06-04 231 | 232 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 233 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 234 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 235 | 236 | 237 | * [stable/prometheus-rabbitmq-exporter] Adding Prometheus Operator Service Monitor (#12723) 238 | 239 | ### Default value changes 240 | 241 | ```diff 242 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 243 | index 5429c20..596c45b 100644 244 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 245 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 246 | @@ -47,4 +47,11 @@ rabbitmq: 247 | annotations: {} 248 | # prometheus.io/scrape: "true" 249 | # prometheus.io/path: "/metrics" 250 | -# prometheus.io/port: "9419" 251 | +# prometheus.io/port: 9419 252 | + 253 | +prometheus: 254 | + monitor: 255 | + enabled: false 256 | + additionalLabels: {} 257 | + interval: 15s 258 | + namespace: [] 259 | ``` 260 | 261 | ## 0.4.1 262 | 263 | **Release date:** 2019-04-29 264 | 265 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 266 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 267 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 268 | 269 | 270 | * [stable/prometheus-rabbitmq-exporter] Fix default parameters in readme (#12858) 271 | 272 | ### Default value changes 273 | 274 | ```diff 275 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 276 | index ad98034..5429c20 100644 277 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 278 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 279 | @@ -47,4 +47,4 @@ rabbitmq: 280 | annotations: {} 281 | # prometheus.io/scrape: "true" 282 | # prometheus.io/path: "/metrics" 283 | -# prometheus.io/port: 9419 284 | +# prometheus.io/port: "9419" 285 | ``` 286 | 287 | ## 0.4.0 288 | 289 | **Release date:** 2019-02-08 290 | 291 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 292 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 293 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 294 | 295 | 296 | * [prometheus-rabbitmq-export] Add skip_verify to rabbitmq-exporter (#11107) 297 | 298 | ### Default value changes 299 | 300 | ```diff 301 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 302 | index 9eb82a5..ad98034 100644 303 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 304 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 305 | @@ -37,6 +37,7 @@ rabbitmq: 306 | include_queues: ".*" 307 | include_vhost: ".*" 308 | skip_queues: "^$" 309 | + skip_verify: "false" 310 | skip_vhost: "^$" 311 | exporters: "exchange,node,overview,queue" 312 | output_format: "TTY" 313 | ``` 314 | 315 | ## 0.3.0 316 | 317 | **Release date:** 2019-01-09 318 | 319 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 320 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 321 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 322 | 323 | 324 | * Rabbitmq exporter env vars (#9244) 325 | 326 | ### Default value changes 327 | 328 | ```diff 329 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 330 | index d75baf7..9eb82a5 100644 331 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 332 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 333 | @@ -38,6 +38,10 @@ rabbitmq: 334 | include_vhost: ".*" 335 | skip_queues: "^$" 336 | skip_vhost: "^$" 337 | + exporters: "exchange,node,overview,queue" 338 | + output_format: "TTY" 339 | + timeout: 30 340 | + max_queues: 0 341 | 342 | annotations: {} 343 | # prometheus.io/scrape: "true" 344 | ``` 345 | 346 | ## 0.2.0 347 | 348 | **Release date:** 2019-01-04 349 | 350 | ![AppVersion: v0.29.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.29.0&color=success&logo=) 351 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 352 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 353 | 354 | 355 | * [stable/prometheus-rabbitmq-exporter] Bump to v0.29.0 (#10273) 356 | 357 | ### Default value changes 358 | 359 | ```diff 360 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 361 | index f7bf6ce..d75baf7 100644 362 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 363 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 364 | @@ -4,7 +4,7 @@ 365 | replicaCount: 1 366 | image: 367 | repository: kbudde/rabbitmq-exporter 368 | - tag: v0.28.0 369 | + tag: v0.29.0 370 | pullPolicy: IfNotPresent 371 | service: 372 | type: ClusterIP 373 | @@ -35,7 +35,9 @@ rabbitmq: 374 | password: guest 375 | capabilities: bert,no_sort 376 | include_queues: ".*" 377 | + include_vhost: ".*" 378 | skip_queues: "^$" 379 | + skip_vhost: "^$" 380 | 381 | annotations: {} 382 | # prometheus.io/scrape: "true" 383 | ``` 384 | 385 | ## 0.1.4 386 | 387 | **Release date:** 2018-08-15 388 | 389 | ![AppVersion: v0.28.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.28.0&color=success&logo=) 390 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 391 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 392 | 393 | 394 | * [stable/prometheus-rabbitmq-exporter] fix values (#7078) 395 | 396 | ### Default value changes 397 | 398 | ```diff 399 | diff --git a/charts/prometheus-rabbitmq-exporter/values.yaml b/charts/prometheus-rabbitmq-exporter/values.yaml 400 | index e18c062..f7bf6ce 100644 401 | --- a/charts/prometheus-rabbitmq-exporter/values.yaml 402 | +++ b/charts/prometheus-rabbitmq-exporter/values.yaml 403 | @@ -37,7 +37,7 @@ rabbitmq: 404 | include_queues: ".*" 405 | skip_queues: "^$" 406 | 407 | -annotation: {} 408 | +annotations: {} 409 | # prometheus.io/scrape: "true" 410 | # prometheus.io/path: "/metrics" 411 | # prometheus.io/port: 9419 412 | ``` 413 | 414 | ## 0.1.3 415 | 416 | **Release date:** 2018-05-25 417 | 418 | ![AppVersion: v0.28.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.28.0&color=success&logo=) 419 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 420 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 421 | 422 | 423 | * [prometheus-rabbitmq-exporter] Typo fix: tables lists->table lists (#5727) 424 | 425 | ### Default value changes 426 | 427 | ```diff 428 | # No changes in this release 429 | ``` 430 | 431 | ## 0.1.2 432 | 433 | **Release date:** 2018-05-23 434 | 435 | ![AppVersion: v0.28.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.28.0&color=success&logo=) 436 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 437 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 438 | 439 | 440 | * fix typo in prometheus-rabbitmq-exporter's readme (#5666) 441 | 442 | ### Default value changes 443 | 444 | ```diff 445 | # No changes in this release 446 | ``` 447 | 448 | ## 0.1.1 449 | 450 | **Release date:** 2018-05-16 451 | 452 | ![AppVersion: v0.28.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.28.0&color=success&logo=) 453 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 454 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 455 | 456 | 457 | * Added prometheus-rabbitmq-exporter helm chart (#5311) 458 | 459 | ### Default value changes 460 | 461 | ```diff 462 | # Default values for prometheus-rabbitmq-exporter. 463 | # This is a YAML-formatted file. 464 | # Declare variables to be passed into your templates. 465 | replicaCount: 1 466 | image: 467 | repository: kbudde/rabbitmq-exporter 468 | tag: v0.28.0 469 | pullPolicy: IfNotPresent 470 | service: 471 | type: ClusterIP 472 | externalPort: 9419 473 | internalPort: 9419 474 | resources: {} 475 | # We usually recommend not to specify default resources and to leave this as a conscious 476 | # choice for the user. This also increases chances charts run on environments with little 477 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 478 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 479 | # limits: 480 | # cpu: 100m 481 | # memory: 128Mi 482 | # requests: 483 | # cpu: 100m 484 | # memory: 128Mi 485 | 486 | nodeSelector: {} 487 | 488 | tolerations: [] 489 | 490 | affinity: {} 491 | 492 | loglevel: info 493 | rabbitmq: 494 | url: http://myrabbit:15672 495 | user: guest 496 | password: guest 497 | capabilities: bert,no_sort 498 | include_queues: ".*" 499 | skip_queues: "^$" 500 | 501 | annotation: {} 502 | # prometheus.io/scrape: "true" 503 | # prometheus.io/path: "/metrics" 504 | # prometheus.io/port: 9419 505 | ``` 506 | 507 | --- 508 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 509 | -------------------------------------------------------------------------------- /examples/prometheus-snmp-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.1.2 4 | 5 | **Release date:** 2021-02-09 6 | 7 | ![AppVersion: 0.19.0](https://img.shields.io/static/v1?label=AppVersion&message=0.19.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * chore: bump configmap reloader (#646) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-snmp-exporter/values.yaml b/charts/prometheus-snmp-exporter/values.yaml 18 | index 32a7bc7..b067cd8 100644 19 | --- a/charts/prometheus-snmp-exporter/values.yaml 20 | +++ b/charts/prometheus-snmp-exporter/values.yaml 21 | @@ -87,7 +87,7 @@ configmapReload: 22 | ## 23 | image: 24 | repository: jimmidyson/configmap-reload 25 | - tag: v0.2.2 26 | + tag: v0.5.0 27 | pullPolicy: IfNotPresent 28 | 29 | ## configmap-reload resource requests and limits 30 | ``` 31 | 32 | ## 0.1.1 33 | 34 | **Release date:** 2020-11-26 35 | 36 | ![AppVersion: 0.19.0](https://img.shields.io/static/v1?label=AppVersion&message=0.19.0&color=success&logo=) 37 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 38 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 39 | 40 | 41 | * [prometheus-snmp-exporter] Fixes #398 and adds some features (#399) 42 | 43 | ### Default value changes 44 | 45 | ```diff 46 | # No changes in this release 47 | ``` 48 | 49 | ## 0.1.0 50 | 51 | **Release date:** 2020-11-22 52 | 53 | ![AppVersion: 0.19.0](https://img.shields.io/static/v1?label=AppVersion&message=0.19.0&color=success&logo=) 54 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 55 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 56 | 57 | 58 | * [prometheus-snmp-exporter] Add support mount extra secret and configmap (#218) 59 | 60 | ### Default value changes 61 | 62 | ```diff 63 | diff --git a/charts/prometheus-snmp-exporter/values.yaml b/charts/prometheus-snmp-exporter/values.yaml 64 | index 0695068..32a7bc7 100644 65 | --- a/charts/prometheus-snmp-exporter/values.yaml 66 | +++ b/charts/prometheus-snmp-exporter/values.yaml 67 | @@ -2,7 +2,7 @@ restartPolicy: Always 68 | 69 | image: 70 | repository: prom/snmp-exporter 71 | - tag: v0.14.0 72 | + tag: v0.19.0 73 | pullPolicy: IfNotPresent 74 | 75 | nodeSelector: {} 76 | @@ -11,6 +11,23 @@ affinity: {} 77 | 78 | # config: 79 | 80 | +extraConfigmapMounts: [] 81 | + # - name: snmp-exporter-configmap 82 | + # mountPath: /run/secrets/snmp-exporter 83 | + # subPath: snmp.yaml # (optional) 84 | + # configMap: snmp-exporter-configmap-configmap 85 | + # readOnly: true 86 | + # defaultMode: 420 87 | + 88 | +## Additional secret mounts 89 | +# Defines additional mounts with secrets. Secrets must be manually created in the namespace. 90 | +extraSecretMounts: [] 91 | + # - name: secret-files 92 | + # mountPath: /run/secrets/snmp-exporter 93 | + # secretName: snmp-exporter-secret-files 94 | + # readOnly: true 95 | + # defaultMode: 420 96 | + 97 | ## For RBAC support: 98 | rbac: 99 | # Specifies whether RBAC resources should be created 100 | ``` 101 | 102 | ## 0.0.6 103 | 104 | **Release date:** 2020-08-20 105 | 106 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 107 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 108 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 109 | 110 | 111 | * Prep initial charts indexing (#14) 112 | 113 | ### Default value changes 114 | 115 | ```diff 116 | # No changes in this release 117 | ``` 118 | 119 | ## 0.0.5 120 | 121 | **Release date:** 2020-03-14 122 | 123 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 124 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 125 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 126 | 127 | 128 | * [stable/prometheus-snmp-exporter] Fix serviceMonitor params (#19985) 129 | 130 | ### Default value changes 131 | 132 | ```diff 133 | # No changes in this release 134 | ``` 135 | 136 | ## 0.0.4 137 | 138 | **Release date:** 2019-06-27 139 | 140 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 141 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 142 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 143 | 144 | 145 | * [stable/prometheus-snmp-exporter] Don't run config through toYaml (#13884) 146 | 147 | ### Default value changes 148 | 149 | ```diff 150 | # No changes in this release 151 | ``` 152 | 153 | ## 0.0.3 154 | 155 | **Release date:** 2019-06-11 156 | 157 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 158 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 159 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 160 | 161 | 162 | * [stable/prometheus-snmp-exporter] add namespace metadata (#14328) 163 | 164 | ### Default value changes 165 | 166 | ```diff 167 | # No changes in this release 168 | ``` 169 | 170 | ## 0.0.2 171 | 172 | **Release date:** 2019-03-19 173 | 174 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 175 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 176 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 177 | 178 | 179 | * Add servicemonitor to prometheus-snmp-exporter chart (#12320) 180 | 181 | ### Default value changes 182 | 183 | ```diff 184 | diff --git a/charts/prometheus-snmp-exporter/values.yaml b/charts/prometheus-snmp-exporter/values.yaml 185 | index 38dee25..0695068 100644 186 | --- a/charts/prometheus-snmp-exporter/values.yaml 187 | +++ b/charts/prometheus-snmp-exporter/values.yaml 188 | @@ -77,3 +77,31 @@ configmapReload: 189 | ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/ 190 | ## 191 | resources: {} 192 | + 193 | +# Enable this if you're using https://github.com/coreos/prometheus-operator 194 | +serviceMonitor: 195 | + enabled: false 196 | + namespace: monitoring 197 | + 198 | + # fallback to the prometheus default unless specified 199 | + # interval: 10s 200 | + 201 | + ## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) 202 | + ## [Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#prometheus-operator-1) 203 | + ## [Kube Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#exporters) 204 | + selector: 205 | + prometheus: kube-prometheus 206 | + # Retain the job and instance labels of the metrics pushed to the snmp-exporter 207 | + # [Scraping SNMP-exporter](https://github.com/prometheus/snmp_exporter#configure-the-snmp_exporter-as-a-target-to-scrape) 208 | + honorLabels: true 209 | + 210 | + params: 211 | + enabled: false 212 | + conf: 213 | + module: 214 | + - if_mib 215 | + target: 216 | + - 127.0.0.1 217 | + 218 | + path: /snmp 219 | + scrapeTimeout: 10s 220 | ``` 221 | 222 | ## 0.0.1 223 | 224 | **Release date:** 2019-01-21 225 | 226 | ![AppVersion: 0.14.0](https://img.shields.io/static/v1?label=AppVersion&message=0.14.0&color=success&logo=) 227 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 228 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 229 | 230 | 231 | * Add prometheus-snmp-exporter chart (#10734) 232 | 233 | ### Default value changes 234 | 235 | ```diff 236 | restartPolicy: Always 237 | 238 | image: 239 | repository: prom/snmp-exporter 240 | tag: v0.14.0 241 | pullPolicy: IfNotPresent 242 | 243 | nodeSelector: {} 244 | tolerations: [] 245 | affinity: {} 246 | 247 | # config: 248 | 249 | ## For RBAC support: 250 | rbac: 251 | # Specifies whether RBAC resources should be created 252 | create: true 253 | 254 | serviceAccount: 255 | # Specifies whether a ServiceAccount should be created 256 | create: true 257 | 258 | # The name of the ServiceAccount to use. 259 | # If not set and create is true, a name is generated using the fullname template 260 | name: 261 | 262 | resources: {} 263 | # limits: 264 | # memory: 300Mi 265 | # requests: 266 | # memory: 50Mi 267 | 268 | service: 269 | annotations: {} 270 | type: ClusterIP 271 | port: 9116 272 | 273 | ## An Ingress resource can provide name-based virtual hosting and TLS 274 | ## termination among other things for CouchDB deployments which are accessed 275 | ## from outside the Kubernetes cluster. 276 | ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/ 277 | ingress: 278 | enabled: false 279 | hosts: [] 280 | # - chart-example.local 281 | annotations: {} 282 | # kubernetes.io/ingress.class: nginx 283 | # kubernetes.io/tls-acme: "true" 284 | tls: [] 285 | # Secrets must be manually created in the namespace. 286 | # - secretName: chart-example-tls 287 | # hosts: 288 | # - chart-example.local 289 | 290 | podAnnotations: {} 291 | 292 | extraArgs: [] 293 | # --history.limit=1000 294 | 295 | replicas: 1 296 | ## Monitors ConfigMap changes and POSTs to a URL 297 | ## Ref: https://github.com/jimmidyson/configmap-reload 298 | ## 299 | configmapReload: 300 | ## configmap-reload container name 301 | ## 302 | name: configmap-reload 303 | 304 | ## configmap-reload container image 305 | ## 306 | image: 307 | repository: jimmidyson/configmap-reload 308 | tag: v0.2.2 309 | pullPolicy: IfNotPresent 310 | 311 | ## configmap-reload resource requests and limits 312 | ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/ 313 | ## 314 | resources: {} 315 | ``` 316 | 317 | --- 318 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 319 | -------------------------------------------------------------------------------- /examples/prometheus-stackdriver-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 1.8.2 4 | 5 | **Release date:** 2021-03-04 6 | 7 | ![AppVersion: 0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=0.11.0&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * Moving scrapeTimeout to the correct location. (#728) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 18 | index a956dcb..d615e3c 100644 19 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 20 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 21 | @@ -48,8 +48,6 @@ stackdriver: 22 | typePrefixes: 'compute.googleapis.com/instance/cpu' 23 | # The frequency to request 24 | interval: '5m' 25 | - # How long until a scrape request times out. 26 | - scrapeTimeout: '10s' 27 | # How far into the past to offset 28 | offset: '0s' 29 | 30 | @@ -97,6 +95,8 @@ serviceMonitor: 31 | namespace: monitoring 32 | # additionalLabels is the set of additional labels to add to the ServiceMonitor 33 | additionalLabels: {} 34 | + # How long until a scrape request times out. 35 | + scrapeTimeout: '10s' 36 | # fallback to the prometheus default unless specified 37 | # interval: 10s 38 | ## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) 39 | ``` 40 | 41 | ## 1.8.1 42 | 43 | **Release date:** 2021-03-03 44 | 45 | ![AppVersion: 0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=0.11.0&color=success&logo=) 46 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 47 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 48 | 49 | 50 | * Add feature for custom key. (#723) 51 | 52 | ### Default value changes 53 | 54 | ```diff 55 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 56 | index e974512..a956dcb 100644 57 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 58 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 59 | @@ -27,6 +27,8 @@ stackdriver: 60 | projectId: "FALSE" 61 | # An existing secret which contains credentials.json 62 | serviceAccountSecret: "" 63 | + # Provide custom key for the existing secret to load credentials.json from 64 | + serviceAccountSecretKey: "" 65 | # A service account key JSON file. Must be provided when no existing secret is used, in this case a new secret will be created holding this service account 66 | serviceAccountKey: "" 67 | # Max number of retries that should be attempted on 503 errors from Stackdriver 68 | ``` 69 | 70 | ## 1.8.0 71 | 72 | **Release date:** 2021-01-28 73 | 74 | ![AppVersion: 0.11.0](https://img.shields.io/static/v1?label=AppVersion&message=0.11.0&color=success&logo=) 75 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 76 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 77 | 78 | 79 | * Using prometheus community docker image instead of deprecated version (#618) 80 | 81 | ### Default value changes 82 | 83 | ```diff 84 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 85 | index 5bcd02c..e974512 100644 86 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 87 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 88 | @@ -5,8 +5,8 @@ replicaCount: 1 89 | restartPolicy: Always 90 | 91 | image: 92 | - repository: frodenas/stackdriver-exporter 93 | - tag: v0.6.0 94 | + repository: prometheuscommunity/stackdriver-exporter 95 | + tag: v0.11.0 96 | pullPolicy: IfNotPresent 97 | 98 | resources: {} 99 | ``` 100 | 101 | ## 1.7.0 102 | 103 | **Release date:** 2021-01-22 104 | 105 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 106 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 107 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 108 | 109 | 110 | * [stackdriver-exporter] feat: Adding relabeling config to serviceMonitor (#605) 111 | 112 | ### Default value changes 113 | 114 | ```diff 115 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 116 | index 917b488..5bcd02c 100644 117 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 118 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 119 | @@ -99,3 +99,7 @@ serviceMonitor: 120 | # interval: 10s 121 | ## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) 122 | honorLabels: true 123 | + # MetricRelabelConfigs to apply to samples before ingestion https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig 124 | + metricRelabelings: [] 125 | + # RelabelConfigs to apply to samples before scraping. https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig 126 | + relabelings: [] 127 | ``` 128 | 129 | ## 1.6.1 130 | 131 | **Release date:** 2021-01-09 132 | 133 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 134 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 135 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 136 | 137 | 138 | * fix: scrapeTimeout value (#527) 139 | 140 | ### Default value changes 141 | 142 | ```diff 143 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 144 | index 55b2985..917b488 100644 145 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 146 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 147 | @@ -47,7 +47,7 @@ stackdriver: 148 | # The frequency to request 149 | interval: '5m' 150 | # How long until a scrape request times out. 151 | - scrapeTimeout: 10s 152 | + scrapeTimeout: '10s' 153 | # How far into the past to offset 154 | offset: '0s' 155 | 156 | ``` 157 | 158 | ## 1.6.0 159 | 160 | **Release date:** 2020-12-29 161 | 162 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 163 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 164 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 165 | 166 | 167 | * [stackdriver-exporter] add scrapeTimeout parameter (#522) 168 | 169 | ### Default value changes 170 | 171 | ```diff 172 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 173 | index f8eb917..55b2985 100644 174 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 175 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 176 | @@ -46,6 +46,8 @@ stackdriver: 177 | typePrefixes: 'compute.googleapis.com/instance/cpu' 178 | # The frequency to request 179 | interval: '5m' 180 | + # How long until a scrape request times out. 181 | + scrapeTimeout: 10s 182 | # How far into the past to offset 183 | offset: '0s' 184 | 185 | ``` 186 | 187 | ## 1.5.0 188 | 189 | **Release date:** 2020-11-10 190 | 191 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 192 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 193 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 194 | 195 | 196 | * [prometheus-stackdriver-exporter] Add dropDelegatedProjects to stackdriver-exporter (#296) 197 | * Fix CI + add rpahli as maintainer 198 | * Update charts/prometheus-stackdriver-exporter/README.md 199 | 200 | ### Default value changes 201 | 202 | ```diff 203 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 204 | index 601c0cd..f8eb917 100644 205 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 206 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 207 | @@ -39,6 +39,8 @@ stackdriver: 208 | backoffJitter: 1s 209 | # The HTTP statuses that should trigger a retry 210 | retryStatuses: 503 211 | + # Drop metrics from attached projects and fetch `project_id` only 212 | + dropDelegatedProjects: false 213 | metrics: 214 | # The prefixes to gather metrics for, we default to just CPU metrics. 215 | typePrefixes: 'compute.googleapis.com/instance/cpu' 216 | ``` 217 | 218 | ## 1.4.0 219 | 220 | **Release date:** 2020-10-06 221 | 222 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 223 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 224 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 225 | 226 | 227 | * Bump Chart versions, adjust README 228 | 229 | ### Default value changes 230 | 231 | ```diff 232 | # No changes in this release 233 | ``` 234 | 235 | ## 1.3.0 236 | 237 | **Release date:** 2020-08-23 238 | 239 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 240 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 241 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 242 | 243 | 244 | * [stable/stackdriver-exporter] Allow to specify service account annotations (#23182) 245 | 246 | ### Default value changes 247 | 248 | ```diff 249 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 250 | index 668ba02..601c0cd 100644 251 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 252 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 253 | @@ -83,6 +83,7 @@ serviceAccount: 254 | # If not set and create is false, 'default' is used 255 | # If not set and create is true, a name is generated using the fullname template 256 | name: 257 | + annotations: {} 258 | 259 | # Enable this if you're using https://github.com/coreos/prometheus-operator 260 | serviceMonitor: 261 | ``` 262 | 263 | ## 1.2.3 264 | 265 | **Release date:** 2020-06-06 266 | 267 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 268 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 269 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 270 | 271 | 272 | * [stable/stackdriver-exporter] update k8s deployement api version (#21720) 273 | 274 | ### Default value changes 275 | 276 | ```diff 277 | # No changes in this release 278 | ``` 279 | 280 | ## 1.2.2 281 | 282 | **Release date:** 2019-12-30 283 | 284 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 285 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 286 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 287 | 288 | 289 | * [stable/stackdriver-exporter] - Add prometheus rule additionalLabels in servicemonitor.yaml (#19802) 290 | 291 | ### Default value changes 292 | 293 | ```diff 294 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 295 | index 75d6d26..668ba02 100644 296 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 297 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 298 | @@ -88,6 +88,8 @@ serviceAccount: 299 | serviceMonitor: 300 | enabled: false 301 | namespace: monitoring 302 | + # additionalLabels is the set of additional labels to add to the ServiceMonitor 303 | + additionalLabels: {} 304 | # fallback to the prometheus default unless specified 305 | # interval: 10s 306 | ## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) 307 | ``` 308 | 309 | ## 1.2.1 310 | 311 | **Release date:** 2019-09-04 312 | 313 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 314 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 315 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 316 | 317 | 318 | * [stable/stackdriver-exporter] Correct servicemonitor name (#16750) 319 | 320 | ### Default value changes 321 | 322 | ```diff 323 | # No changes in this release 324 | ``` 325 | 326 | ## 1.2.0 327 | 328 | **Release date:** 2019-09-01 329 | 330 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 331 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 332 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 333 | 334 | 335 | * [stable/stackdriver-exporter] Add support for Prometheus Operator ServiceMonitor (#16372) 336 | 337 | ### Default value changes 338 | 339 | ```diff 340 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 341 | index cb91ccf..75d6d26 100644 342 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 343 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 344 | @@ -83,3 +83,12 @@ serviceAccount: 345 | # If not set and create is false, 'default' is used 346 | # If not set and create is true, a name is generated using the fullname template 347 | name: 348 | + 349 | +# Enable this if you're using https://github.com/coreos/prometheus-operator 350 | +serviceMonitor: 351 | + enabled: false 352 | + namespace: monitoring 353 | + # fallback to the prometheus default unless specified 354 | + # interval: 10s 355 | + ## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) 356 | + honorLabels: true 357 | ``` 358 | 359 | ## 1.1.1 360 | 361 | **Release date:** 2019-07-29 362 | 363 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 364 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 365 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 366 | 367 | 368 | * stable/stackdriver-exporter: Allow setting of pod ServiceAccount name (#15931) 369 | 370 | ### Default value changes 371 | 372 | ```diff 373 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 374 | index ec3b8d9..cb91ccf 100644 375 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 376 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 377 | @@ -72,3 +72,14 @@ tolerations: [] 378 | # operator: "Equal|Exists" 379 | # value: "value" 380 | # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" 381 | + 382 | + 383 | +## Service Account 384 | +## 385 | +serviceAccount: 386 | + # Specifies whether a ServiceAccount should be created 387 | + create: false 388 | + # The name of the ServiceAccount to use. 389 | + # If not set and create is false, 'default' is used 390 | + # If not set and create is true, a name is generated using the fullname template 391 | + name: 392 | ``` 393 | 394 | ## 1.1.0 395 | 396 | **Release date:** 2019-04-26 397 | 398 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 399 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 400 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 401 | 402 | 403 | * stackdriver-exporter: allow google service account (#13214) 404 | 405 | ### Default value changes 406 | 407 | ```diff 408 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 409 | index 06612e8..ec3b8d9 100644 410 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 411 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 412 | @@ -25,6 +25,10 @@ service: 413 | stackdriver: 414 | # The Google Project ID to gather metrics for 415 | projectId: "FALSE" 416 | + # An existing secret which contains credentials.json 417 | + serviceAccountSecret: "" 418 | + # A service account key JSON file. Must be provided when no existing secret is used, in this case a new secret will be created holding this service account 419 | + serviceAccountKey: "" 420 | # Max number of retries that should be attempted on 503 errors from Stackdriver 421 | maxRetries: 0 422 | # How long should Stackdriver_exporter wait for a result from the Stackdriver API 423 | ``` 424 | 425 | ## 1.0.0 426 | 427 | **Release date:** 2019-03-05 428 | 429 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 430 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 431 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 432 | 433 | 434 | * add tolerations, affinity and nodeSelector to stackdriver-exporter (#11854) 435 | 436 | ### Default value changes 437 | 438 | ```diff 439 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 440 | index 931b02a..06612e8 100644 441 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 442 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 443 | @@ -49,4 +49,22 @@ web: 444 | # Path under which to expose metrics. 445 | path: /metrics 446 | 447 | +## Pod affinity 448 | +## 449 | +affinity: {} 450 | + 451 | annotations: {} 452 | + 453 | +## Node labels for stackdriver-exporter pod assignment 454 | +## Ref: https://kubernetes.io/docs/user-guide/node-selection/ 455 | +## 456 | +nodeSelector: {} 457 | + 458 | +## Node tolerations for stackdriver-exporter scheduling to nodes with taints 459 | +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ 460 | +## 461 | +tolerations: [] 462 | + # - key: "key" 463 | + # operator: "Equal|Exists" 464 | + # value: "value" 465 | + # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" 466 | ``` 467 | 468 | ## 0.0.6 469 | 470 | **Release date:** 2019-01-02 471 | 472 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 473 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 474 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 475 | 476 | 477 | * [stable/stackdriver-exporter] fix duplicated 'livenessProbe', add 'readinessProbe' (#10321) 478 | 479 | ### Default value changes 480 | 481 | ```diff 482 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 483 | index 07cc92e..931b02a 100644 484 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 485 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 486 | @@ -25,13 +25,13 @@ service: 487 | stackdriver: 488 | # The Google Project ID to gather metrics for 489 | projectId: "FALSE" 490 | - # Max number of retries that should be attempted on 503 errors from stackdriver 491 | + # Max number of retries that should be attempted on 503 errors from Stackdriver 492 | maxRetries: 0 493 | - # How long should stackdriver_exporter wait for a result from the Stackdriver API 494 | + # How long should Stackdriver_exporter wait for a result from the Stackdriver API 495 | httpTimeout: 10s 496 | # Max time between each request in an exp backoff scenario 497 | maxBackoff: 5s 498 | - # The amount of jitter to introduce in a exp backoff scenario 499 | + # The amount of jitter to introduce in an exp backoff scenario 500 | backoffJitter: 1s 501 | # The HTTP statuses that should trigger a retry 502 | retryStatuses: 503 503 | ``` 504 | 505 | ## 0.0.5 506 | 507 | **Release date:** 2018-12-19 508 | 509 | ![AppVersion: 0.6.0](https://img.shields.io/static/v1?label=AppVersion&message=0.6.0&color=success&logo=) 510 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 511 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 512 | 513 | 514 | * update stackdriver-exporter to 0.6.0 with new options (#10142) 515 | 516 | ### Default value changes 517 | 518 | ```diff 519 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 520 | index 9e75bd3..07cc92e 100644 521 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 522 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 523 | @@ -6,7 +6,7 @@ restartPolicy: Always 524 | 525 | image: 526 | repository: frodenas/stackdriver-exporter 527 | - tag: v0.5.1 528 | + tag: v0.6.0 529 | pullPolicy: IfNotPresent 530 | 531 | resources: {} 532 | @@ -25,6 +25,16 @@ service: 533 | stackdriver: 534 | # The Google Project ID to gather metrics for 535 | projectId: "FALSE" 536 | + # Max number of retries that should be attempted on 503 errors from stackdriver 537 | + maxRetries: 0 538 | + # How long should stackdriver_exporter wait for a result from the Stackdriver API 539 | + httpTimeout: 10s 540 | + # Max time between each request in an exp backoff scenario 541 | + maxBackoff: 5s 542 | + # The amount of jitter to introduce in a exp backoff scenario 543 | + backoffJitter: 1s 544 | + # The HTTP statuses that should trigger a retry 545 | + retryStatuses: 503 546 | metrics: 547 | # The prefixes to gather metrics for, we default to just CPU metrics. 548 | typePrefixes: 'compute.googleapis.com/instance/cpu' 549 | ``` 550 | 551 | ## 0.0.4 552 | 553 | **Release date:** 2018-04-27 554 | 555 | ![AppVersion: 0.5.1](https://img.shields.io/static/v1?label=AppVersion&message=0.5.1&color=success&logo=) 556 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 557 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 558 | 559 | 560 | * adding annotations (#5170) 561 | 562 | ### Default value changes 563 | 564 | ```diff 565 | diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml 566 | index 61c906e..9e75bd3 100644 567 | --- a/charts/prometheus-stackdriver-exporter/values.yaml 568 | +++ b/charts/prometheus-stackdriver-exporter/values.yaml 569 | @@ -38,3 +38,5 @@ web: 570 | listenAddress: ':9255' 571 | # Path under which to expose metrics. 572 | path: /metrics 573 | + 574 | +annotations: {} 575 | ``` 576 | 577 | ## 0.0.3 578 | 579 | **Release date:** 2018-04-19 580 | 581 | ![AppVersion: 0.5.1](https://img.shields.io/static/v1?label=AppVersion&message=0.5.1&color=success&logo=) 582 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 583 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 584 | 585 | 586 | * Typo fix in stackdriver-exporter/README.md: "for this to exporter to work"->"for this exporter to work" (#4940) 587 | 588 | ### Default value changes 589 | 590 | ```diff 591 | # No changes in this release 592 | ``` 593 | 594 | ## 0.0.2 595 | 596 | **Release date:** 2018-04-05 597 | 598 | ![AppVersion: 0.5.1](https://img.shields.io/static/v1?label=AppVersion&message=0.5.1&color=success&logo=) 599 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 600 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 601 | 602 | 603 | * Add home key for stackdriver-exporter (#4626) 604 | 605 | ### Default value changes 606 | 607 | ```diff 608 | # No changes in this release 609 | ``` 610 | 611 | ## 0.0.1 612 | 613 | **Release date:** 2018-03-27 614 | 615 | ![AppVersion: 0.5.1](https://img.shields.io/static/v1?label=AppVersion&message=0.5.1&color=success&logo=) 616 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 617 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 618 | 619 | 620 | * Add stackdriver-exporter (#4167) 621 | 622 | ### Default value changes 623 | 624 | ```diff 625 | # Number of exporters to run 626 | replicaCount: 1 627 | 628 | # Restart policy for container 629 | restartPolicy: Always 630 | 631 | image: 632 | repository: frodenas/stackdriver-exporter 633 | tag: v0.5.1 634 | pullPolicy: IfNotPresent 635 | 636 | resources: {} 637 | # requests: 638 | # cpu: 100m 639 | # memory: 128Mi 640 | # limits: 641 | # cpu: 100m 642 | # memory: 128Mi 643 | 644 | service: 645 | type: ClusterIP 646 | httpPort: 9255 647 | annotations: {} 648 | 649 | stackdriver: 650 | # The Google Project ID to gather metrics for 651 | projectId: "FALSE" 652 | metrics: 653 | # The prefixes to gather metrics for, we default to just CPU metrics. 654 | typePrefixes: 'compute.googleapis.com/instance/cpu' 655 | # The frequency to request 656 | interval: '5m' 657 | # How far into the past to offset 658 | offset: '0s' 659 | 660 | web: 661 | # Port to listen on 662 | listenAddress: ':9255' 663 | # Path under which to expose metrics. 664 | path: /metrics 665 | ``` 666 | 667 | --- 668 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 669 | -------------------------------------------------------------------------------- /examples/prometheus-statsd-exporter.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.3.1 4 | 5 | **Release date:** 2021-03-10 6 | 7 | ![AppVersion: 0.20.0](https://img.shields.io/static/v1?label=AppVersion&message=0.20.0&color=success&logo=) 8 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 9 | 10 | 11 | * prometheus-statsd-exporter - Fix statsd service monitor config (#732) 12 | 13 | ### Default value changes 14 | 15 | ```diff 16 | # No changes in this release 17 | ``` 18 | 19 | ## 0.3.0 20 | 21 | **Release date:** 2021-02-09 22 | 23 | ![AppVersion: 0.20.0](https://img.shields.io/static/v1?label=AppVersion&message=0.20.0&color=success&logo=) 24 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 25 | 26 | 27 | * update statsd-exporter version (#658) 28 | 29 | ### Default value changes 30 | 31 | ```diff 32 | diff --git a/charts/prometheus-statsd-exporter/values.yaml b/charts/prometheus-statsd-exporter/values.yaml 33 | index a7fc28f..26a99a0 100644 34 | --- a/charts/prometheus-statsd-exporter/values.yaml 35 | +++ b/charts/prometheus-statsd-exporter/values.yaml 36 | @@ -9,7 +9,7 @@ image: 37 | repository: prom/statsd-exporter 38 | pullPolicy: IfNotPresent 39 | # Overrides the image tag whose default is the chart appVersion. 40 | - tag: v0.18.0 41 | + tag: v0.20.0 42 | 43 | imagePullSecrets: [] 44 | nameOverride: "" 45 | ``` 46 | 47 | ## 0.2.0 48 | 49 | **Release date:** 2021-01-09 50 | 51 | ![AppVersion: 0.18.0](https://img.shields.io/static/v1?label=AppVersion&message=0.18.0&color=success&logo=) 52 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 53 | 54 | 55 | * [prometheus-statsd-exporter] Adding `honorLabels` to `statsd-exporter` `ServiceMonitor` (#534) 56 | 57 | ### Default value changes 58 | 59 | ```diff 60 | diff --git a/charts/prometheus-statsd-exporter/values.yaml b/charts/prometheus-statsd-exporter/values.yaml 61 | index d10d3d1..a7fc28f 100644 62 | --- a/charts/prometheus-statsd-exporter/values.yaml 63 | +++ b/charts/prometheus-statsd-exporter/values.yaml 64 | @@ -47,6 +47,7 @@ serviceMonitor: 65 | interval: 30s 66 | scrapeTimeout: 10s 67 | namespace: monitoring 68 | + honorLabels: false 69 | additionalLabels: {} 70 | 71 | serviceAccount: 72 | ``` 73 | 74 | ## 0.1.0 75 | 76 | **Release date:** 2020-12-08 77 | 78 | ![AppVersion: 0.18.0](https://img.shields.io/static/v1?label=AppVersion&message=0.18.0&color=success&logo=) 79 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 80 | 81 | 82 | * [prometheus-statsd-exporter] add first release (#449) 83 | 84 | ### Default value changes 85 | 86 | ```diff 87 | # Default values for prometheus-statsd-exporter. 88 | # This is a YAML-formatted file. 89 | # Declare variables to be passed into your templates. 90 | 91 | replicaCount: 1 92 | # deploymentRevisionHistoryLimit: 10 93 | 94 | image: 95 | repository: prom/statsd-exporter 96 | pullPolicy: IfNotPresent 97 | # Overrides the image tag whose default is the chart appVersion. 98 | tag: v0.18.0 99 | 100 | imagePullSecrets: [] 101 | nameOverride: "" 102 | fullnameOverride: "" 103 | 104 | 105 | statsd: 106 | # The UDP port on which to receive statsd metric lines. 107 | udpPort: 9125 108 | 109 | # The TCP port on which to receive statsd metric lines. 110 | tcpPort: 9125 111 | 112 | # Maximum size of your metric mapping cache. 113 | # Relies on least recently used replacement policy if max size is reached. 114 | cacheSize: 1000 115 | 116 | # Size of internal queue for processing events. 117 | eventQueueSize: 10000 118 | 119 | # Number of events to hold in queue before flushing. 120 | eventFlushThreshold: 1000 121 | 122 | # Time interval before flushing events in queue. 123 | eventFlushInterval: 200ms 124 | 125 | # Metric mapping ConfigMap 126 | # mappingConfigMapName: "" 127 | 128 | # Metric mapping configuration 129 | # mappingConfig: |- 130 | 131 | serviceMonitor: 132 | enabled: false 133 | interval: 30s 134 | scrapeTimeout: 10s 135 | namespace: monitoring 136 | additionalLabels: {} 137 | 138 | serviceAccount: 139 | # Specifies whether a service account should be created 140 | create: true 141 | # Annotations to add to the service account 142 | annotations: {} 143 | # The name of the service account to use. 144 | # If not set and create is true, a name is generated using the fullname template 145 | name: "" 146 | 147 | podAnnotations: {} 148 | 149 | podSecurityContext: {} 150 | # fsGroup: 2000 151 | 152 | securityContext: {} 153 | # capabilities: 154 | # drop: 155 | # - ALL 156 | # readOnlyRootFilesystem: true 157 | # runAsNonRoot: true 158 | # runAsUser: 1000 159 | 160 | service: 161 | type: ClusterIP 162 | # The address on which to expose the web interface and generated Prometheus metrics. 163 | port: 9102 164 | # Path under which to expose metrics. 165 | path: /metrics 166 | annotations: {} 167 | 168 | ingress: 169 | enabled: false 170 | annotations: {} 171 | # kubernetes.io/ingress.class: nginx 172 | # kubernetes.io/tls-acme: "true" 173 | hosts: 174 | - host: chart-example.local 175 | # pathType: ImplementationSpecific # only Kubernetes v1.19+ 176 | paths: [] 177 | tls: [] 178 | # - secretName: chart-example-tls 179 | # hosts: 180 | # - chart-example.local 181 | 182 | resources: {} 183 | # We usually recommend not to specify default resources and to leave this as a conscious 184 | # choice for the user. This also increases chances charts run on environments with little 185 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 186 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 187 | # limits: 188 | # cpu: 100m 189 | # memory: 128Mi 190 | # requests: 191 | # cpu: 100m 192 | # memory: 128Mi 193 | 194 | autoscaling: 195 | enabled: false 196 | minReplicas: 1 197 | maxReplicas: 100 198 | targetCPUUtilizationPercentage: 80 199 | # targetMemoryUtilizationPercentage: 80 200 | 201 | nodeSelector: {} 202 | 203 | tolerations: [] 204 | 205 | affinity: {} 206 | ``` 207 | 208 | --- 209 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 210 | -------------------------------------------------------------------------------- /examples/prometheus-to-sd.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.4.0 4 | 5 | **Release date:** 2021-01-20 6 | 7 | ![AppVersion: 0.5.2](https://img.shields.io/static/v1?label=AppVersion&message=0.5.2&color=success&logo=) 8 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 9 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 10 | 11 | 12 | * [prometheus-to-sd]add optional monitoredResourceTypes (#591) 13 | 14 | ### Default value changes 15 | 16 | ```diff 17 | diff --git a/charts/prometheus-to-sd/values.yaml b/charts/prometheus-to-sd/values.yaml 18 | index 187a48b..c90b44d 100644 19 | --- a/charts/prometheus-to-sd/values.yaml 20 | +++ b/charts/prometheus-to-sd/values.yaml 21 | @@ -7,5 +7,7 @@ resources: {} 22 | port: 6060 23 | metricsSources: 24 | kube-state-metrics: http://kube-state-metrics:8080 25 | +# The monitored resource types to use, either the legacy 'gke_container', or the new 'k8s' 26 | +monitoredResourceTypes: gke_container 27 | nodeSelector: {} 28 | tolerations: [] 29 | ``` 30 | 31 | ## 0.3.1 32 | 33 | **Release date:** 2020-08-20 34 | 35 | ![AppVersion: 0.5.2](https://img.shields.io/static/v1?label=AppVersion&message=0.5.2&color=success&logo=) 36 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 37 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 38 | 39 | 40 | * Prep initial charts indexing (#14) 41 | 42 | ### Default value changes 43 | 44 | ```diff 45 | # No changes in this release 46 | ``` 47 | 48 | ## 0.3.0 49 | 50 | **Release date:** 2019-10-02 51 | 52 | ![AppVersion: 0.5.2](https://img.shields.io/static/v1?label=AppVersion&message=0.5.2&color=success&logo=) 53 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 54 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 55 | 56 | 57 | * [stable/prometheus-to-sd] Add tolerations support for prometheus-to-sd (#17615) 58 | 59 | ### Default value changes 60 | 61 | ```diff 62 | diff --git a/charts/prometheus-to-sd/values.yaml b/charts/prometheus-to-sd/values.yaml 63 | index 364bfd1..187a48b 100644 64 | --- a/charts/prometheus-to-sd/values.yaml 65 | +++ b/charts/prometheus-to-sd/values.yaml 66 | @@ -8,3 +8,4 @@ port: 6060 67 | metricsSources: 68 | kube-state-metrics: http://kube-state-metrics:8080 69 | nodeSelector: {} 70 | +tolerations: [] 71 | ``` 72 | 73 | ## 0.2.0 74 | 75 | **Release date:** 2019-07-15 76 | 77 | ![AppVersion: 0.5.2](https://img.shields.io/static/v1?label=AppVersion&message=0.5.2&color=success&logo=) 78 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 79 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 80 | 81 | 82 | * Adding acondrat to prometheus-to-sd owners (#14827) 83 | 84 | ### Default value changes 85 | 86 | ```diff 87 | diff --git a/charts/prometheus-to-sd/values.yaml b/charts/prometheus-to-sd/values.yaml 88 | index 5ba9bfe..364bfd1 100644 89 | --- a/charts/prometheus-to-sd/values.yaml 90 | +++ b/charts/prometheus-to-sd/values.yaml 91 | @@ -1,9 +1,10 @@ 92 | replicaCount: 1 93 | image: 94 | repository: gcr.io/google-containers/prometheus-to-sd 95 | - tag: v0.2.2 96 | + tag: v0.5.2 97 | pullPolicy: IfNotPresent 98 | resources: {} 99 | port: 6060 100 | -metricsSources: {} 101 | +metricsSources: 102 | + kube-state-metrics: http://kube-state-metrics:8080 103 | nodeSelector: {} 104 | ``` 105 | 106 | ## 0.1.1 107 | 108 | **Release date:** 2018-06-22 109 | 110 | ![AppVersion: 0.2.2](https://img.shields.io/static/v1?label=AppVersion&message=0.2.2&color=success&logo=) 111 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 112 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 113 | 114 | 115 | * [stable/prometheus-to-sd] typo fix: tables lists->table lists (#5719) 116 | 117 | ### Default value changes 118 | 119 | ```diff 120 | # No changes in this release 121 | ``` 122 | 123 | ## 0.1.0 124 | 125 | **Release date:** 2017-11-24 126 | 127 | ![AppVersion: 0.2.2](https://img.shields.io/static/v1?label=AppVersion&message=0.2.2&color=success&logo=) 128 | ![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) 129 | ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) 130 | 131 | 132 | * Adding prometheus-to-sd chart (#2363) 133 | 134 | ### Default value changes 135 | 136 | ```diff 137 | replicaCount: 1 138 | image: 139 | repository: gcr.io/google-containers/prometheus-to-sd 140 | tag: v0.2.2 141 | pullPolicy: IfNotPresent 142 | resources: {} 143 | port: 6060 144 | metricsSources: {} 145 | nodeSelector: {} 146 | ``` 147 | 148 | --- 149 | Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) 150 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mogensen/helm-changelog 2 | 3 | go 1.16 4 | 5 | require ( 6 | github.com/kr/text v0.2.0 // indirect 7 | github.com/sirupsen/logrus v1.8.1 8 | github.com/spf13/cobra v1.1.3 9 | github.com/stretchr/testify v1.4.0 // indirect 10 | golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43 // indirect 11 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect 12 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 13 | ) 14 | -------------------------------------------------------------------------------- /hack/integration-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p charts 4 | mkdir -p examples 5 | 6 | git clone git@github.com:prometheus-community/helm-charts.git charts/prometheus-community || true 7 | ( 8 | cd charts/prometheus-community/ 9 | git pull 10 | ../../bin/helm-changelog -v info 11 | ) 12 | 13 | rm examples/*.md 14 | 15 | for changelog in $(find charts -name 'Changelog.md'); do 16 | echo $changelog 17 | dirName=$(dirname $changelog) 18 | cp $changelog examples/$(basename ${dirName}).md 19 | done 20 | -------------------------------------------------------------------------------- /hack/update-readme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | MAKE_HELPTEXT=$(make -s help | sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g') 4 | export MAKE_HELPTEXT 5 | 6 | HELM_CHANGELOG_HELPTEXT=$(./bin/helm-changelog -h) 7 | export HELM_CHANGELOG_HELPTEXT 8 | 9 | cat README.tmpl.md | gomplate > README.md 10 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "github.com/mogensen/helm-changelog/cmd" 4 | 5 | func main() { 6 | cmd.Execute() 7 | } 8 | -------------------------------------------------------------------------------- /pkg/git/git.go: -------------------------------------------------------------------------------- 1 | package git 2 | 3 | import ( 4 | "bytes" 5 | "errors" 6 | "io" 7 | "os/exec" 8 | "strings" 9 | 10 | "github.com/sirupsen/logrus" 11 | "gopkg.in/yaml.v3" 12 | ) 13 | 14 | type Git struct { 15 | Log *logrus.Logger 16 | } 17 | 18 | func (g *Git) FindGitRepositoryRoot() (string, error) { 19 | cmd := exec.Command("git", "rev-parse", "--show-toplevel") 20 | g.Log.Debugln(cmd) 21 | 22 | out, err := cmd.Output() 23 | if err != nil { 24 | return "", err 25 | } 26 | 27 | g.Log.Debugf("Result: %s", out) 28 | return strings.TrimSpace(string(out)), nil 29 | } 30 | 31 | func (g *Git) GetFileContent(hash, filePath string) (string, error) { 32 | cmd := exec.Command("git", "cat-file", "-p", hash+":"+filePath) 33 | g.Log.Debugln(cmd) 34 | 35 | out, err := cmd.Output() 36 | if err != nil { 37 | return "", err 38 | } 39 | 40 | g.Log.Debugf("Result: %s", out) 41 | return string(out), nil 42 | } 43 | 44 | func (g *Git) GetAllCommits(chartPath string) ([]GitCommit, error) { 45 | cmd := exec.Command( 46 | "git", 47 | "log", 48 | "--date=iso-strict", 49 | "--reverse", 50 | gitformat, 51 | "--", 52 | chartPath, 53 | ":(exclude)"+chartPath+"/Changelog.md", 54 | ) 55 | g.Log.Debugln(cmd) 56 | 57 | out, err := cmd.Output() 58 | if err != nil || len(out) == 0 { 59 | return []GitCommit{}, err 60 | } 61 | 62 | g.Log.Debugf("Result: %s", out) 63 | 64 | gitCommitList := []GitCommit{} 65 | dec := yaml.NewDecoder(bytes.NewReader(out)) 66 | 67 | for { 68 | // create new GitCommit here 69 | t := new(GitCommit) 70 | // pass a reference to GitCommit reference 71 | err := dec.Decode(&t) 72 | if t == nil { 73 | continue 74 | } 75 | 76 | // break the loop in case of EOF 77 | if errors.Is(err, io.EOF) { 78 | break 79 | } 80 | 81 | if err != nil { 82 | g.Log.Error(err) 83 | continue 84 | } 85 | 86 | g.Log.Debugf("commit: %s %s", t.Commit, t.Subject) 87 | gitCommitList = append(gitCommitList, *t) 88 | } 89 | 90 | return gitCommitList, nil 91 | } 92 | 93 | func (g *Git) GetDiffBetweenCommits(start, end, diffPath string) (string, error) { 94 | if start == end { 95 | return "", nil 96 | } 97 | cmd := exec.Command( 98 | "git", 99 | "--no-pager", 100 | "diff", 101 | start+"..."+end, 102 | "--", 103 | diffPath, 104 | ) 105 | g.Log.Debugln(cmd) 106 | 107 | out, err := cmd.Output() 108 | if err != nil { 109 | return "err", err 110 | } 111 | 112 | g.Log.Debugf("Result: %s", out) 113 | return string(out), nil 114 | } 115 | -------------------------------------------------------------------------------- /pkg/git/models.go: -------------------------------------------------------------------------------- 1 | package git 2 | 3 | import "time" 4 | 5 | // gitformat defines a yaml formatting string for git 6 | var gitformat string = `--pretty=format: 7 | --- 8 | commit: "%H" 9 | parent: "%P" 10 | refs: "%D" 11 | subject: |- 12 | %s 13 | 14 | author: { "name": "%aN", "email": "%aE", "date": "%ad" } 15 | commiter: { "name": "%cN", "email": "%cE", "date": "%cd" } 16 | ` 17 | 18 | type GitPerson struct { 19 | Name string `yaml:"name"` 20 | Email string `yaml:"email"` 21 | Date *time.Time `yaml:"date"` 22 | } 23 | 24 | type GitCommit struct { 25 | Commit string `yaml:"commit"` 26 | Parent string `yaml:"parent"` 27 | Refs string `yaml:"refs"` 28 | Subject string `yaml:"subject"` 29 | Author GitPerson `yaml:"author"` 30 | Commiter GitPerson `yaml:"commiter"` 31 | } 32 | -------------------------------------------------------------------------------- /pkg/helm/find_chars.go: -------------------------------------------------------------------------------- 1 | package helm 2 | 3 | import ( 4 | "os" 5 | "path/filepath" 6 | ) 7 | 8 | // FindCharts locates all "Chart.yaml" files in the current directory, and all sub-directories 9 | func FindCharts(chartSearchDir string) ([]string, error) { 10 | fileList := []string{} 11 | err := filepath.Walk(chartSearchDir, func(path string, f os.FileInfo, err error) error { 12 | fileName := filepath.Base(path) 13 | if fileName == "Chart.yaml" { 14 | fileList = append(fileList, path) 15 | } 16 | return nil 17 | }) 18 | return fileList, err 19 | } 20 | -------------------------------------------------------------------------------- /pkg/helm/models.go: -------------------------------------------------------------------------------- 1 | package helm 2 | 3 | import ( 4 | "io" 5 | "time" 6 | 7 | "github.com/mogensen/helm-changelog/pkg/git" 8 | "gopkg.in/yaml.v3" 9 | ) 10 | 11 | // Chart contains all info about a chart from the Chart.yaml file 12 | type Chart struct { 13 | APIVersion string `yaml:"apiVersion"` 14 | AppVersion string `yaml:"appVersion"` 15 | KubeVersion string `yaml:"kubeVersion"` 16 | Name string 17 | Deprecated bool 18 | Description string 19 | Version string 20 | } 21 | 22 | // Release represents a release of a Helm Chart including: 23 | // - metadata for the released chart 24 | // - all commits 25 | // - the difference in default values 26 | type Release struct { 27 | ReleaseDate *time.Time 28 | Chart Chart 29 | ValueDiff string 30 | Commits []git.GitCommit 31 | } 32 | 33 | // GetChart reads the content of the io.Reader and unmarshals the content into a Chart struct 34 | func GetChart(chartFile io.Reader) (Chart, error) { 35 | chartMeta := Chart{} 36 | decoder := yaml.NewDecoder(chartFile) 37 | err := decoder.Decode(&chartMeta) 38 | return chartMeta, err 39 | } 40 | -------------------------------------------------------------------------------- /pkg/helm/releases.go: -------------------------------------------------------------------------------- 1 | package helm 2 | 3 | import ( 4 | "path/filepath" 5 | "strings" 6 | 7 | "github.com/mogensen/helm-changelog/pkg/git" 8 | "github.com/sirupsen/logrus" 9 | ) 10 | 11 | func CreateHelmReleases(log *logrus.Logger, chartFile, chartDir string, g git.Git, commits []git.GitCommit) []*Release { 12 | 13 | res := []*Release{} 14 | currentRelease := "" 15 | releaseCommits := []git.GitCommit{} 16 | 17 | log.Infof(" - Found commits for chart: %d\n", len(commits)) 18 | 19 | for _, l := range commits { 20 | 21 | releaseCommits = append(releaseCommits, l) 22 | 23 | chartContent, err := g.GetFileContent(l.Commit, chartFile) 24 | if err != nil { 25 | log.Infof("Chart.yaml not found in: %s\n", l.Commit) 26 | continue 27 | } 28 | 29 | chart, err := GetChart(strings.NewReader(chartContent)) 30 | if err != nil { 31 | log.Warnf("Ignoring Chart.yaml file that cannot be parsed: %s", err) 32 | continue 33 | } 34 | 35 | if chart.Version != currentRelease { 36 | log.Infof(" - Found version: %s\n", chart.Version) 37 | 38 | r := &Release{ 39 | ReleaseDate: l.Author.Date, 40 | Chart: chart, 41 | Commits: releaseCommits, 42 | } 43 | res = append(res, r) 44 | currentRelease = chart.Version 45 | releaseCommits = []git.GitCommit{} 46 | } 47 | } 48 | 49 | // Check if we have any unreleased commits 50 | if len(releaseCommits) > 0 { 51 | chartContent, err := g.GetFileContent("HEAD", chartFile) 52 | if err == nil { 53 | chart, err := GetChart(strings.NewReader(chartContent)) 54 | if err != nil { 55 | log.Warnf("Ignoring Chart.yaml file that cannot be parsed: %s", err) 56 | } else { 57 | chart.Version = "Next Release" 58 | res = append(res, &Release{ 59 | ReleaseDate: nil, 60 | Chart: chart, 61 | Commits: releaseCommits, 62 | }) 63 | } 64 | } 65 | } 66 | 67 | // Diff values files across versions 68 | createValueDiffs(res, g, chartFile, chartDir) 69 | 70 | return res 71 | } 72 | 73 | func createValueDiffs(res []*Release, g git.Git, chartFile, chartDir string) { 74 | 75 | fullValuesFile := filepath.Join(filepath.Dir(chartFile), "values.yaml") 76 | relativeValuesFile := filepath.Join(chartDir, "values.yaml") 77 | // Diff values files across versions 78 | for v, release := range res { 79 | diff := "" 80 | if v > 0 { 81 | lastRelease := res[v-1] 82 | diff, _ = g.GetDiffBetweenCommits(lastRelease.Commits[len(lastRelease.Commits)-1].Commit, release.Commits[len(release.Commits)-1].Commit, relativeValuesFile) 83 | } else { 84 | diff, _ = g.GetFileContent(release.Commits[0].Commit, fullValuesFile) 85 | } 86 | release.ValueDiff = diff 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /pkg/output/markdown.go: -------------------------------------------------------------------------------- 1 | package output 2 | 3 | import ( 4 | "fmt" 5 | "net/url" 6 | "os" 7 | 8 | "github.com/sirupsen/logrus" 9 | 10 | "github.com/mogensen/helm-changelog/pkg/helm" 11 | ) 12 | 13 | // Markdown creates a markdown representation of the changelog at the changeLogFilePath path 14 | func Markdown(log *logrus.Logger, changeLogFilePath string, releases []*helm.Release) { 15 | 16 | // reverse commits 17 | for _, release := range releases { 18 | release.Commits = reverseCommits(release.Commits) 19 | } 20 | 21 | // reverse releases 22 | releases = reverseReleases(releases) 23 | 24 | log.Debugf("Creating changelog file: %s", changeLogFilePath) 25 | f, err := os.Create(changeLogFilePath) 26 | if err != nil { 27 | log.Fatalf("Failed creating changelog file") 28 | } 29 | 30 | defer f.Close() 31 | 32 | f.WriteString("# Change Log\n\n") 33 | 34 | for _, release := range releases { 35 | 36 | if release.Chart.Deprecated { 37 | f.WriteString(fmt.Sprintf("## %s (DEPRECATED)\n\n", release.Chart.Version)) 38 | } else { 39 | f.WriteString(fmt.Sprintf("## %s\n\n", release.Chart.Version)) 40 | } 41 | 42 | if release.ReleaseDate != nil { 43 | f.WriteString(fmt.Sprintf("**Release date:** %s\n\n", release.ReleaseDate.Format("2006-01-02"))) 44 | } 45 | 46 | if release.Chart.AppVersion != "" { 47 | f.WriteString(badge("AppVersion", release.Chart.AppVersion, "", "success")) 48 | } 49 | 50 | if release.Chart.KubeVersion != "" { 51 | f.WriteString(badge("Kubernetes", release.Chart.KubeVersion, "kubernetes", "informational")) 52 | } 53 | 54 | if release.Chart.APIVersion == "" { 55 | f.WriteString(badge("Helm", "v2", "helm", "inactive")) 56 | } 57 | 58 | if release.Chart.APIVersion == "v1" { 59 | f.WriteString(badge("Helm", "v2", "helm", "inactive")) 60 | f.WriteString(badge("Helm", "v3", "helm", "informational")) 61 | } 62 | 63 | if release.Chart.APIVersion == "v2" { 64 | f.WriteString(badge("Helm", "v3", "helm", "informational")) 65 | } 66 | 67 | f.WriteString("\n\n") 68 | 69 | for _, l := range release.Commits { 70 | f.WriteString(fmt.Sprintf("* %s\n", l.Subject)) 71 | } 72 | 73 | f.WriteString("\n") 74 | f.WriteString("### Default value changes\n\n") 75 | f.WriteString("```diff\n") 76 | if release.ValueDiff == "" { 77 | f.WriteString("# No changes in this release\n") 78 | } else { 79 | f.WriteString(release.ValueDiff) 80 | } 81 | f.WriteString("```\n") 82 | 83 | f.WriteString("\n") 84 | } 85 | 86 | f.WriteString("---\n") 87 | // TODO Add version number 88 | f.WriteString(fmt.Sprintf("Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog)\n")) 89 | } 90 | 91 | func badge(key, value, icon, style string) string { 92 | return fmt.Sprintf("![%s: %s](https://img.shields.io/static/v1?label=%s&message=%s&color=%s&logo=%s)\n", key, value, key, url.QueryEscape(value), style, icon) 93 | } 94 | -------------------------------------------------------------------------------- /pkg/output/utils.go: -------------------------------------------------------------------------------- 1 | package output 2 | 3 | import ( 4 | "github.com/mogensen/helm-changelog/pkg/git" 5 | "github.com/mogensen/helm-changelog/pkg/helm" 6 | ) 7 | 8 | func reverseReleases(a []*helm.Release) []*helm.Release { 9 | reversed := []*helm.Release{} 10 | for i := range a { 11 | n := a[len(a)-1-i] 12 | reversed = append(reversed, n) 13 | } 14 | return reversed 15 | } 16 | 17 | func reverseCommits(a []git.GitCommit) []git.GitCommit { 18 | reversed := []git.GitCommit{} 19 | for i := range a { 20 | n := a[len(a)-1-i] 21 | reversed = append(reversed, n) 22 | } 23 | return reversed 24 | } 25 | --------------------------------------------------------------------------------