Commit Graph
275 Commits
Author SHA1 Message Date
Matthieu MORELandGitHub 961e9bad5e chore: import k8s.io/api/core/v1 as corev1 (#21345)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-03 11:10:00 -05:00
Matthieu MORELandGitHub 7a212a833c chore: enable use-any from revive (#21282)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-02 18:26:59 -05:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
246752c501 chore(deps): update module github.com/golangci/golangci-lint to v1.63.3 (#21348)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 22:09:59 +00:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0a31d3b5c2 chore(deps): update module github.com/golangci/golangci-lint to v1.63.2 (#21343)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 16:32:46 -05:00
Matthieu MORELandGitHub 6a8208c4ca chore: enable importas for k8s.io/apimachinery/pkg/apis/meta/v1 (#21284)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-12-31 10:34:11 +02:00
Matthieu MORELandGitHub 4156151f8f chore: enable err-error and strconcat of perfsprint linter (#21267)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-12-20 16:22:28 +00:00
Michael CrenshawandGitHub ba889a0c86 feat: source hydrator (#20345)
* feat(hydrator): add sourceHydrator types

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

fix(codegen): use kube_codegen.sh deepcopy and client gen correctly

Signed-off-by: Michael Crenshaw <[email protected]>

deepcopy gen

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): add commit-server component

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

go mod tidy

Signed-off-by: Michael Crenshaw <[email protected]>

one test file for both implementations

Signed-off-by: Michael Crenshaw <[email protected]>

simplify

Signed-off-by: Michael Crenshaw <[email protected]>

fix test for linux

Signed-off-by: Michael Crenshaw <[email protected]>

fix git client mock

Signed-off-by: Michael Crenshaw <[email protected]>

fix git client mock

Signed-off-by: Michael Crenshaw <[email protected]>

address comments

Signed-off-by: Michael Crenshaw <[email protected]>

unit tests

Signed-off-by: Michael Crenshaw <[email protected]>

lint

Signed-off-by: Michael Crenshaw <[email protected]>

fix image, fix health checks, fix merge issue

Signed-off-by: Michael Crenshaw <[email protected]>

fix lint issues

Signed-off-by: Michael Crenshaw <[email protected]>

remove code that doesn't work for GHE

Signed-off-by: Michael Crenshaw <[email protected]>

changes from comments

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

Signed-off-by: Michael Crenshaw <[email protected]>

separation between app controller and hydrator

Signed-off-by: Michael Crenshaw <[email protected]>

simplify diff

Signed-off-by: Michael Crenshaw <[email protected]>

todos

Signed-off-by: Michael Crenshaw <[email protected]>

simplify

Signed-off-by: Michael Crenshaw <[email protected]>

add dry sha to logs

Signed-off-by: Michael Crenshaw <[email protected]>

add app name to logs

Signed-off-by: Michael Crenshaw <[email protected]>

more logging, no caching

Signed-off-by: Michael Crenshaw <[email protected]>

fix cluster install

Signed-off-by: Michael Crenshaw <[email protected]>

don't interrupt an ongoing hydrate operation

Signed-off-by: Michael Crenshaw <[email protected]>

revert hydrate loop fix

Signed-off-by: Michael Crenshaw <[email protected]>

handle project-scoped repo creds

Signed-off-by: Michael Crenshaw <[email protected]>

codegen

Signed-off-by: Michael Crenshaw <[email protected]>

improve docs

Signed-off-by: Michael Crenshaw <[email protected]>

fixes from comments

Signed-off-by: Michael Crenshaw <[email protected]>

* set hydrator enabled key when using hydrator manifests

Signed-off-by: Michael Crenshaw <[email protected]>

fix manifests

Signed-off-by: Michael Crenshaw <[email protected]>

improve docs

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

Signed-off-by: Michael Crenshaw <[email protected]>

separation between app controller and hydrator

Signed-off-by: Michael Crenshaw <[email protected]>

simplify diff

Signed-off-by: Michael Crenshaw <[email protected]>

todos

Signed-off-by: Michael Crenshaw <[email protected]>

simplify

Signed-off-by: Michael Crenshaw <[email protected]>

add dry sha to logs

Signed-off-by: Michael Crenshaw <[email protected]>

add app name to logs

Signed-off-by: Michael Crenshaw <[email protected]>

more logging, no caching

Signed-off-by: Michael Crenshaw <[email protected]>

fix cluster install

Signed-off-by: Michael Crenshaw <[email protected]>

don't interrupt an ongoing hydrate operation

Signed-off-by: Michael Crenshaw <[email protected]>

revert hydrate loop fix

Signed-off-by: Michael Crenshaw <[email protected]>

handle project-scoped repo creds

Signed-off-by: Michael Crenshaw <[email protected]>

codegen

Signed-off-by: Michael Crenshaw <[email protected]>

improve docs

Signed-off-by: Michael Crenshaw <[email protected]>

fixes from comments

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): add sourceHydrator types

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

fix(codegen): use kube_codegen.sh deepcopy and client gen correctly

Signed-off-by: Michael Crenshaw <[email protected]>

deepcopy gen

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

Signed-off-by: Michael Crenshaw <[email protected]>

separation between app controller and hydrator

Signed-off-by: Michael Crenshaw <[email protected]>

simplify diff

Signed-off-by: Michael Crenshaw <[email protected]>

todos

Signed-off-by: Michael Crenshaw <[email protected]>

simplify

Signed-off-by: Michael Crenshaw <[email protected]>

add dry sha to logs

Signed-off-by: Michael Crenshaw <[email protected]>

add app name to logs

Signed-off-by: Michael Crenshaw <[email protected]>

more logging, no caching

Signed-off-by: Michael Crenshaw <[email protected]>

fix cluster install

Signed-off-by: Michael Crenshaw <[email protected]>

don't interrupt an ongoing hydrate operation

Signed-off-by: Michael Crenshaw <[email protected]>

revert hydrate loop fix

Signed-off-by: Michael Crenshaw <[email protected]>

handle project-scoped repo creds

Signed-off-by: Michael Crenshaw <[email protected]>

codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* feat(hydrator): write credentials handling + UI

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): enable controller

Co-authored-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Omer Azmon <[email protected]>
Co-authored-by: daengdaengLee <[email protected]>
Co-authored-by: Juwon Hwang (Kevin) <[email protected]>
Co-authored-by: thisishwan2 <[email protected]>
Co-authored-by: mirageoasis <[email protected]>
Co-authored-by: Robin Lieb <[email protected]>
Co-authored-by: miiiinju1 <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

allow opt-in

Signed-off-by: Michael Crenshaw <[email protected]>

separation between app controller and hydrator

Signed-off-by: Michael Crenshaw <[email protected]>

simplify diff

Signed-off-by: Michael Crenshaw <[email protected]>

todos

Signed-off-by: Michael Crenshaw <[email protected]>

simplify

Signed-off-by: Michael Crenshaw <[email protected]>

add dry sha to logs

Signed-off-by: Michael Crenshaw <[email protected]>

add app name to logs

Signed-off-by: Michael Crenshaw <[email protected]>

more logging, no caching

Signed-off-by: Michael Crenshaw <[email protected]>

fix cluster install

Signed-off-by: Michael Crenshaw <[email protected]>

don't interrupt an ongoing hydrate operation

Signed-off-by: Michael Crenshaw <[email protected]>

revert hydrate loop fix

Signed-off-by: Michael Crenshaw <[email protected]>

feat(hydrator): write credentials handling + UI

Signed-off-by: Michael Crenshaw <[email protected]>

WIP: add new APIs for write creds

Signed-off-by: Michael Crenshaw <[email protected]>

write api and template api

Signed-off-by: Michael Crenshaw <[email protected]>

fix time function

Signed-off-by: Michael Crenshaw <[email protected]>

fix lint issues

Signed-off-by: Michael Crenshaw <[email protected]>

don't enrich with read creds

Signed-off-by: Michael Crenshaw <[email protected]>

revert tls change

Signed-off-by: Michael Crenshaw <[email protected]>

don't disable buttons in UI

Signed-off-by: Michael Crenshaw <[email protected]>

ask repo server for specific revision

Signed-off-by: Michael Crenshaw <[email protected]>

fixes

Signed-off-by: Michael Crenshaw <[email protected]>

lint ui

Signed-off-by: Michael Crenshaw <[email protected]>

remove unnecessary change

Signed-off-by: Michael Crenshaw <[email protected]>

fix test and lint

Signed-off-by: Michael Crenshaw <[email protected]>

lint

Signed-off-by: Michael Crenshaw <[email protected]>

enable hydrator for e2e tests

Signed-off-by: Michael Crenshaw <[email protected]>

* free disk space for e2e tests

Signed-off-by: Michael Crenshaw <[email protected]>

don't free disk space

Signed-off-by: Michael Crenshaw <[email protected]>

* free disk space for e2e tests

Signed-off-by: Michael Crenshaw <[email protected]>

* remove comment that breaks auth

Signed-off-by: Michael Crenshaw <[email protected]>

* try removing extra function

Signed-off-by: Michael Crenshaw <[email protected]>

* cleanup from comments

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-12-16 16:59:09 -05:00
Joowon LimandGitHub de27f89003 chore: use %q to simplify fmt.Sprintf (#21108)
Signed-off-by: Joowon Lim <[email protected]>
2024-12-09 13:52:32 -05:00
dudineaandGitHub 96e1e713e1 chore: fix tests failing with Kustomize based errors (#21037)
Signed-off-by: Eugene Doudine <[email protected]>
2024-12-03 12:04:25 +02:00
ef1021a58f feat: Adding skipSchemaValidation flag (#20771) (#20831)
* Adding skipSchemaValidation flag

Signed-off-by: Daniel Mosesson (soandos) <[email protected]>

* Adding specific test for skip schema validation

Signed-off-by: Daniel Mosesson (soandos) <[email protected]>

* Fix merge conflict

Signed-off-by: Daniel Mosesson (soandos) <[email protected]>

* Fixing index.yaml to support helm 3.16

Signed-off-by: Daniel Mosesson (soandos) <[email protected]>

---------

Signed-off-by: Daniel Mosesson (soandos) <[email protected]>
Co-authored-by: Daniel Mosesson (soandos) <[email protected]>
2024-12-03 11:43:42 +05:30
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
49e2e28a2a chore(deps): update module github.com/golangci/golangci-lint to v1.62.2 (#20947)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 15:53:46 +00:00
Leonardo Luz AlmeidaandGitHub 82752c186c chore: Fix get-previous-release test case (#20863)
Signed-off-by: Leonardo Luz Almeida <[email protected]>
2024-11-20 19:57:31 +00:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Michael Crenshaw
cbc90b6379 chore(deps): update module github.com/golangci/golangci-lint to v1.62.0 (#20737)
* chore(deps): update module github.com/golangci/golangci-lint to v1.62.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix lint issues

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <[email protected]>
2024-11-11 05:28:48 +00:00
Michael CrenshawandGitHub b66605298c fix(codegen): use kube_codegen.sh deepcopy and client gen correctly (#20644) 2024-11-03 22:31:04 -05:00
Michael CrenshawandGitHub ef53ab4d44 fix(ci): handle new k3s test version matrix (#20223) (#20427)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-10-17 16:05:38 -04:00
Michael CrenshawandGitHub e1db8fde63 fix(ci): get correct previous release version for release notes (#19443) (#20315)
* better release notes

Signed-off-by: Michael Crenshaw <[email protected]>

* work on fork

Signed-off-by: Michael Crenshaw <[email protected]>

* don't do unnecessary stuff

Signed-off-by: Michael Crenshaw <[email protected]>

* fix path

Signed-off-by: Michael Crenshaw <[email protected]>

* fix path

Signed-off-by: Michael Crenshaw <[email protected]>

* help debug

Signed-off-by: Michael Crenshaw <[email protected]>

* refactor, clean up

Signed-off-by: Michael Crenshaw <[email protected]>

* use a workspace to avoid touching the main go.mod

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-10-11 11:50:31 -04:00
dcoppaGitHubDavid Coppadependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b51cdf5827 fix: GOLANGCI_LINT_VERSION (#20264)
* Fix GOLANGCI_LINT_VERSION

Signed-off-by: David Coppa <[email protected]>

* chore(deps): bump SonarSource/sonarqube-scan-action from 2.3.0 to 3.0.0 (#19524)

Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases)
- [Commits](https://github.com/sonarsource/sonarqube-scan-action/compare/aecaf43ae57e412bd97d70ef9ce6076e672fe0a9...0c0f3958d90fc466625f1d1af1f47bddd4cc6bd1)

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

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

* Update install-lint-tools.sh

Signed-off-by: dcoppa <[email protected]>

---------

Signed-off-by: David Coppa <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: dcoppa <[email protected]>
Co-authored-by: David Coppa <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 11:47:17 +00:00
JulioandGitHub 8223e22a17 chore(ci): add renovate for golangci-lint, go and node version (#20236)
Signed-off-by: ggjulio <[email protected]>
2024-10-05 21:33:30 +00:00
Michael CrenshawandGitHub 9701afef53 chore(ci): better handling of Go and Node dependency bumps (#20168)
* chore(ci): better handling of Go and Node dependency bumps

Signed-off-by: Michael Crenshaw <[email protected]>

temporarily remove condition

Signed-off-by: Michael Crenshaw <[email protected]>

quit early if there are no changes

Signed-off-by: Michael Crenshaw <[email protected]>

use latest checkout action and actually test version change

Signed-off-by: Michael Crenshaw <[email protected]>

use github token

Signed-off-by: Michael Crenshaw <[email protected]>

workflow for node

Signed-off-by: Michael Crenshaw <[email protected]>

clean up after changing node version

Signed-off-by: Michael Crenshaw <[email protected]>

revert temporary changes

Signed-off-by: Michael Crenshaw <[email protected]>

more docs

Signed-off-by: Michael Crenshaw <[email protected]>

* bump linter version

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-10-02 00:02:07 -04:00
pasha-codefreshandGitHub 9b4753e91a chore(deps): bump Helm from 3.15.2 to 3.15.4 (#20135)
* sec: upgrade helm version in order to fix critical vulnerability

Signed-off-by: pashakostohrys <[email protected]>

* sec: upgrade helm version in order to fix critical vulnerability

Signed-off-by: pashakostohrys <[email protected]>

---------

Signed-off-by: pashakostohrys <[email protected]>
2024-09-27 09:45:58 -04:00
Ajinkya Ganesh KumbharandGitHub 77ae78a297 chore: improve error logs (#20050)
Signed-off-by: ajinkyak423 <[email protected]>
2024-09-21 20:13:13 -04:00
a42beed8ea chore: Make dev env redis password protected (#19863)
* create pr

Signed-off-by: reggie-k <[email protected]>

* create pr

Signed-off-by: reggie-k <[email protected]>

* create pr

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* initial

Signed-off-by: reggie-k <[email protected]>

* checking Redis is installed locally per Nitish's suggestion

Signed-off-by: reggie-k <[email protected]>

* Update hack/start-redis-with-password.sh

Co-authored-by: Nitish Kumar <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>

* Update hack/start-redis-with-password.sh

Co-authored-by: Nitish Kumar <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>

* fixed unreachable code

Signed-off-by: reggie-k <[email protected]>

---------

Signed-off-by: reggie-k <[email protected]>
Signed-off-by: Regina Voloshin <[email protected]>
Co-authored-by: Nitish Kumar <[email protected]>
2024-09-17 19:19:01 +05:30
9e09f1a62b chore(lint): errors reported by golangci-lint: S1009: should omit nil check; printf: non-constant format string (#19773)
Signed-off-by: Cheng Fang <[email protected]>
Co-authored-by: pasha-codefresh <[email protected]>
2024-09-04 14:58:15 +00:00
Michael CrenshawandGitHub abb60bf27d chore(deps): bump k8s libs from 0.29.6 to 0.30.4 (#19074)
* chore(deps): bump k8s libs from 0.29.6 to 0.30.2

Signed-off-by: Michael Crenshaw <[email protected]>

* latest commit

Signed-off-by: Michael Crenshaw <[email protected]>

* update known types

Signed-off-by: Michael Crenshaw <[email protected]>

* bump controller-runtime to a version that's compatible with go-client 0.30.x

Signed-off-by: Michael Crenshaw <[email protected]>

* update go-to-protobuf flag

Signed-off-by: Michael Crenshaw <[email protected]>

* handle new requirements for proto file locations

Signed-off-by: Michael Crenshaw <[email protected]>

* bump gitops-engine version

Signed-off-by: Michael Crenshaw <[email protected]>

* fix openapigen

Signed-off-by: Michael Crenshaw <[email protected]>

* remove toolchain

Signed-off-by: Michael Crenshaw <[email protected]>

* bump gitops-engine version

Signed-off-by: Michael Crenshaw <[email protected]>

* no need for replace now

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-08-23 16:57:56 +00:00
Nathanael LiechtiandGitHub 626f237eb2 feat: allow no_proxy to be specified on repoCreds (#18526)
Signed-off-by: Nathanael Liechti <[email protected]>
2024-08-20 12:54:39 -04:00
Michael CrenshawandGitHub e6877a6bc2 chore: remove unused params (#19473)
* chore: remove unused params

Signed-off-by: Michael Crenshaw <[email protected]>

* more

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-08-15 07:29:51 -04:00
Andrii KorotkovandGitHub 26bb288153 chore: Update kustomize to v5.4.3 (#19133) (#19357)
Fixes #19133

A critical vulnerability CVE-2024-24790 was discovered in previous version of kustomize due to stdlib dependency. Bump the version to one without this vulnerability.

Signed-off-by: Andrii Korotkov <[email protected]>
2024-08-02 11:42:47 -04:00
Michael CrenshawandGitHub 4246278f33 docs: document built-in resource actions (#19145)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-07-22 18:17:24 -04:00
Michael CrenshawandGitHub 84acd3b77f chore(deps): bump protoc from 3.17.3 to (3.).27.2 (#19120)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-07-21 23:04:47 -04:00
Cayde6andGitHub 2d535b4aed chore(migrate): migrate mockery codegen to use packages(#18579) (#18617)
* chore(migrate): mockery migrate to packages

migrate interface
- remove go:generate
- generate mock

Signed-off-by: Jack-R-lantern <[email protected]>

* chore(migrate: mockery migrate to package

add mockgen stage
- add mockgen command to Makefile
- add generate-mock.sh
- add install mockery to install-codegen-go-tool.sh

Signed-off-by: Jack-R-lantern <[email protected]>

---------

Signed-off-by: Jack-R-lantern <[email protected]>
2024-07-02 10:48:38 -04:00
Michael CrenshawandGitHub 3a3d78f1b0 chore(deps): bump Kustomize from 3.14.4 to 3.15.2 (#18680)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-06-15 14:47:19 -04:00
a08746fc07 feat: adding gocover to e2e tests (#18130) (#18537)
* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

* try putting profiles in different directories

Signed-off-by: Michael Crenshaw <[email protected]>

* does this upload the whole directory?

Signed-off-by: Michael Crenshaw <[email protected]>

* create directories and only run one test

Signed-off-by: Michael Crenshaw <[email protected]>

* shut everything down before uploading coverage

Signed-off-by: Michael Crenshaw <[email protected]>

* don't fail on goreman failure

Signed-off-by: Michael Crenshaw <[email protected]>

* sleep 30

Signed-off-by: Michael Crenshaw <[email protected]>

* always upload server output

Signed-off-by: Michael Crenshaw <[email protected]>

* fix: implement graceful shutdown for api server

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Shutdown servers in parallel

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* add noop shutdown function on api server constructor

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix waitgroup

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* more attempts to gracefully shut down

Signed-off-by: Michael Crenshaw <[email protected]>

* more tests

Signed-off-by: Michael Crenshaw <[email protected]>

* cleanup

Signed-off-by: Michael Crenshaw <[email protected]>

* revert graceful shutdown work, needs more work

Signed-off-by: Michael Crenshaw <[email protected]>

* more graceful shutdown cleanup

Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* feat: adding go coverage to e2e tests

Signed-off-by: rumstead <[email protected]>

---------

Signed-off-by: rumstead <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Leonardo Luz Almeida <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
Co-authored-by: Leonardo Luz Almeida <[email protected]>
2024-06-13 14:17:07 -04:00
Matthieu MORELandGitHub 417ff7b19e chore: enable gofumpt and whitespace linters (#18567)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-11 15:41:55 +00:00
Matthieu MORELandGitHub eb14360d0b chore: enable goimports linter (#18564)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-10 09:18:12 -04:00
Justin MarquisandGitHub 608a121e5f chore(deps): upgrade helm to 5.4.2 (#18556)
Signed-off-by: Justin Marquis <[email protected]>
2024-06-07 11:10:42 -07:00
Zadkiel AHARONIANandGitHub fb45843191 chore: allow override of default e2e test args (#18415)
Signed-off-by: Zadkiel AHARONIAN <[email protected]>
2024-06-04 22:45:53 -04:00
Matthieu MORELandGitHub 434175acdf ci(lint): create .golangci.yaml (#18410)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-05-25 18:27:25 -04:00
Brice BurgessandGitHub d6afb2570f docs(webhook): include installation instructions on Triggers and Templates page (#18304) 2024-05-21 09:07:05 +03:00
32d0732647 chore(deps): upgrade helm to 3.14.4 (#18255)
* chore(deps): upgrade helm to 3.14.4

Signed-off-by: Justin Marquis <[email protected]>

* place checksums where they belong

Signed-off-by: Justin Marquis <[email protected]>

---------

Signed-off-by: Justin Marquis <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
2024-05-17 13:58:22 +03:00
e73cca7450 chore: Bump Kubernetes 1.29.2 (#17491)
* run: go mod tidy

Signed-off-by: sivchari <[email protected]>

* change interface of Broadcaster

Signed-off-by: sivchari <[email protected]>

* modify some logic due to updating controller-runtime version

Signed-off-by: sivchari <[email protected]>

* modify some logic due to updating controller-runtime version

Signed-off-by: sivchari <[email protected]>

* fix args of GetInformer

Signed-off-by: sivchari <[email protected]>

* fix signature for mock

Signed-off-by: sivchari <[email protected]>

* update mock

Signed-off-by: sivchari <[email protected]>

* use ptr instead of pointer

Signed-off-by: sivchari <[email protected]>

* use recommended function instead of deprecated it in wait package

Signed-off-by: sivchari <[email protected]>

* run make codegen

Signed-off-by: sivchari <[email protected]>

* re-run codegen

Signed-off-by: sivchari <[email protected]>

* fix codegen tasks to pass the codegen

Signed-off-by: sivchari <[email protected]>

* replace pointer package with ptr package

Signed-off-by: sivchari <[email protected]>

* add option to manage subresource

Signed-off-by: sivchari <[email protected]>

* fix len args

Signed-off-by: sivchari <[email protected]>

* fix: error message for updating lib-version

Signed-off-by: sivchari <[email protected]>

* use poll

Signed-off-by: sivchari <[email protected]>

* add cache opt

Signed-off-by: sivchari <[email protected]>

* use ptr instead of pointer

Signed-off-by: sivchari <[email protected]>

* add status subresource

Signed-off-by: sivchari <[email protected]>

* use latest commit

Signed-off-by: sivchari <[email protected]>

* fix watch namespace

Signed-off-by: sivchari <[email protected]>

* use latest gitops-engine

Signed-off-by: sivchari <[email protected]>

* delete unnecessary polling

Signed-off-by: sivchari <[email protected]>

* revert changes in Makefile

Signed-off-by: sivchari <[email protected]>

* re-add openapi-gen

Signed-off-by: Michael Crenshaw <[email protected]>

* codegen w/ correct versions

Signed-off-by: Michael Crenshaw <[email protected]>

* revert

Signed-off-by: sivchari <[email protected]>

* extend timeout

Signed-off-by: sivchari <[email protected]>

* break loop even if service account does not have secrets

Signed-off-by: sivchari <[email protected]>

* fix review points

Signed-off-by: sivchari <[email protected]>

* replace gitops-engine

Signed-off-by: sivchari <[email protected]>

---------

Signed-off-by: sivchari <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2024-05-08 11:16:18 -04:00
Michael CrenshawandGitHub 9e1d036ca7 docs: fix 404 styling (#18094)
* docs: fix 404 styling

Signed-off-by: Michael Crenshaw <[email protected]>

* hack around custom tag destruction

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-05-07 09:03:34 -04:00
Michael CrenshawandGitHub 37d1fe5eb9 chore: upgrade controller-gen from 0.4.1 to 0.14.0 (#17893)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-04-18 18:31:14 -04:00
eb6038894e chore: improve codegen error output (#17873)
* chore: improve codegen error output

Signed-off-by: Michael Crenshaw <[email protected]>

* remove accidental file

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: pasha-codefresh <[email protected]>
2024-04-18 15:14:18 +00:00
rumsteadandGitHub 6570d1329c fix(snyk): use version sort (#17798)
Signed-off-by: rumstead <[email protected]>
2024-04-10 15:39:14 +00:00
David BunnandGitHub 715aa3c65f chore(deps): upgrade helm to 3.14.3 (#17531)
* chore(deps): upgrade helm to 3.14.3

Signed-off-by: David Bunn <[email protected]>

* chore(deps): upgrade helm to 3.14.3

Signed-off-by: David Bunn <[email protected]>

---------

Signed-off-by: David Bunn <[email protected]>
2024-03-14 17:33:20 +00:00
5bcc21d041 chore: remove repetitive words (#17464)
Signed-off-by: avoidalone <[email protected]>
Co-authored-by: pasha-codefresh <[email protected]>
2024-03-11 14:27:46 +00:00
Collin WalkerandGitHub 7f720deec6 chore: Fix Helm Installation Breaking on Mac (#17426)
* fix helm installation to work with mac

Signed-off-by: lets-call-n-walk <[email protected]>

* fix checksums

Signed-off-by: lets-call-n-walk <[email protected]>

* change install filename and makefile

Signed-off-by: lets-call-n-walk <[email protected]>

* change name to just helm - fix dockerfile

Signed-off-by: lets-call-n-walk <[email protected]>

---------

Signed-off-by: lets-call-n-walk <[email protected]>
2024-03-07 20:35:37 -05:00
David BunnandGitHub 930df8f76c chore(deps): upgrade helm to 3.14.2 (#17330)
* chore(deps): upgrade helm to 3.14.2

Signed-off-by: David Bunn <[email protected]>

* Signing commit

Signed-off-by: David Bunn <[email protected]>

---------

Signed-off-by: David Bunn <[email protected]>
2024-02-27 20:48:41 -05:00
Alexandre GaudreaultandGitHub b9cb135886 chore(deps): upgrade helm to 3.14.1 (#17213)
* chore(deps): upgrade helm to 3.14.1

Signed-off-by: Alexandre Gaudreault <[email protected]>

* move files to folder......

Signed-off-by: Alexandre Gaudreault <[email protected]>

---------

Signed-off-by: Alexandre Gaudreault <[email protected]>
2024-02-15 08:26:32 -07:00
Michael CrenshawandGitHub b080a34340 fix(ci): correct helm checksum path (#17081)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-02-02 20:03:12 +00:00