Skip to content

fix: annotate migrated reports#185

Merged
vishal-chdhry merged 2 commits intomainfrom
annotate-migrated
Sep 16, 2024
Merged

fix: annotate migrated reports#185
vishal-chdhry merged 2 commits intomainfrom
annotate-migrated

Conversation

@vishal-chdhry
Copy link
Copy Markdown
Member

Closes: #174

This PR adds annotation to reports that are already added in reports-server to avoid the case where reports-server fetches already existing reports and tries to re-add them to the db

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 64 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (8547c45) to head (e8255c9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/server/config.go 0.00% 60 Missing ⚠️
pkg/api/cephr.go 0.00% 1 Missing ⚠️
pkg/api/cpolr.go 0.00% 1 Missing ⚠️
pkg/api/ephr.go 0.00% 1 Missing ⚠️
pkg/api/polr.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #185   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         30      30           
  Lines      17586   17646   +60     
=====================================
- Misses     17586   17646   +60     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vishal-chdhry vishal-chdhry merged commit a384392 into main Sep 16, 2024
@vishal-chdhry vishal-chdhry deleted the annotate-migrated branch September 16, 2024 11:50
stone-z added a commit to giantswarm/reports-server-upstream that referenced this pull request Jan 16, 2026
* fix: migration (kyverno#164)

* fix: migration

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: codegen

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: use 1.12.4

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: ordering

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: ordering

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: delay

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: use main

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: ordering

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: chart and filter fixes

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: rever rolebiding change

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: disable rv based filtering

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: simplify watch

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Revert "fix: simplify watch"

This reverts commit 339ecd3.

* Enable builtin metrics and add default ServiceMonitor (kyverno#159)

* Create sync-from-upstream.yaml

Signed-off-by: Zach Stone <zach@giantswarm.io>

* Update sync-from-upstream.yaml

Signed-off-by: Zach Stone <zach@giantswarm.io>

* fix(charts): remove erroneous 'metadata' key from ClusterRole object (kyverno#119)

Signed-off-by: Mike Dougherty <mike.dougherty@missionlane.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Zach Stone <zach@giantswarm.io>

* Enable metrics endpoint and add service monitor

Signed-off-by: Zach Stone <zach@giantswarm.io>

* Update generated install

Signed-off-by: Zach Stone <zach@giantswarm.io>

* Do not enable ServiceMonitor by default

Signed-off-by: Zach Stone <zach@giantswarm.io>

* Rerun codegen

Signed-off-by: Zach Stone <zach@giantswarm.io>

---------

Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Mike Dougherty <mike.dougherty@missionlane.com>
Co-authored-by: Mike Dougherty <mikedougherty@users.noreply.github.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>

* release 0.1.0

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore: bump chainsaw (kyverno#183)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix prefix check for list of polr with namespace in memory mode (kyverno#182)

* fix prefix check for list of polr with namespace in memory mode

Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>

* fix prefix check for list of ephr with namespace in memory mode 

Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>

* Update pkg/storage/inmemory/ephr.go

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Add ability to configure dbport through values.yaml (kyverno#178)

* Add ability to configure dbport through values.yaml

* fix: codegen

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Aleksandr Sokolov <s0ko1ex@yandex-team.ru>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump codecov/codecov-action from 3.1.4 to 4.5.0 (kyverno#162)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@eaaf4be...e28ff12)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: annotate migrated reports (kyverno#185)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump actions/checkout from 4.1.1 to 4.1.7 (kyverno#161)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@b4ffde6...692973e)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump k8s.io/klog/v2 from 2.120.1 to 2.130.1 (kyverno#186)

Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.120.1 to 2.130.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](kubernetes/klog@v2.120.1...v2.130.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (kyverno#187)

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (kyverno#191)

Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.3 to 3.0.12.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328...0901cf7)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump actions/setup-go from 5.0.0 to 5.0.2 (kyverno#190)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@0c52d54...0a12ed9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump goreleaser/goreleaser-action from 5.0.0 to 6.0.0 (kyverno#189)

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](goreleaser/goreleaser-action@7ec5c2b...286f3b1)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump ko-build/setup-ko from 0.6 to 0.7 (kyverno#188)

Bumps [ko-build/setup-ko](https://github.com/ko-build/setup-ko) from 0.6 to 0.7.
- [Release notes](https://github.com/ko-build/setup-ko/releases)
- [Commits](ko-build/setup-ko@ace48d7...3aebd05)

---
updated-dependencies:
- dependency-name: ko-build/setup-ko
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump kyverno/action-install-chainsaw from 0.2.8 to 0.2.10 (kyverno#193)

* feat: install apiservices using helm hooks (kyverno#192)

* feat: install apiservices using helm hooks

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: chart linter

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: bump chainsaw

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: add patch permissions

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: simplify permissions

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: charts and images

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump github/codeql-action from 2.13.4 to 3.26.7 (kyverno#197)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.13.4 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdcdbb5...8214744)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump sigstore/cosign-installer from 3.4.0 to 3.6.0 (kyverno#196)

Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](sigstore/cosign-installer@e1523de...4959ce0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* chore(deps): Bump golangci/golangci-lint-action from 4.0.0 to 6.1.0 (kyverno#194)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@3cfe3a4...aaa42aa)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: release v0.1.1 (kyverno#200)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: bump chainsaw (kyverno#210)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: trivy failure in codeql action (kyverno#211)

* fix: trivy failure in codeql action

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: bump trivy

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Remove migration section from INSTALL doc (kyverno#201)

* Remove migration section from INSTALL doc

The migration section contained a link pointing to a document that no longer exists.

Signed-off-by: Sebastian Torres <torrescsebas@gmail.com>

* Update INSTALL.md

Remove another reference to migration doc

Signed-off-by: Sebastian Torres <torrescsebas@gmail.com>

---------

Signed-off-by: Sebastian Torres <torrescsebas@gmail.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix(refactor): update storage interface (kyverno#209)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix remove db config from postgres startup log (kyverno#212)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: add support for embedded etcd (kyverno#213)

* feat: add support for embedded etcd

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: enable migration in etcd (kyverno#226)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: update etcd key (kyverno#227)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: update flag in the doc

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: change label selector for kubectl wait in post install job (kyverno#240)

* fix: change label selector for kubectl wait in post install job

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: chainsaw tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: regex

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: release v0.1.2 (kyverno#241)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Fix outdated/removed python version (kyverno#245)

* Fix outdated/removed python version

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Fix outdated/removed python version

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* feat: Add PodDisruptionBudget to helm chart (kyverno#246)

* feat: Add PodDisruptionBudget to helm chart

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Specify namespace in pdb

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Fix outdated/removed python version (kyverno#245)

* Fix outdated/removed python version

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Fix outdated/removed python version

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* fix: codegen

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Add env options (kyverno#247)

* Add GOMEMLIMIT by default

* Add GOMEMLIMIT by default, allow user to configure additional env variables on the deployment

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Allow using secret injection on env vars, e.g. using vault-env (kyverno#248)

* Allow using secret injection on env vars, e.g. using vault-env

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Fix report-server init when reading from env vars

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Update broken actions/upload-artifact for publishing image (kyverno#250)

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Use database migrations to simplify future database schema management (kyverno#251)

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Allow using a shared database for multiple clusters (kyverno#252)

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Automatic migration (kyverno#249)

* Fix db migrations (cluster_id is part of primary key index and cannot… (kyverno#254)

* Fix db migrations (cluster_id is part of primary key index and cannot be null)

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* feat: add tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: disable sanity check

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: k8s versions

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: release v1.3 (kyverno#255)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Fix variable injection, add common labels to all resources, fix requi… (kyverno#256)

* Fix variable injection, add common labels to all resources, fix required options not being passed when etcd is enabled, fix apiservice management always required in clusterrole
Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

Fix: allow env variable injection to work for database secrets
Fix: Add missing labels to pdb
Fix: apiservice management permissions
should always be required due to automatic migration code
Fix: some required command line options were not being added when using etcd as a database
Feat: Add commonLabels input variable, which allows adding arbitrary labels to all resources managed by the chart

* feat: release v1.4-rc.1 (kyverno#258)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Fix migration typo (kyverno#259)

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* Remove unnecessary/invalid label (kyverno#261)

* Remove kube-aggregator.kubernetes.io/automanaged label

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>

* fix: linter

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* Add support for openreports (kyverno#269)

* add support for openreports

Signed-off-by: aerosouund <aerosound161@gmail.com>

* run codegen

Signed-off-by: aerosouund <aerosound161@gmail.com>

* run helm dependency

Signed-off-by: aerosouund <aerosound161@gmail.com>

* dont use helm install to avoid file size limit

Signed-off-by: aerosouund <aerosound161@gmail.com>

* bring back disable auth

Signed-off-by: aerosouund <aerosound161@gmail.com>

* install from latest chart

Signed-off-by: aerosouund <aerosound161@gmail.com>

* helm install

Signed-off-by: aerosouund <aerosound161@gmail.com>

* dont checkout kyverno

Signed-off-by: aerosouund <aerosound161@gmail.com>

* fix checkout and helm install

Signed-off-by: aerosouund <aerosound161@gmail.com>

* dont wait on or service

Signed-off-by: aerosouund <aerosound161@gmail.com>

* update migrations

Signed-off-by: aerosouund <aerosound161@gmail.com>

* fix migration syntax

Signed-off-by: aerosouund <aerosound161@gmail.com>

* fix ci

Signed-off-by: aerosouund <aerosound161@gmail.com>

* remove todo comments to turn them to issues

Signed-off-by: aerosouund <aerosound161@gmail.com>

* delete the dockerfile to depend on the ko-build command in the future

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>

* gracefully cleanup api-services during shutdown (kyverno#278)

* remove old k8s versions and add graceful shutdown

Signed-off-by: aerosouund <aerosound161@gmail.com>

* bring versions

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>

* switch to bitnami legacy (kyverno#299)

* switch to bitnami legacy

Signed-off-by: aerosouund <aerosound161@gmail.com>

* run codgen

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>

* feat/chart: add `extraObjects` field (kyverno#298)

Signed-off-by: kasimeka <kasimeka@tuta.io>

* Refactor migration (kyverno#301)

* chore: bump kubernetes versions (kyverno#318)

* bump kubernetes versions

Signed-off-by: aerosouund <aerosound161@gmail.com>

* reduce versions

Signed-off-by: aerosouund <aerosound161@gmail.com>

* upgrade golang and king

Signed-off-by: aerosouund <aerosound161@gmail.com>

* reduce golang

Signed-off-by: aerosouund <aerosound161@gmail.com>

* k8s versions

Signed-off-by: aerosouund <aerosound161@gmail.com>

* dont helm install from public

Signed-off-by: aerosouund <aerosound161@gmail.com>

* revert

Signed-off-by: aerosouund <aerosound161@gmail.com>

* use archive loading

Signed-off-by: aerosouund <aerosound161@gmail.com>

* fix containerd wait problem

Signed-off-by: aerosouund <aerosound161@gmail.com>

* update kind version in makefile

Signed-off-by: aerosouund <aerosound161@gmail.com>

* update kind version in makefile

Signed-off-by: aerosouund <aerosound161@gmail.com>

* change default image for make kind

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>

* fix(charts): add v1alpha1.openreports.io to the apiservice deletion hook (kyverno#321)

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>
Co-authored-by: Ammar Yasser <aerosound161@gmail.com>

* v0.1.6 chart changes and release pipeline fixes (kyverno#322)

* release pipeline fixes

Signed-off-by: aerosouund <aerosound161@gmail.com>

* v0.1.6 chart

Signed-off-by: aerosouund <aerosound161@gmail.com>

* codegen

Signed-off-by: aerosouund <aerosound161@gmail.com>

---------

Signed-off-by: aerosouund <aerosound161@gmail.com>

* feat(charts): add missing horizontal pod autoscaler resource (kyverno#319)

* feat(charts): add missing horizontal-pod-autoscaler resource

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>

* fix: add metrics/memory utilization options

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>

* fix: run codegen

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>

---------

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>
Signed-off-by: Etienne <995474+etiennetremel@users.noreply.github.com>
Co-authored-by: Ammar Yasser <aerosound161@gmail.com>

* add SkipMigration flag (kyverno#324)

* add skip migration flag

Signed-off-by: Kartik Sharma <imailkartiksharma@gmail.com>
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>

* add skipmigration flag to helm charts

Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>

* add conditional skip migration flag for apis

Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>

---------

Signed-off-by: Kartik Sharma <imailkartiksharma@gmail.com>
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>

* feat(charts): swap bitnami with official kubectl image for the pre-delete api service cleanup hook (kyverno#320)

Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>
Co-authored-by: Ammar Yasser <aerosound161@gmail.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Mike Dougherty <mike.dougherty@missionlane.com>
Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Sebastian Torres <torrescsebas@gmail.com>
Signed-off-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Signed-off-by: aerosouund <aerosound161@gmail.com>
Signed-off-by: kasimeka <kasimeka@tuta.io>
Signed-off-by: Etienne Tremel <995474+etiennetremel@users.noreply.github.com>
Signed-off-by: Etienne <995474+etiennetremel@users.noreply.github.com>
Signed-off-by: Kartik Sharma <imailkartiksharma@gmail.com>
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Mike Dougherty <mikedougherty@users.noreply.github.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: P0lskay <49369886+P0lskay@users.noreply.github.com>
Co-authored-by: s0ko1ex <alnsokolov@mail.ru>
Co-authored-by: Aleksandr Sokolov <s0ko1ex@yandex-team.ru>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Torres <torrescsebas@gmail.com>
Co-authored-by: Rafael da Fonseca <rsafonseca@gmail.com>
Co-authored-by: Rafael da Fonseca <rafael.fonseca@wildlifestudios.com>
Co-authored-by: Ammar Yasser <aerosound161@gmail.com>
Co-authored-by: ورد <mekapilon@protonmail.com>
Co-authored-by: Etienne <995474+etiennetremel@users.noreply.github.com>
Co-authored-by: Kartik Angiras <angiraskartik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DB Conflict: create clusterpolicyreport: pq: duplicate key value violates unique constraint "clusterpolicyreports_pkey"

1 participant