Commit graph

115 commits

Author SHA1 Message Date
Jan Graefen
3e6f85d47f fix: Correct settings for YAML files 2023-01-25 21:36:40 +01:00
Jan Graefen
f08c984062 Release Helm chart for v0.7.0 2023-01-25 21:35:45 +01:00
Jan Graefen
3bb06341c1 chore: Add new feature to the README 2023-01-25 21:27:50 +01:00
Jan Graefen
0e6fbf496b chore: Add tests for new additional labels feature 2023-01-25 21:23:54 +01:00
Rikard Gynnerstedt
fca0b5f77b
Add additional labels flag (#48)
* added additional tags flag

* move additional labels to base fetcher

* find label function instead of jump label

* bugfix to labels not correctly set when -additional-labels flag not present

* check for more than 0, instead of 1
2023-01-25 20:24:33 +01:00
dependabot[bot]
984c5e479e
Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#49)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 19:06:49 +01:00
dependabot[bot]
6999c9816e
Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 (#47)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.24.2...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 20:02:22 +01:00
dependabot[bot]
c85fb1026f
Bump helm/chart-releaser-action in /.github/workflows (#45)
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 21:12:12 +01:00
Jan Gräfen
579acc7287
chore: Run test only on main 2023-01-05 18:34:46 +01:00
dependabot[bot]
0693b57201
Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (#43)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 18:31:12 +01:00
Jan Gräfen
a1f4153d13 Release helm chart 2022-12-29 16:14:16 +01:00
Jan Gräfen
954c98f013
feat: Add type label for IPs (#41)
* feat: Add type label for IPs
* Fix tests
2022-12-29 15:58:04 +01:00
Jan Gräfen
154bcd2d3e chore: Enable test for primary IPs 2022-12-29 15:44:23 +01:00
Jan Gräfen
f11439b7ba Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-29 14:48:38 +01:00
Jan Gräfen
fef11efe58 chore: Fix linting issue since hcloud upgrade 2022-12-29 14:47:54 +01:00
Nils
ce48c3f951
fix: Adjust for new primary ip pricing format and ignore v6 (#40) 2022-12-29 14:45:14 +01:00
Jan Gräfen
1ab16d7a81 chore: Upgrade hcloud-go to latest version 2022-12-29 14:44:20 +01:00
Jan Gräfen
7ae251751f
chore: Add test suite draft for most of the fetchers (#42)
* Add test suite draft for most of the fetchers
* Make the tests passing
* Suppress code duplication warning
* Add tests to actions
* Add hcloud token to test action
* Move test files to own folder
* Rename tests to e2e tests
* Fix wrong type guard
2022-12-29 00:56:37 +01:00
Jan Graefen
3600616dda Fix versioning of docker images 2022-12-27 13:42:41 +01:00
Jan Graefen
077338b90e Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-15 22:02:07 +01:00
Jan Graefen
9663bcced0 Fix build status shield 2022-12-15 22:01:47 +01:00
dependabot[bot]
8a2c64957a Bump docker/setup-buildx-action from 1 to 2 in /.github/workflows
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:49:11 +01:00
dependabot[bot]
32c7168878 Bump docker/build-push-action from 2 to 3 in /.github/workflows
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:49:03 +01:00
dependabot[bot]
e6bdbcf2e5 Bump github/codeql-action from 1 to 2 in /.github/workflows
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:48:55 +01:00
Jan Graefen
b8186f6b3c Release of helm chart for v0.5.0 2022-12-14 16:02:05 +01:00
Jan Graefen
268d1f9f57 Fix constructor for primary IP collector 2022-12-14 15:37:54 +01:00
Jan Graefen
8df2d29893 Fix line endings 2022-12-14 15:36:50 +01:00
Jan Graefen
05dc439f7f Add support for primary IPs 2022-12-14 15:29:15 +01:00
dependabot[bot]
5d61524891 Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:47:52 +01:00
Jan Graefen
074e0cd860 Fix golangci issue 2022-12-14 14:45:48 +01:00
dependabot[bot]
7c7234fe8e Bump github.com/hetznercloud/hcloud-go from 1.35.2 to 1.38.0
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.35.2 to 1.38.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.35.2...v1.38.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:41:31 +01:00
Jan Graefen
6f5fa2c782 Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-14 14:39:04 +01:00
Jan Graefen
bf2ae7a0f4 Adapt go linting 2022-12-14 14:38:40 +01:00
dependabot[bot]
07caf20dc4 Bump goreleaser/goreleaser-action from 2 to 4 in /.github/workflows
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:36:04 +01:00
dependabot[bot]
d717f703b8 Bump docker/login-action from 1 to 2 in /.github/workflows
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:55 +01:00
dependabot[bot]
9a86f71039 Bump helm/chart-releaser-action in /.github/workflows
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.2.0...v1.4.1)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:45 +01:00
dependabot[bot]
9409e90126 Bump crazy-max/ghaction-docker-meta from 1 to 4 in /.github/workflows
Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 1 to 4.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-meta/compare/v1...v4)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:36 +01:00
dependabot[bot]
b01797e628 Bump azure/setup-helm from 1 to 3 in /.github/workflows
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 1 to 3.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v1...v3)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:26 +01:00
Jan Graefen
30bb17cc29 Do some basic chores 2022-12-14 14:33:16 +01:00
dependabot[bot]
4962f36150 Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 11:55:42 +02:00
dependabot[bot]
d9113d4057 Bump github.com/hetznercloud/hcloud-go from 1.35.1 to 1.35.2
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.35.1 to 1.35.2.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.35.1...v1.35.2)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 22:25:28 +02:00
Jan Gräfen
6b1b22dfd0
Merge pull request #22 from jangraefen/dependabot/go_modules/github.com/hetznercloud/hcloud-go-1.35.1
Bump github.com/hetznercloud/hcloud-go from 1.34.0 to 1.35.1
2022-07-05 07:38:07 +02:00
dependabot[bot]
8aad02515d
Bump github.com/hetznercloud/hcloud-go from 1.34.0 to 1.35.1
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.34.0...v1.35.1)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 04:18:24 +00:00
Jan Gräfen
9a1efca966
Merge pull request #20 from jangraefen/dependabot/go_modules/github.com/hetznercloud/hcloud-go-1.34.0
Bump github.com/hetznercloud/hcloud-go from 1.33.2 to 1.34.0
2022-06-17 15:31:05 +02:00
dependabot[bot]
32c30dbe6c
Bump github.com/hetznercloud/hcloud-go from 1.33.2 to 1.34.0
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.33.2 to 1.34.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.33.2...v1.34.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 04:16:54 +00:00
Jan Gräfen
3f47efca14
Merge pull request #19 from jangraefen/dependabot/go_modules/github.com/prometheus/client_golang-1.12.2
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
2022-05-31 12:31:10 +02:00
dependabot[bot]
89a8237171
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 04:19:29 +00:00
Jan Gräfen
bee2950375
Merge pull request #18 from jangraefen/chore/upgrade-to-go-18
Upgrade to go 1.18 and general maintanence
2022-05-07 16:49:53 +02:00
Jan Graefen
ddeb55312a Remove deprecated linter 2022-05-07 16:32:50 +02:00
Jan Graefen
907b7c10ff Update linter config 2022-05-07 16:30:12 +02:00