Commit Graph
1613 Commits
Author SHA1 Message Date
Jean-Philippe Evrard 19bf5bf224 Bump prometheus
This is required by the vendoring of kubectl.
2020-10-15 13:02:39 +02:00
Jean-Philippe Evrard 72c4112e20 Use kubectl as library instead of calling from cli 2020-10-15 13:02:35 +02:00
Vicente Zepeda Mas 2f740b7f9a Added support for time wrap in timewindow.Contains
Add test scenarios to test new cases
Organize test scenarios chronologically

Signed-off-by: Vicente Zepeda Mas <vzepedamas@suse.com>
2020-09-28 13:58:43 +02:00
dependabot[bot] cf58d9a777 Bump k8s.io/apimachinery from 0.18.8 to 0.19.2
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.18.8 to 0.19.2.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.18.8...v0.19.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-17 05:53:07 +00:00
Daniel Holbach 553e061b94 Merge pull request #199 from evrardjp/ci/add-security-scanner
feat: Add security scanning into CI
2020-09-14 14:50:34 +02:00
Daniel Holbach 598964b0f6 Merge pull request #198 from evrardjp/fix/DKL-DI-0004
fix: Follow DKL-DI-0004 guideline
2020-09-14 12:32:40 +02:00
Jean-Philippe Evrard b0bd603931 fix: Follow DKL-DI-0004 guideline
Without this patch, we need to build a cache, remove it.
Since apk allows to work with no-cache and won't leave artifacts,
we should use it.

This will make the dockle best practices scanner happier.
2020-09-11 16:53:59 +02:00
Jean-Philippe Evrard 8961cbf262 feat: Add security scanning into CI
Without this patch, there is no way we can see, in the development
process, if the image we are about to publish is insecure.

This is a problem as we might be releasing new versions of kured
with outdated base image which contains vulnerabilities.

This fixes it by creating a job which will show any eventual
vulnerability.
2020-09-10 15:16:05 +02:00
Daniel Holbach 13708ad1dc Merge pull request #194 from dholbach/add-missing-quote
add missing quote - thanks Karan Arora for reporting
2020-09-09 15:55:06 +02:00
Daniel Holbach 83dccea063 add missing quote - thanks Karan Arora for reporting 2020-09-09 15:13:57 +02:00
Daniel Holbach 10e8dbda97 Merge pull request #166 from smueller18/param-alert-filterregexp
Remove quote for parameter alert-filter-regexp
2020-09-04 19:53:56 +02:00
Stephan Müller a6c0a4a7cb Bump helm chart version 2020-09-04 17:34:26 +02:00
Stephan Müller 8b4b92f237 Remove quote for parameter alert-filter-regexp 2020-09-04 17:33:47 +02:00
Daniel Holbach ba8c830d63 Merge pull request #192 from dholbach/prep-1.5.0-release
Prepare 1.5.0 release
1.5.0
2020-09-01 15:08:10 +02:00
Daniel Holbach 19d7dee4aa Prepare 1.5.0 release
- update chart versions
	- update release documentation
	- Christian and David are the chart maintainers
2020-09-01 11:38:17 +02:00
Daniel Holbach 7408cebb6b Merge pull request #187 from weaveworks/dependabot/github_actions/helm/chart-testing-action-v1.0.0
Bump helm/chart-testing-action from v1.0.0-rc.2 to v1.0.0
2020-09-01 10:59:14 +02:00
Daniel Holbach cd0f3cee12 Merge pull request #188 from weaveworks/dependabot/github_actions/helm/kind-action-v1.0.0
Bump helm/kind-action from v1.0.0-rc.1 to v1.0.0
2020-09-01 10:58:07 +02:00
dependabot[bot] dadf2cdd48 Bump helm/kind-action from v1.0.0-rc.1 to v1.0.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from v1.0.0-rc.1 to v1.0.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.0.0-rc.1...3af270e3dacc4feded63d810def7e19de77cba72)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 08:53:51 +00:00
dependabot[bot] 15c5c47b49 Bump helm/chart-testing-action from v1.0.0-rc.2 to v1.0.0
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from v1.0.0-rc.2 to v1.0.0.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v1.0.0-rc.2...96a4323c6cfa90ddea6e02db43143cd80124a7fa)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 08:53:50 +00:00
Daniel Holbach 012e680061 Merge pull request #186 from evrardjp/dependabot
Add dependabot
2020-09-01 10:53:24 +02:00
Jean-Philippe Evrard 1cab9a1d28 Add dependabot
Without this patch, our deps will have to be manually maintained.

This should fix it.
2020-08-31 15:58:21 +02:00
Jean-Philippe Evrard 6793b0882f Release helper
This automates the manifest and helm chart version handling.
Just pass the organisation and version in the make command to
update the manifests/helm charts.

This does not automate the helm chart version and does not
create a manifest used in the release process.
2020-08-28 16:46:53 +02:00
Jean-Philippe Evrard ad8c0053e2 Update to golang 1.15 2020-08-28 14:35:58 +02:00
Daniel Holbach 549bb9b415 Merge pull request #165 from dholbach/prep-for-k8s-1.19
Prepare for k8s release 1.19 (Aug 25)
2020-08-28 13:49:48 +02:00
Daniel Holbach 3ebc224958 update alpine to 3.12, k8s 1.18.8 2020-08-28 10:27:39 +02:00
Jean-Philippe Evrard 3d75f1b37a Add smoke/basic functional test
Without this patch, we don't test on release whether kured actually
works and behave well.

This is a problem, as a functional issue could have been hidden by
a recent change, as our testing is minimalist (only test the
usability, not the functionality).
Instead of testing manually, we should ensure this in CI.

This fixes it by adding a github action which tests the previously
built artifacts before publishing a release. The job consume the helm
chart in our code tree  (note: this relies on the last released image),
and run a functional test triggering a coordinated restart of a
whole 5 node cluster deployed with kind, through github actions.

Note: The github action needs to reset docker configuration, else
the reboot of the node (a docker container in kind) will fail.
It will be correctly triggered, but the node will not come back up,
with its systemd log mentioning: "Failed to attach 1 to compat systemd cgroup".
2020-08-28 09:25:44 +02:00
Daniel Holbach 16109017ce Prepare for k8s release 1.19 (Aug 25)
This is #152, #139, #127 in disguise.

	Maybe this time let it simmer a bit longer until the k8s
	release is there?
2020-08-19 17:30:00 +02:00
Daniel Holbach b024898ed6 Merge pull request #171 from dholbach/prep-1.4.5
Prep 1.4.5 release
1.4.5
2020-08-05 11:21:15 +02:00
Daniel Holbach 19b177372e document how releases are town wrt Helm bits 2020-08-05 11:03:32 +02:00
Daniel Holbach 50f8d037fc bump versions for 1.4.5 release 2020-08-05 11:01:22 +02:00
Daniel Holbach aea93fd0ac Merge pull request #169 from audunsolemdal/master
Chart: Support extraEnvVars
2020-07-29 15:09:53 +02:00
audunsolemdal 4dd15e3874 Use nindent, not indent 2020-07-29 09:37:31 +02:00
audunsolemdal c1abad8a92 chart: update readme 2020-07-28 15:07:48 +02:00
audunsolemdal 25491c801b Bump chart version 2020-07-28 15:01:03 +02:00
audunsolemdal 9e42c8ec15 Add missing 'end' 2020-07-28 14:59:23 +02:00
Daniel Holbach 29eb862335 Merge pull request #168 from dholbach/update-to-last-release
update install instructions to use latest
2020-07-25 18:09:53 +02:00
audunsolemdal d7e58bef3e Chart: Support extraEnvVars 2020-07-21 17:35:59 +02:00
Daniel Holbach 949aa3acf7 update install instructions to use latest 2020-07-21 10:23:49 +02:00
Daniel Holbach 2762837dac Merge pull request #164 from dholbach/1.4.4-release
Prep for 1.4.4 release
1.4.4
2020-07-01 11:27:51 +02:00
Daniel Holbach d507361a45 update chart version 2020-07-01 10:49:12 +02:00
Daniel Holbach 1d1f22c93b Prep for 1.4.4 release
Drop bit in the docs about updating image tag - not necessary
	if you use the instructions.
2020-07-01 10:43:06 +02:00
Daniel Holbach 644aca3fa0 Merge pull request #163 from ckotzbauer/chart-fixes
Additional chart changes for service-handling
2020-06-30 20:28:30 +02:00
Christian Kotzbauer 59b078f38d bump and fix
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2020-06-30 19:21:06 +02:00
Christian Kotzbauer 36cef41c20 split matchLabels template
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2020-06-30 19:18:47 +02:00
Christian Kotzbauer eb617adc2b restructured and improved service
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2020-06-30 19:15:32 +02:00
Daniel Holbach 2afd04ddd3 Merge pull request #162 from ckotzbauer/chart-fixes
Several small chart fixes
1.4.3
2020-06-30 18:25:53 +02:00
Christian Kotzbauer 3eb7f17b3a bumped kured to upcoming 1.4.3
fixed servicemonitor indent
fixed quotes for arguments

Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2020-06-30 18:00:05 +02:00
Daniel Holbach a87e7b28d2 Merge pull request #158 from dholbach/use-github-token
Use GitHub token
1.4.2
2020-06-30 10:42:10 +02:00
Daniel Holbach c6f341ec16 update things for 1.4.2 release 2020-06-30 10:37:39 +02:00
Daniel Holbach 14bda85a03 Use GITHUB_TOKEN for releasing chart
https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#about-the-github_token-secret
2020-06-30 10:35:13 +02:00