Compare commits

...

1286 Commits
v0.0.1 ... main

Author SHA1 Message Date
dependabot[bot] c923201c9f
chore(deps): bump github/codeql-action from 3.29.7 to 3.29.8 (#2420)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.7 to 3.29.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](51f77329af...76621b61de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.8
  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>
2025-08-13 11:28:03 +02:00
dependabot[bot] 79b6709e2d
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#2421)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  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>
2025-08-13 08:26:13 +00:00
Karthik Manam 787e5aa4b9
test: add unit tests for operations/errors package (#2306)
Add unit tests for the resource error type in the operations/errors package to improve test coverage.

The tests verify:

- Basic resource error creation and message formatting

- Handling of template values in error messages

- Behavior with invalid templates

These tests help ensure error messages maintain their expected format and content.

Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-12 14:38:42 +02:00
Charles-Edouard Brétéché c3e918eae1
fix: docs codegen (#2419)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-11 17:54:00 +02:00
Karthik Manam fcdd8da755
docs: add examples for parse_json and to_boolean functions (#2338)
Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-11 17:38:30 +02:00
dependabot[bot] c03f744625
chore(deps): bump k8s.io/apiextensions-apiserver in /hack/controller-gen (#2415)
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.32.3 to 0.33.3.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.32.3...v0.33.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-version: 0.33.3
  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>
2025-08-11 15:35:53 +00:00
Charles-Edouard Brétéché b602c7e3a4
chore: bump kube deps (#2408)
* chore: bump kube deps

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-11 17:10:51 +02:00
dependabot[bot] 354baeb734
chore(deps): bump github.com/go-logr/logr from 1.4.2 to 1.4.3 (#2417)
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.4.2...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  dependency-version: 1.4.3
  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>
2025-08-11 14:54:52 +00:00
Charles-Edouard Brétéché 210f67e40f
feat: bump codegen tools (#2413)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-08 19:40:26 +02:00
dependabot[bot] 7b90b0c1b6
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#2410)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.0.7
  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>
2025-08-08 13:18:47 +00:00
dependabot[bot] 6ff9d759f4
chore(deps): bump aquasecurity/trivy-action from 0.30.0 to 0.32.0 (#2411)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.30.0 to 0.32.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](6c175e9c40...dc5a429b52)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.32.0
  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>
2025-08-08 12:58:51 +00:00
dependabot[bot] bf1a17fd0e
chore(deps): bump svenstaro/upload-release-action from 2.9.0 to 2.11.2 (#2412)
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.9.0 to 2.11.2.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](04733e069f...81c65b7cd4)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-version: 2.11.2
  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>
2025-08-08 12:48:31 +00:00
dependabot[bot] d2caa8cdf5
chore(deps): bump github.com/prometheus/common from 0.63.0 to 0.65.0 (#2391)
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.65.0
  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>
2025-08-07 13:08:19 +00:00
Muhammad Sheryar Butt efa0fffa88
docs: fix typos in concurrency documentation (#2397)
Signed-off-by: sheryarbutt <m.sheryarbutt@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-07 12:42:11 +00:00
dependabot[bot] 80f988ee45
chore(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#2379)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](ad3126e916...18283e04ce)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.3
  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>
2025-08-07 10:54:28 +00:00
dependabot[bot] d8598992a0
chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#2370)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  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>
2025-08-07 10:40:56 +00:00
dependabot[bot] b5b747053d
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2381)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.24 to 3.0.25.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](2d6823da40...fc87bb5b5a)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-version: 3.0.25
  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>
2025-08-07 10:27:48 +00:00
dependabot[bot] c975dcc68b
chore(deps): bump sigstore/cosign-installer from 3.8.2 to 3.9.2 (#2406)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.8.2 to 3.9.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](3454372f43...d58896d6a1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 3.9.2
  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>
2025-08-07 10:16:08 +00:00
dependabot[bot] 3c18804a4a
chore(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 (#2407)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](d3f86a106a...634f93cb29)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 5.0.0
  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>
2025-08-07 10:05:33 +00:00
Tyler Auerbeck 2ebca820bb
chore(deps): bump golangci-lint to v2 (#2398)
Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-08-07 09:54:44 +00:00
dependabot[bot] 3c23435ab3
chore(deps): bump anchore/sbom-action from 0.19.0 to 0.20.4 (#2402)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.19.0 to 0.20.4.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](9f73021414...7b36ad622f)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-version: 0.20.4
  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>
2025-08-07 09:28:59 +00:00
dependabot[bot] fa007ee411
chore(deps): bump github/codeql-action from 3.28.17 to 3.29.5 (#2405)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.29.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](60168efe1c...51f77329af)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.5
  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>
2025-08-07 11:09:00 +02:00
Ondrej Kokes bab727ee05
docs: Do not use pipes in comments, they won't be rendered in Markdown tables (#2365)
* Do not use pipes in comments, they won't be rendered in Markdown tables

Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>

* commas, not slashes

Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>

---------

Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-05-06 20:07:13 +00:00
dependabot[bot] 77c12f7cd6
chore(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2 (#2355)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](d7d6bc7722...3454372f43)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 3.8.2
  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>
2025-05-05 21:25:17 +00:00
dependabot[bot] 5bccfa414c
chore(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 (#2361)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](95815c38cf...d3f86a106a)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 4.3.0
  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>
2025-05-05 21:14:48 +00:00
dependabot[bot] 809cbbcf9c
chore(deps): bump anchore/sbom-action from 0.18.0 to 0.19.0 (#2362)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](f325610c9f...9f73021414)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-version: 0.19.0
  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>
2025-05-05 21:04:04 +00:00
dependabot[bot] b71b2cd0ee
chore(deps): bump golang.org/x/net in /hack/controller-gen (#2367)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-05-05 22:53:12 +02:00
dependabot[bot] 983cfa61de
chore(deps): bump github/codeql-action from 3.28.15 to 3.28.17 (#2364)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.15 to 3.28.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](45775bd823...60168efe1c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.17
  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>
2025-05-05 19:44:47 +00:00
dependabot[bot] 53ea7ae4ee
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2366)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.23 to 3.0.24.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](4830be28ce...2d6823da40)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-version: 3.0.24
  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>
2025-05-05 21:32:35 +02:00
dependabot[bot] dfe952c4b7
chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#2352)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 22:42:42 +00:00
dependabot[bot] 72c0a05595
chore(deps): bump ko-build/setup-ko from 0.8 to 0.9 (#2348)
Bumps [ko-build/setup-ko](https://github.com/ko-build/setup-ko) from 0.8 to 0.9.
- [Release notes](https://github.com/ko-build/setup-ko/releases)
- [Commits](d982fec422...d006021bd0)

---
updated-dependencies:
- dependency-name: ko-build/setup-ko
  dependency-version: '0.9'
  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>
2025-04-15 18:11:15 +02:00
dependabot[bot] ad8cfdcc88
chore(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#2349)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.0 to 5.4.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](0565863a31...ad3126e916)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.2
  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>
2025-04-15 16:50:20 +02:00
Karthik Manam 63dfbdc6d3
docs: fix grammatical issue in README Community Meetings section (#2340)
Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-04-08 20:30:37 +00:00
Karthik Manam 7e78f4118b
docs: fix Kubernetes URL typo in run-tests.md (#2339)
Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
2025-04-08 20:09:07 +00:00
Karthik Manam 02960c38cf
docs: add documentation comments to JMESPath Kubernetes functions (#2341)
Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
2025-04-08 11:49:09 +00:00
dependabot[bot] b8ad80b1d2
chore(deps): bump github/codeql-action from 3.28.13 to 3.28.15 (#2346)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.13 to 3.28.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b549b9259...45775bd823)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.15
  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>
2025-04-08 13:13:18 +02:00
dependabot[bot] 4432b2d300
chore(deps): bump goreleaser/goreleaser-action from 6.2.1 to 6.3.0 (#2337)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](90a3faa9d0...9c156ee8a1)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2025-03-31 14:08:42 +00:00
dependabot[bot] d7f079f4d7
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2336)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.22 to 3.0.23.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](25ed13d062...4830be28ce)

---
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>
2025-03-31 14:42:00 +01:00
dependabot[bot] 76f2cd3338
chore(deps): bump aquasecurity/trivy-action from 0.29.0 to 0.30.0 (#2334)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](18f2510ee3...6c175e9c40)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2025-03-26 19:46:51 +00:00
dependabot[bot] c505780e00
chore(deps): bump actions/download-artifact from 4.1.8 to 4.2.1 (#2332)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.8 to 4.2.1.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](fa0a91b85d...95815c38cf)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2025-03-26 20:28:34 +01:00
dependabot[bot] 3f46fff124
chore(deps): bump sigstore/cosign-installer from 3.7.0 to 3.8.1 (#2333)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](dc72c7d5c4...d7d6bc7722)

---
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>
2025-03-26 19:15:16 +00:00
dependabot[bot] 23d9658a05
chore(deps): bump actions/upload-artifact from 4.6.0 to 4.6.2 (#2331)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2025-03-26 20:04:57 +01:00
dependabot[bot] c38526b194
chore(deps): bump github.com/prometheus/common from 0.61.0 to 0.63.0 (#2330)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.61.0 to 0.63.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.61.0...v0.63.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-25 19:49:12 +00:00
dependabot[bot] 478efb086b
chore(deps): bump k8s.io/apiserver from 0.32.0 to 0.32.3 (#2328)
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver) from 0.32.0 to 0.32.3.
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.32.0...v0.32.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiserver
  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>
2025-03-25 20:26:09 +01:00
dependabot[bot] 7994fce982
chore(deps): bump sigs.k8s.io/controller-runtime from 0.19.4 to 0.20.4 (#2327)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.4 to 0.20.4.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.4...v0.20.4)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2025-03-25 16:19:28 +00:00
dependabot[bot] 1f4ec806e6
chore(deps): bump goreleaser/goreleaser-action from 6.1.0 to 6.2.1 (#2324)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.1.0 to 6.2.1.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](9ed2f89a66...90a3faa9d0)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2025-03-25 15:50:49 +00:00
dependabot[bot] eae65169ae
chore(deps): bump slsa-framework/slsa-github-generator (#2323)
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  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>
2025-03-25 16:39:07 +01:00
dependabot[bot] 38eb74776b
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#2325)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.12 to 3.28.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f8171a638...1b549b9259)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-25 15:24:09 +00:00
dependabot[bot] 8458e289d1
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2326)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.20 to 3.0.22.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](c3a2b64f69...25ed13d062)

---
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>
2025-03-25 15:58:26 +01:00
dependabot[bot] d6e3e2cf70
chore(deps): bump anchore/sbom-action from 0.17.9 to 0.18.0 (#2322)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.9 to 0.18.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](df80a981bc...f325610c9f)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2025-03-25 14:39:16 +00:00
Christopher Haar 71cac61ed2
fix(kube): add required interactivemode for exec (#2264)
* fix(kube): add required interactivemode for exec

Signed-off-by: Christopher Haar <christopher.haar@upbound.io>

* style(lint): fix linter for new golangci-lint

Signed-off-by: Christopher Haar <christopher.haar@upbound.io>

---------

Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-25 09:09:21 +01:00
A. Singh de947f21dc
chore(deps): update dependencies and improve linter configuration (#2304)
* chore(deps): update actions/setup-go to v5.3.0, golangci-lint-action to v6.5.0

Signed-off-by: A. Singh <32884734+A-5ingh@users.noreply.github.com>

* chore(linter): replace exportloopref with copyloopvar and tenv with usetesting in .golangci.yml

Signed-off-by: A. Singh <32884734+A-5ingh@users.noreply.github.com>

* test(report): use t.TempDir() instead of os.MkdirTemp() in TestSave

Signed-off-by: A. Singh <32884734+A-5ingh@users.noreply.github.com>

---------

Signed-off-by: A. Singh <32884734+A-5ingh@users.noreply.github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-25 00:36:57 +01:00
Charles-Edouard Brétéché 639647664a
chore: bump a couple of deps (#2321)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-25 00:04:54 +01:00
Karthik Manam baafd69f0b
docs: enhance shell completion documentation with practical examples (#2305)
Improve the documentation for shell completion by:

- Adding detailed step-by-step setup instructions for each supported shell (Bash, Zsh, Fish, PowerShell)

- Including both temporary and permanent setup options

- Providing clear examples with copy-paste ready commands

- Adding a section on testing completion functionality

- Organizing content with clear section headings

- Standardizing reference links to related documentation

This enhancement makes it easier for users to set up and use shell completion with Chainsaw, improving the overall user experience.

Signed-off-by: Karthik babu Manam <karthikmanam@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-24 22:21:44 +00:00
Ravish Rathod 0670f8dec3
doc: updated spell check (#2299)
Signed-off-by: Ravish Rathod <ravish.rathod@infosys.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-24 22:57:15 +01:00
Charles-Edouard Brétéché 9250ed5326
chore: bump a couple of deps (#2320)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-24 21:59:36 +01:00
dependabot[bot] 8b6858fa14
chore(deps): bump ko-build/setup-ko from 0.7 to 0.8 (#2269)
Bumps [ko-build/setup-ko](https://github.com/ko-build/setup-ko) from 0.7 to 0.8.
- [Release notes](https://github.com/ko-build/setup-ko/releases)
- [Commits](3aebd0597d...d982fec422)

---
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>
2025-03-24 16:54:48 +00:00
dependabot[bot] fd3b4afccf
chore(deps): bump codecov/codecov-action from 5.1.2 to 5.4.0 (#2302)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.2 to 5.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](1e68e06f1d...0565863a31)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2025-03-24 17:08:27 +01:00
dependabot[bot] 1fb3b0d055
chore(deps): bump k8s.io/client-go from 0.32.0 to 0.32.3 (#2310)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.32.0 to 0.32.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.0...v0.32.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2025-03-24 13:42:57 +00:00
dependabot[bot] 0d9649bfb3
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.5.2 (#2315)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.1 to 6.5.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](971e284b60...55c2c1448f)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2025-03-24 12:58:09 +00:00
dependabot[bot] 9223850b89
chore(deps): bump actions/setup-go from 5.2.0 to 5.4.0 (#2316)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...0aaccfd150)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2025-03-24 12:45:38 +00:00
Charles-Edouard Brétéché 496d4173fb
fix: golang ci lint (#2318)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-03-24 13:33:07 +01:00
dependabot[bot] 5ac242ceb7
chore(deps): bump github/codeql-action from 3.28.1 to 3.28.12 (#2317)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.1 to 3.28.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b6a472f63d...5f8171a638)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2025-03-24 12:36:57 +01:00
dependabot[bot] 57a4201085
chore(deps): bump github.com/hashicorp/go-getter from 1.7.6 to 1.7.8 (#2261)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.6 to 1.7.8.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.6...v1.7.8)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2025-01-16 04:30:56 +00:00
dependabot[bot] 019b877176
chore(deps): bump sigs.k8s.io/controller-runtime from 0.19.3 to 0.19.4 (#2256)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.3 to 0.19.4.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.3...v0.19.4)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2025-01-15 23:05:31 +00:00
dependabot[bot] d8d638129b
chore(deps): bump golang.org/x/net in /hack/controller-gen (#2265)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 22:54:39 +00:00
dependabot[bot] 5b45636bc4
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2259)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.18 to 3.0.20.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](6441882669...c3a2b64f69)

---
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>
2025-01-15 22:45:10 +00:00
dependabot[bot] b36344859b
chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0 (#2257)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6f51ac03b9...65c4c4a1dd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2025-01-15 21:45:10 +00:00
dependabot[bot] 60be808cda
chore(deps): bump github/codeql-action from 3.28.0 to 3.28.1 (#2260)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.0 to 3.28.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](48ab28a6f5...b6a472f63d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2025-01-15 14:15:17 +00:00
Charles-Edouard Brétéché bc982f8320
chore: bump kubectl-validate and deps (#2252)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-26 19:34:24 +01:00
dependabot[bot] 93f14ebe5c
chore(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#2249)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](7f8b4b4bde...1e68e06f1d)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-12-26 18:13:40 +00:00
dependabot[bot] dda88e999b
chore(deps): bump github/codeql-action from 3.27.9 to 3.28.0 (#2250)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.9 to 3.28.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](df409f7d92...48ab28a6f5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-12-26 18:01:38 +00:00
dependabot[bot] 939fe1833c
chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#2246)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](b4b15b8c7c...6f51ac03b9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-12-18 12:54:49 +00:00
Charles-Edouard Brétéché bd3e7cd395
refactor: add namespacer in test context (#2247)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-18 13:44:11 +01:00
Charles-Edouard Brétéché fd11837f57
refactor: remove finally from action factory (#2245)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-18 10:21:07 +01:00
Charles-Edouard Brétéché 3abe1fced8
refactor: add base path in test context (#2244)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-18 00:40:07 +01:00
Charles-Edouard Brétéché 38c69531ff
refactor: introduce action factory (#2242)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-17 16:20:40 +01:00
Charles-Edouard Brétéché 9b108553da
chore: add unit tests (#2241)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-17 00:04:51 +01:00
Charles-Edouard Brétéché bc40b1f0f7
chore: add unit tests (#2240)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-16 13:21:23 +01:00
dependabot[bot] 9035ce6417
chore(deps): bump anchore/sbom-action from 0.17.8 to 0.17.9 (#2238)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.8 to 0.17.9.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](55dc4ee224...df80a981bc)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-12-16 11:43:34 +00:00
dependabot[bot] b2b2ab6713
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2239)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.17 to 3.0.18.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](5d6ac37a4c...6441882669)

---
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>
2024-12-16 12:33:06 +01:00
Charles-Edouard Brétéché 9df3003deb
chore: add unit tests (#2237)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-16 11:51:13 +01:00
Charles-Edouard Brétéché d8845f136e
chore: add unit tests (#2236)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-14 00:14:25 +01:00
Charles-Edouard Brétéché f121618067
refactor: runner test processor (#2235)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-13 16:46:54 +01:00
dependabot[bot] 9cef44342a
chore(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 (#2234)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-13 11:06:46 +00:00
dependabot[bot] dac0712e93
chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#2233)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.7 to 3.27.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](babb554ede...df409f7d92)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-12-13 10:54:41 +00:00
Charles-Edouard Brétéché 3f3276b668
chore: add unit tests (#2232)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-13 11:44:12 +01:00
Charles-Edouard Brétéché e3a0234d23
refactor: tests runner (#2231)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 23:41:28 +01:00
Charles-Edouard Brétéché 19434ceb34
refactor: move reports management into caller (#2230)
* refactor: move reports management into caller

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 21:51:24 +01:00
Charles-Edouard Brétéché 90d2e2c8c6
chore: add unit tests (#2229)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 13:31:21 +01:00
Charles-Edouard Brétéché 595060e332
chore: add unit tests (#2224)
* chore: add unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* report tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 11:48:27 +01:00
Charles-Edouard Brétéché 41b1966a91
chore: add unit tests (#2223)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 01:15:33 +01:00
Charles-Edouard Brétéché e44813dc4a
chore: add unit tests (#2222)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-12 00:32:16 +01:00
Charles-Edouard Brétéché e0fe5946cf
chore: add unit tests (#2221)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 23:47:48 +01:00
Charles-Edouard Brétéché 8891bf31e1
chore: add unit tests (#2220)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 23:09:53 +01:00
Charles-Edouard Brétéché 3078680efe
chore: add unit tests (#2219)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 21:42:43 +01:00
Charles-Edouard Brétéché f9a9f9dd60
chore: add unit tests (#2218)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 21:24:24 +01:00
Charles-Edouard Brétéché 461bddf61c
refactor: move test context creation to caller (#2217)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 18:05:29 +01:00
dependabot[bot] d7a79146d0
chore(deps): bump k8s.io/apiserver from 0.31.3 to 0.31.4 (#2212)
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver) from 0.31.3 to 0.31.4.
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.31.3...v0.31.4)

---
updated-dependencies:
- dependency-name: k8s.io/apiserver
  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>
2024-12-11 17:02:15 +00:00
dependabot[bot] e2c56a0ecb
chore(deps): bump k8s.io/client-go from 0.31.3 to 0.31.4 (#2211)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.3 to 0.31.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.3...v0.31.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-12-11 16:46:37 +00:00
dependabot[bot] 8bb564ee84
chore(deps): bump k8s.io/api from 0.31.3 to 0.31.4 (#2210)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.31.3 to 0.31.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.31.3...v0.31.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2024-12-11 16:03:40 +00:00
Charles-Edouard Brétéché d281b6e618
refactor: better logger (#2215)
* refactor: better logger

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-11 16:45:42 +01:00
dependabot[bot] c818f77884
chore(deps): bump actions/setup-go from 5.1.0 to 5.2.0 (#2213)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](41dfa10bad...3041bf56c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2024-12-11 15:33:03 +00:00
dependabot[bot] ed5c7aacdc
chore(deps): bump github/codeql-action from 3.27.6 to 3.27.7 (#2214)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.27.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](aa57810251...babb554ede)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-12-11 15:23:00 +00:00
Charles-Edouard Brétéché 3977046b0b
refactor: remove processors package (#2207)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 19:22:11 +01:00
Charles-Edouard Brétéché 05ef5b10e7
refactor: move context package in runner (#2206)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 15:45:19 +01:00
Mario Valderrama fe23bd0472
chore: bump go version (#2204)
Go stdlib version 1.23.0 contains a few CVEs.
I don't think they are actually exploitable, but the still show up on scan results.

Signed-off-by: Mario Valderrama <mario.valderrama@ionos.com>
2024-12-09 13:08:32 +00:00
Charles-Edouard Brétéché aa0a7bb181
refactor: replace failer with simple func (#2205)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 13:52:34 +01:00
Charles-Edouard Brétéché 2d80344c34
refactor: shrink failer interface (#2203)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 12:14:52 +01:00
Charles-Edouard Brétéché 58dbdbc308
refactor: introduce runner interface (#2202)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 11:43:58 +01:00
Charles-Edouard Brétéché c68f42bb02
refactor: remove testing context functions (#2201)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-09 10:38:39 +01:00
Charles-Edouard Brétéché 0acd1bdb3e
refactor: don't use FailNow and SkipNow (#2200)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-08 23:00:01 +01:00
Charles-Edouard Brétéché 366c1acf31
refactor: restructure processors (#2199)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-07 01:04:22 +01:00
Charles-Edouard Brétéché fe419e9a63
feat: treat scenarios as early bindings and support cluster templating (#2198)
* feat: treat scenarios as early bindings and support cluster templating

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-06 14:48:17 +01:00
Charles-Edouard Brétéché 4a27d4f659
refactor: remove config from processors (#2197)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-06 11:22:18 +01:00
dependabot[bot] b285ae4cbf
chore(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1 (#2196)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.7 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](015f24e681...7f8b4b4bde)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-12-06 10:10:39 +00:00
Charles-Edouard Brétéché ef85df2772
refactor: add timeouts in test context (#2195)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-06 10:59:32 +01:00
Charles-Edouard Brétéché aa474dc4a7
refactor: context setup (#2194)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 23:32:28 +01:00
Charles-Edouard Brétéché 57be38138d
refactor: add full name in test context (#2193)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 18:59:23 +01:00
Charles-Edouard Brétéché 3efa453777
refactor: add fail fast in test context (#2192)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 18:31:56 +01:00
Charles-Edouard Brétéché e29a5e78dd
docs: add jp functions examples (#2191)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 17:31:26 +01:00
Noe Thalheim 006ea0967c
chore(docs): add required try block (#2186)
Signed-off-by: Noe Thalheim <noe@bespinian.io>
2024-12-05 14:53:13 +00:00
Charles-Edouard Brétéché b488897eb6
refactor: add catch in test context (#2190)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 15:41:58 +01:00
Charles-Edouard Brétéché 86321cd75d
refactor: add termination grace in test context (#2189)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 15:07:20 +01:00
Charles-Edouard Brétéché 24c568610a
refactor: add delay before cleanup in test context (#2188)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 14:04:44 +01:00
Charles-Edouard Brétéché 2314b2fca0
refactor: add deletion propagation in test context (#2187)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 13:02:29 +01:00
Charles-Edouard Brétéché aaadec5414
refactor: add templating to test context (#2185)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 12:19:19 +01:00
dependabot[bot] 88bfaf4d46
chore(deps): bump github.com/prometheus/common from 0.60.1 to 0.61.0 (#2183)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.1 to 0.61.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.60.1...v0.61.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-12-05 10:28:44 +00:00
Charles-Edouard Brétéché 6421092a10
refactor: add skip delete in test context (#2184)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-05 11:17:39 +01:00
github-actions[bot] 61b9b0a846
Brew formula update for chainsaw version v0.2.12 (#2181)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-12-04 21:21:11 +01:00
Charles-Edouard Brétéché 6459cd84a7
release: v0.2.12 (#2176)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-04 14:06:58 +01:00
dependabot[bot] d7c5d6cbd3
chore(deps): bump github.com/kudobuilder/kuttl from 0.19.0 to 0.20.0 (#2178)
Bumps [github.com/kudobuilder/kuttl](https://github.com/kudobuilder/kuttl) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/kudobuilder/kuttl/releases)
- [Changelog](https://github.com/kudobuilder/kuttl/blob/main/RELEASE.md)
- [Commits](https://github.com/kudobuilder/kuttl/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/kudobuilder/kuttl
  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>
2024-12-04 12:21:14 +00:00
dependabot[bot] a6dbce538b
chore(deps): bump k8s.io/apiextensions-apiserver in /hack/controller-gen (#2180)
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.31.2 to 0.31.3.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.2...v0.31.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  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>
2024-12-04 12:09:52 +00:00
dependabot[bot] 994bcf8864
chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#2179)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2024-12-04 10:11:58 +00:00
dependabot[bot] c0f4f08760
chore(deps): bump sigs.k8s.io/controller-runtime from 0.19.1 to 0.19.3 (#2177)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.1...v0.19.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-12-04 09:59:44 +00:00
dependabot[bot] 3a91d2de0c
chore(deps): bump github/codeql-action from 3.27.5 to 3.27.6 (#2175)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f09c1c0a94...aa57810251)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-12-04 09:48:11 +00:00
Charles-Edouard Brétéché 3a833705be
fix: step template bindings wrong order (#2174)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-04 09:40:27 +01:00
Charles-Edouard Brétéché 71141dc847
fix: build docs command (#2173)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 22:00:41 +01:00
Charles-Edouard Brétéché 3563f314f4
feat: add skip command output support (#2172)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 21:46:38 +01:00
Charles-Edouard Brétéché ab5f0a3bc3
fix: update codegen (#2171)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 17:32:58 +01:00
Bert Baron 2dc1aad8c3
fix: template-functions now correctly work for name, namespace and labels (#2140)
Signed-off-by: Bert Baron <bertusbaron@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 16:46:16 +01:00
Charles-Edouard Brétéché 961b0c7766
chore: fix typo in makefile (#2170)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 13:36:26 +01:00
Chris Bandy 303a9d23b6
fix: allow escaping dollar sign in command and script (#2130)
* Allow escaping dollar sign in command and script

The behavior of os.Expand is undefined and inconsistent for runs of
dollar signs U+0024. This treats pairs of dollar signs as an escape
representing one dollar sign. This matches Kubernetes' behavior for
container command and args fields.

Signed-off-by: Chris Bandy <bandy.chris@gmail.com>

* small changes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Chris Bandy <bandy.chris@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-12-03 13:17:18 +01:00
dependabot[bot] c3eff17d44
chore(deps): bump k8s.io/apiserver from 0.31.1 to 0.31.3 (#2162)
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver) from 0.31.1 to 0.31.3.
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.31.1...v0.31.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiserver
  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>
2024-12-03 11:19:53 +00:00
dependabot[bot] 0ce4047440
chore(deps): bump k8s.io/client-go from 0.31.2 to 0.31.3 (#2161)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.2 to 0.31.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.2...v0.31.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-12-03 11:07:46 +00:00
dependabot[bot] ecfde299b3
chore(deps): bump codecov/codecov-action from 5.0.4 to 5.0.7 (#2164)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.4 to 5.0.7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](985343d705...015f24e681)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-12-03 09:10:06 +00:00
dependabot[bot] 8447d7911f
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2167)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.16 to 3.0.17.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](38608ef4fb...5d6ac37a4c)

---
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>
2024-12-03 09:00:06 +00:00
dependabot[bot] 60d583d3f7
chore(deps): bump anchore/sbom-action from 0.17.7 to 0.17.8 (#2166)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.7 to 0.17.8.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](fc46e51fd3...55dc4ee224)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-12-03 08:50:01 +00:00
dependabot[bot] 90a7f9bf00
chore(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (#2165)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ea9e4e3799...f09c1c0a94)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-12-03 08:38:21 +00:00
dependabot[bot] ec5bbae20c
chore(deps): bump codecov/codecov-action from 5.0.2 to 5.0.4 (#2158)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5c47607acb...985343d705)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-11-20 09:46:59 +00:00
dependabot[bot] 9831f99d43
chore(deps): bump aquasecurity/trivy-action from 0.28.0 to 0.29.0 (#2159)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](915b19bbe7...18f2510ee3)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-11-20 09:37:09 +00:00
dependabot[bot] 4b6cf19149
chore(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 (#2144)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.60.0...v0.60.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-11-16 04:15:42 +00:00
dependabot[bot] 08ac0d8f58
chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 (#2151)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](b9fd7d16f6...5c47607acb)

---
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>
2024-11-16 03:19:15 +00:00
dependabot[bot] 51955db339
chore(deps): bump sigs.k8s.io/controller-tools in /hack/controller-gen (#2147)
Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) from 0.16.4 to 0.16.5.
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml)
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.16.4...v0.16.5)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-tools
  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>
2024-11-16 03:01:55 +00:00
dependabot[bot] 103b6ac7da
chore(deps): bump sigs.k8s.io/controller-runtime from 0.19.0 to 0.19.1 (#2145)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.0...v0.19.1)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-11-15 19:49:47 -07:00
dependabot[bot] 7212894600
chore(deps): bump github/codeql-action from 3.27.0 to 3.27.4 (#2149)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](662472033e...ea9e4e3799)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-11-16 00:29:51 +00:00
dependabot[bot] 360b92a3fb
chore(deps): bump k8s.io/apiextensions-apiserver in /hack/controller-gen (#2123)
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.31.1 to 0.31.2.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.1...v0.31.2)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  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>
2024-11-10 12:46:49 +00:00
dependabot[bot] 1e60f26fcc
chore(deps): bump k8s.io/client-go from 0.31.1 to 0.31.2 (#2121)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.1 to 0.31.2.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.1...v0.31.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-11-09 22:15:45 +00:00
dependabot[bot] dd7648a5dc
chore(deps): bump actions/setup-go from 5.0.2 to 5.1.0 (#2124)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0a12ed9d6a...41dfa10bad)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2024-11-09 10:23:30 +00:00
dependabot[bot] 8e88768403
chore(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#2118)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b)

---
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>
2024-11-09 10:13:28 +00:00
dependabot[bot] 7911bf8496
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2129)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.15 to 3.0.16.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](ed00f72a3c...38608ef4fb)

---
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>
2024-11-09 09:58:42 +00:00
dependabot[bot] 61a8df3c77
chore(deps): bump anchore/sbom-action from 0.17.5 to 0.17.7 (#2132)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.5 to 0.17.7.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](1ca97d9028...fc46e51fd3)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-11-09 09:49:18 +00:00
dependabot[bot] da8a094b04
chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 (#2135)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](286f3b13b1...9ed2f89a66)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2024-11-09 09:39:39 +00:00
dependabot[bot] 54d8d44491
chore(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 (#2113)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  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>
2024-10-24 08:23:52 +00:00
dependabot[bot] 693f455928
chore(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (#2114)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f779452ac5...662472033e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-23 12:57:59 +00:00
dependabot[bot] c8da404aac
chore(deps): bump anchore/sbom-action from 0.17.4 to 0.17.5 (#2112)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](8d0a6505bf...1ca97d9028)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-10-23 14:48:08 +02:00
dependabot[bot] 04788e7879
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2108)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.14 to 3.0.15.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](40ba2d51b6...ed00f72a3c)

---
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>
2024-10-21 13:37:00 +00:00
Charles-Edouard Brétéché ef236f6c70
fix: trivy db (#2109)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-21 15:19:36 +02:00
dependabot[bot] 12698261f0
chore(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0 (#2106)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](5681af892c...915b19bbe7)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-10-16 11:27:11 +00:00
dependabot[bot] 0b9476e14f
chore(deps): bump actions/upload-artifact from 4.4.2 to 4.4.3 (#2095)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](84480863f2...b4b15b8c7c)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-10-16 08:16:40 +00:00
dependabot[bot] b3ef058b74
chore(deps): bump sigs.k8s.io/controller-tools in /hack/controller-gen (#2096)
Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml)
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.16.3...v0.16.4)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-tools
  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>
2024-10-16 10:04:09 +02:00
dependabot[bot] fec1d54534
chore(deps): bump github/codeql-action from 3.26.12 to 3.26.13 (#2099)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c36620d31a...f779452ac5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-16 07:39:32 +00:00
dependabot[bot] 3e60a55118
chore(deps): bump anchore/sbom-action from 0.17.2 to 0.17.4 (#2100)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.2 to 0.17.4.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](61119d458a...8d0a6505bf)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-10-16 09:19:45 +02:00
dependabot[bot] 1585687cc7
chore(deps): bump aquasecurity/trivy-action from 0.26.0 to 0.27.0 (#2097)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](a20de5420d...5681af892c)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-10-16 08:58:11 +02:00
dependabot[bot] e1ffa7eafb
chore(deps): bump actions/upload-artifact from 4.4.1 to 4.4.2 (#2089)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](604373da63...84480863f2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-10-09 13:07:24 +00:00
dependabot[bot] e11804b29f
chore(deps): bump aquasecurity/trivy-action from 0.25.0 to 0.26.0 (#2090)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](f781cce5aa...a20de5420d)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-10-09 12:57:07 +00:00
dependabot[bot] e26262cfa7
chore(deps): bump github.com/google/cel-go from 0.20.1 to 0.21.0 (#2091)
Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from 0.20.1 to 0.21.0.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](https://github.com/google/cel-go/compare/v0.20.1...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  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>
2024-10-09 14:43:25 +02:00
Charles-Edouard Brétéché 7545f461f7
feat: add k8s cel libs (#2086)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-08 14:43:13 +02:00
Charles-Edouard Brétéché 2c3d27852f
feat: bump kyverno-json (#2084)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-08 14:13:04 +02:00
dependabot[bot] b5fcc779d6
chore(deps): bump actions/checkout from 4.2.0 to 4.2.1 (#2078)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)

---
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>
2024-10-08 10:52:44 +00:00
dependabot[bot] 8d773783c4
chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1 (#2077)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](50769540e7...604373da63)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-10-08 10:42:00 +00:00
dependabot[bot] beb0f63197
chore(deps): bump aquasecurity/trivy-action from 0.24.0 to 0.25.0 (#2076)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](6e7b7d1fd3...f781cce5aa)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-10-08 10:31:43 +00:00
dependabot[bot] f9588b77b8
chore(deps): bump github/codeql-action from 3.26.11 to 3.26.12 (#2079)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6db8d6351f...c36620d31a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-08 12:21:07 +02:00
dependabot[bot] 8d94591f03
chore(deps): bump sigstore/cosign-installer from 3.6.0 to 3.7.0 (#2072)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](4959ce089c...dc72c7d5c4)

---
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>
2024-10-07 15:17:30 +00:00
dependabot[bot] 639aec0bee
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2073)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](b8f9a25a51...40ba2d51b6)

---
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>
2024-10-07 15:06:34 +00:00
dependabot[bot] d248745e9e
chore(deps): bump github/codeql-action from 3.26.10 to 3.26.11 (#2070)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.26.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e2b3eafc8d...6db8d6351f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-04 11:57:44 +02:00
dependabot[bot] b9ef52207f
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#2068)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](aaa42aa062...971e284b60)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-10-03 12:25:06 +02:00
dependabot[bot] 6b7c694ec9
chore(deps): bump github.com/prometheus/common from 0.59.1 to 0.60.0 (#2065)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.59.1 to 0.60.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.59.1...v0.60.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-10-02 11:57:43 +00:00
dependabot[bot] 0ad76501e7
chore(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (#2064)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e28ff129e5...b9fd7d16f6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-10-02 11:47:30 +00:00
github-actions[bot] 252a45f9a0
Brew formula update for chainsaw version v0.2.11 (#2062)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-10-02 09:58:53 +02:00
Charles-Edouard Brétéché 2224d46478
release: v0.2.11 (#2060)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-02 09:13:46 +02:00
Charles-Edouard Brétéché fb9f55f9df
chore: update release notes (#2058)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-01 21:39:53 +02:00
Charles-Edouard Brétéché 7c5e0c687a
docs: add more jp functions examples (#2055)
* docs: add more jp functions examples

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs: add more jp functions examples

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-01 15:17:33 +02:00
dependabot[bot] 0f01d17313
chore(deps): bump github/codeql-action from 3.26.9 to 3.26.10 (#2054)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](461ef6c76d...e2b3eafc8d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-01 15:06:36 +02:00
Charles-Edouard Brétéché 06375030e4
chore: bump jp lib (#2052)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 20:32:50 +02:00
Charles-Edouard Brétéché e70c040abe
feat: add cel test (#2049)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 13:11:25 +02:00
Charles-Edouard Brétéché f11987801c
feat: add default compiler at the operation api level (#2047)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 12:47:28 +02:00
dependabot[bot] dbbe5e83e0
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#2045)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](0901cf7b71...b8f9a25a51)

---
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>
2024-09-30 09:49:21 +00:00
Charles-Edouard Brétéché e876efe102
feat: add compiler at the step api level (#2043)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 11:13:34 +02:00
Charles-Edouard Brétéché 2a11382f7b
feat: add default compiler at the test api level (#2041)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 10:25:15 +02:00
Charles-Edouard Brétéché e8e95e2b77
feat: add default compiler flag (#2039)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-30 10:01:28 +02:00
Charles-Edouard Brétéché 072a531bab
feat: add compiler field in configuration api (#2037)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-29 21:50:38 +02:00
Charles-Edouard Brétéché d56d81b19a
feat: add compiler to the namespace template api (#2035)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-29 16:18:20 +02:00
Charles-Edouard Brétéché 4f2bc3cd17
feat: add compiler to the binding api (#2033)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-29 14:43:57 +02:00
Charles-Edouard Brétéché 75ed8df8d6
feat: add cel support (#2031)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-28 11:17:18 +02:00
Charles-Edouard Brétéché 1d2d64bc85
feat: add CEL support in assertion trees (#2029)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-28 10:56:59 +02:00
Charles-Edouard Brétéché ba6a01a907
feat: bump kyverno-json (#2027)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-27 20:55:42 +02:00
Charles-Edouard Brétéché e7877e98d5
feat: bump kyverno-json (#2025)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-27 15:42:36 +02:00
Charles-Edouard Brétéché 21e113d7c3
feat: add sharding support (#2023)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-27 11:44:24 +02:00
Charles-Edouard Brétéché 0bf4992677
docs: add jp funcs docs in menu (#2021)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-26 16:32:12 +02:00
Charles-Edouard Brétéché ae17c4fe4d
feat: embed jp functions docs (#1980)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-26 15:53:57 +02:00
Charles-Edouard Brétéché 804435f82a
feat: improve jp docs (#2018)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-26 15:00:50 +02:00
dependabot[bot] 8b1ade57b5
chore(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#2015)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2024-09-26 12:07:32 +02:00
Charles-Edouard Brétéché ca9426508b
fix: no-cluster option (#2014)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-26 11:57:27 +02:00
Charles-Edouard Brétéché b310d8c250
chore: update kind to 1.31 (#2012)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-26 11:27:35 +02:00
dependabot[bot] f46e488d55
chore(deps): bump github/codeql-action from 3.26.8 to 3.26.9 (#2010)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](294a9d9291...461ef6c76d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-09-25 19:44:53 +00:00
Amir Blum 81916ce8e6
chore: add odigos to adopters (#2009)
Signed-off-by: Amir Blum <amirgiraffe@gmail.com>
2024-09-25 19:34:18 +00:00
dependabot[bot] 0cf92f710b
chore(deps): bump github/codeql-action from 3.26.7 to 3.26.8 (#2004)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8214744c54...294a9d9291)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-09-20 10:09:28 +00:00
Charles-Edouard Brétéché a9d1db95df
fix: exit code when failing in root test run (#2002)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-19 10:12:14 +02:00
github-actions[bot] ac253919dc
Brew formula update for chainsaw version v0.2.10 (#1999)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-09-17 10:39:30 +02:00
Charles-Edouard Brétéché 0621e0a2c7
release: v0.2.10 (#1997)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-17 09:40:54 +02:00
Charles-Edouard Brétéché ce3f6923a2
chore: update release notes (#1995)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-16 21:16:04 +02:00
Charles-Edouard Brétéché ae96478fe6
feat: add bindings support to step templates (#1985)
* feat: add bindings support to step templates

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix comment

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-16 15:10:21 +02:00
dependabot[bot] 01c20fb152
chore(deps): bump k8s.io/apiextensions-apiserver in /hack/controller-gen (#1989)
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  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>
2024-09-16 14:52:15 +02:00
dependabot[bot] ddb186fb5a
chore(deps): bump sigs.k8s.io/controller-tools in /hack/controller-gen (#1990)
Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) from 0.16.1 to 0.16.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml)
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.16.1...v0.16.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-tools
  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>
2024-09-16 12:41:45 +00:00
Charles-Edouard Brétéché 404084144e
fix: dependabot gomod directories (#1987)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-16 14:32:00 +02:00
Charles-Edouard Brétéché 351e47a97a
fix: make template required in step template (#1984)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-16 14:17:23 +02:00
Charles-Edouard Brétéché 0cd5fa6113
feat: remove v1alpha2 tests api for now (#1982)
* feat: remove v1alpha2 tests api for now

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-16 13:52:40 +02:00
dependabot[bot] 8a946b8ae8
chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 (#1979)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 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](4dd16135b6...8214744c54)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-09-16 12:12:46 +02:00
Charles-Edouard Brétéché 4f78603f81
refactor: junit report structure (#1977)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 17:14:36 +02:00
Charles-Edouard Brétéché 6cebaf49ff
feat: add test cleanup to report (#1975)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 15:02:13 +02:00
Charles-Edouard Brétéché fca3457948
feat: move cleanup in separate report steps (#1973)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 13:08:47 +02:00
Charles-Edouard Brétéché 5914bccdb6
feat: operation type to report (#1971)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 11:40:37 +02:00
Charles-Edouard Brétéché 652e62cf1d
refactor: reports failures propagation (#1969)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 11:12:57 +02:00
Charles-Edouard Brétéché 30883c276e
feat: add cleanup operations in reports (#1966)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 10:46:53 +02:00
Charles-Edouard Brétéché 3d33acbcae
feat: improve json report format (#1964)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 10:21:57 +02:00
Charles-Edouard Brétéché de0a5f0b65
refactor: decouple operation execution from failer (#1958) (#1962)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-13 09:39:00 +02:00
Charles-Edouard Brétéché 686432be5b
refactor: failure propagation in reports (#1960)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 22:36:39 +02:00
Charles-Edouard Brétéché f342f73fb6
refactor: decouple operation execution from failer (#1958)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 18:16:27 +02:00
Charles-Edouard Brétéché 864c63880f
refactor: report system (#1956)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 17:42:37 +02:00
Charles-Edouard Brétéché 45a1a42c40
feat: restructure junit reports (#1954)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 16:50:57 +02:00
Charles-Edouard Brétéché c6c7e3cbdd
feat: use jstemmer/go-junit-report (#1951)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 15:36:27 +02:00
Charles-Edouard Brétéché 24b27445d1
fix: reports system (#1950)
* fix: reports system

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fixes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-12 14:22:14 +02:00
dependabot[bot] dbced8a8c7
chore(deps): bump k8s.io/client-go from 0.31.0 to 0.31.1 (#1947)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.0 to 0.31.1.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-09-12 08:30:11 +00:00
dependabot[bot] 37595bf9aa
chore(deps): bump k8s.io/api from 0.31.0 to 0.31.1 (#1945)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.31.0 to 0.31.1.
- [Commits](https://github.com/kubernetes/api/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2024-09-12 08:00:51 +00:00
Charles-Edouard Brétéché c10b2431e6
chore: remove checkout when uploading to codecov (#1942)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-11 16:27:23 +02:00
James Lucktaylor 7f2229e75e
Update bindings.md with 'x_k8s_get()' example (#1915)
* Update bindings.md with 'x_k8s_get()' example

Added a commented example on how to bind other objects with the 'x_k8s_get()' function, then refer and assert against.

Signed-off-by: James Lucktaylor <jlucktay@users.noreply.github.com>

* docs: move x_k8s_get example to its own page

Signed-off-by: James Lucktaylor <jlucktay+github@gmail.com>

* restructure

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: James Lucktaylor <jlucktay@users.noreply.github.com>
Signed-off-by: James Lucktaylor <jlucktay+github@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-11 15:40:22 +02:00
Charles-Edouard Brétéché e178df0335
fix: default report name not set correctly (#1939)
* chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1936)

Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.11 to 3.0.12.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](3c16e895bb...0901cf7b71)

---
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>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: default report name not set correctly

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 14:44:49 +02:00
dependabot[bot] 3159301d8c
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1936)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.11 to 3.0.12.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](3c16e895bb...0901cf7b71)

---
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>
2024-09-07 12:06:05 +00:00
github-actions[bot] cbddf600af
Brew formula update for chainsaw version v0.2.9 (#1934)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-09-06 17:24:19 +02:00
Charles-Edouard Brétéché 17a636ee5c
release: v0.2.9 (#1931)
* release: v0.2.9

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* goreleaser version

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 16:54:17 +02:00
Charles-Edouard Brétéché 58ba6bd7a2
chore: update release notes (#1928)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 16:28:40 +02:00
Charles-Edouard Brétéché 11530fff85
chore: update goreleaser config (#1926)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 15:50:20 +02:00
Charles-Edouard Brétéché 4be9942ee9
fix: lint different versions (#1924)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 15:14:50 +02:00
dependabot[bot] ab00abbc06
chore(deps): bump github.com/prometheus/common from 0.58.0 to 0.59.1 (#1922)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.58.0 to 0.59.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.58.0...v0.59.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-09-06 11:24:04 +02:00
Charles-Edouard Brétéché 4de43dd227
feat: work dir override follow-up (#1920)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 10:32:43 +02:00
Sergen Yalçın 2d2fcf47a6
feat: Add workDir API to the script and command operation APIs to make parametrize the working directory (#1913)
* Add workDir API to the script and command operation APIs to make parametrize the working directory

Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>

* update codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-06 09:51:09 +02:00
dependabot[bot] 54866f9138
chore(deps): bump github.com/prometheus/common from 0.57.0 to 0.58.0 (#1914)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.57.0 to 0.58.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.57.0...v0.58.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-09-04 15:00:40 +02:00
Charles-Edouard Brétéché dd89a42096
feat: add ppc64le and s390x builds (#1910)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-03 01:22:00 +02:00
dependabot[bot] b652b82fd7
chore(deps): bump github.com/kudobuilder/kuttl from 0.18.0 to 0.19.0 (#1905)
Bumps [github.com/kudobuilder/kuttl](https://github.com/kudobuilder/kuttl) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/kudobuilder/kuttl/releases)
- [Changelog](https://github.com/kudobuilder/kuttl/blob/main/RELEASE.md)
- [Commits](https://github.com/kudobuilder/kuttl/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/kudobuilder/kuttl
  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>
2024-09-02 11:34:12 +00:00
dependabot[bot] 684ebc1e00
chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (#1904)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-09-02 13:21:54 +02:00
dependabot[bot] 0e4b3e1b11
chore(deps): bump github.com/prometheus/common from 0.56.0 to 0.57.0 (#1900)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.56.0 to 0.57.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.56.0...v0.57.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-09-02 09:58:17 +02:00
dependabot[bot] fa480f5274
chore(deps): bump github/codeql-action from 3.26.5 to 3.26.6 (#1901)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2c779ab0d0...4dd16135b6)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-09-02 07:42:45 +00:00
dependabot[bot] a5e637397d
chore(deps): bump github.com/prometheus/common from 0.55.0 to 0.56.0 (#1898)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.55.0 to 0.56.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.55.0...v0.56.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2024-08-28 16:29:26 +02:00
Charles-Edouard Brétéché 5abe84c8f1
feat: add server side validation support (#1894)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-28 00:34:58 +02:00
Charles-Edouard Brétéché aa9468fee7
feat: bump kubectl-validate and k8s to 1.31 (#1892)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-27 23:35:05 +02:00
Charles-Edouard Brétéché 6dbc53abe4
chore: bump a couple of deps (#1889)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-27 02:05:39 +02:00
Charles-Edouard Brétéché c638f6469f
fix: make wait for jsonpath value optional (#1887)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-27 00:46:54 +02:00
Charles-Edouard Brétéché 7093e0cc28
feat: add go 1.23 support (#1881)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-27 00:15:13 +02:00
dependabot[bot] adab74f53c
chore(deps): bump github/codeql-action from 3.26.4 to 3.26.5 (#1879)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.4 to 3.26.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f0f3afee80...2c779ab0d0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-08-26 09:37:31 +00:00
dependabot[bot] bbee980f37
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1880)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.10 to 3.0.11.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](b88cd0aad2...3c16e895bb)

---
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>
2024-08-26 09:27:25 +00:00
dependabot[bot] a5b1fddb6a
chore(deps): bump anchore/sbom-action from 0.17.1 to 0.17.2 (#1872)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](ab9d16d4b4...61119d458a)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-08-25 13:31:50 +00:00
dependabot[bot] 5e047e8152
chore(deps): bump github/codeql-action from 3.26.2 to 3.26.4 (#1873)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.26.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](429e197704...f0f3afee80)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-08-25 15:21:52 +02:00
dependabot[bot] 694827fd9e
chore(deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 (#1865)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.5 to 1.7.6.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.5...v1.7.6)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  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>
2024-08-16 18:07:12 +01:00
dependabot[bot] 7a97e6a37b
chore(deps): bump anchore/sbom-action from 0.17.0 to 0.17.1 (#1853)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](d94f46e13c...ab9d16d4b4)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-08-14 23:34:24 +01:00
dependabot[bot] 0c6223e6d9
chore(deps): bump github/codeql-action from 3.26.0 to 3.26.2 (#1861)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](eb055d739a...429e197704)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-08-14 22:05:57 +00:00
dependabot[bot] 51bf6ba3bc
chore(deps): bump sigs.k8s.io/controller-runtime from 0.18.4 to 0.18.5 (#1850)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.18.4 to 0.18.5.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-08-14 22:54:25 +01:00
Charles-Edouard Brétéché 4d132f91be
feat: add begin, end, and warning log statuses (#1848)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-12 23:48:26 +01:00
Charles-Edouard Brétéché 4124072173
feat: compile expressions when unmarshaling (#1845)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-12 22:06:16 +01:00
Charles-Edouard Brétéché 7fb94ad995
feat: migrate to new expressions (#1843)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-10 23:25:45 +01:00
Charles-Edouard Brétéché 92ec50d170
feat: add expression method to get value (#1841)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-10 23:13:40 +01:00
Charles-Edouard Brétéché 6c8e9470e6
feat: simplify string expressions management (#1839)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-10 22:36:29 +01:00
Charles-Edouard Brétéché 8e36f27b7e
feat: add type for string expressions (#1837)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-09 10:32:27 +01:00
Charles-Edouard Brétéché 556385b200
feat: support templating in files (#1826)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-08 21:19:09 +01:00
dependabot[bot] e7d0047c2d
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (#1832)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](59acb6260d...4959ce089c)

---
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>
2024-08-08 19:39:36 +00:00
dependabot[bot] d6b957aebc
chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6 (#1829)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...834a144ee9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-08-08 19:29:28 +00:00
dependabot[bot] 722b68647b
chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (#1828)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.15 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](afb54ba388...eb055d739a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-08-08 19:13:06 +01:00
Charles-Edouard Brétéché 4b8269d714
refactor: more engine package (#1824)
* chore: add unit tests (#1815)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: more engine package

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-02 23:50:50 +02:00
Charles-Edouard Brétéché f2cc745f60
chore: add unit tests (#1821)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-01 00:53:34 +02:00
Charles-Edouard Brétéché f53dafcea0
chore: add unit tests (#1819)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 18:03:16 +02:00
Charles-Edouard Brétéché cbf26e0171
chore: add unit tests (#1815)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 17:06:27 +02:00
github-actions[bot] 24088b55a7
Brew formula update for chainsaw version v0.2.8 (#1816)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-07-31 16:29:49 +02:00
Charles-Edouard Brétéché b9d6bcae5b
release: v0.2.8 (#1812)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 15:57:47 +02:00
Charles-Edouard Brétéché 2951ca20db
chore: add unit tests (#1811)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 15:38:02 +02:00
Charles-Edouard Brétéché db55f26619
fix: openapi2jsonschema strict mode (#1809)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 15:09:43 +02:00
Charles-Edouard Brétéché fa067b0f25
fix: propagation policy (#1806)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-31 02:39:53 +02:00
Charles-Edouard Brétéché 6cfcb423d3
chore: bump kyverno-json (#1802)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 17:10:43 +02:00
Charles-Edouard Brétéché b462e511a5
chore: add unit tests (#1800)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 16:39:45 +02:00
Charles-Edouard Brétéché 7dab320cfc
chore: add unit tests (#1798)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 15:47:40 +02:00
Charles-Edouard Brétéché 147a062d13
chore: add unit tests (#1794)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 15:12:53 +02:00
Charles-Edouard Brétéché badb0f8735
chore: bump kyverno-json (#1793)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 15:02:03 +02:00
Charles-Edouard Brétéché 9b63b864d8
fix: bump kyverno-json (#1791)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 14:12:17 +02:00
dependabot[bot] eab2035ba0
chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#1789)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-07-30 11:37:50 +02:00
Charles-Edouard Brétéché 6ea7051839
fix: use strict json schemas (#1784)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 02:45:43 +02:00
Charles-Edouard Brétéché bc87c470a5
refactor: templating packages (#1783)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 01:55:27 +02:00
Charles-Edouard Brétéché c578df870b
refactor: test context (#1781)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-30 01:07:01 +02:00
Charles-Edouard Brétéché 080cb14cee
refactor: test context (#1779)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 23:24:45 +02:00
Charles-Edouard Brétéché 76a7c20ce2
refactor: processors (#1777)
* refactor: engine bindings

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: processors

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* context data

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* rm dead code

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 20:31:56 +02:00
Charles-Edouard Brétéché 2129593e70
refactor: engine bindings (#1775)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 19:00:33 +02:00
Charles-Edouard Brétéché 4fbfa30af3
chore: add unit tests (#1773)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 17:31:27 +02:00
Charles-Edouard Brétéché 9f6eb3270b
refactor: engine context (#1771)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 15:32:12 +02:00
Charles-Edouard Brétéché de6ba2088b
chore: add unit tests (#1765)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 14:07:20 +02:00
Charles-Edouard Brétéché 77adfadd41
refactor: namespacer interface (#1768)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 13:24:11 +02:00
dependabot[bot] 2659d1acf5
chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (#1766)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.14 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5cf07d8b70...afb54ba388)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-07-29 11:46:01 +02:00
Charles-Edouard Brétéché 1f6bf6ff30
chore: add unit tests (#1763)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 09:40:08 +02:00
Charles-Edouard Brétéché a331548664
chore: add unit tests (#1761)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 02:39:10 +02:00
Charles-Edouard Brétéché 8be8931110
chore: add unit tests (#1759)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 01:49:06 +02:00
Charles-Edouard Brétéché 5a192aa95c
chore: add cleaner unit tests (#1757)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-29 01:00:07 +02:00
Charles-Edouard Brétéché 9f5ea20454
chore: improve codecov config (#1755)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-28 23:57:05 +02:00
Charles-Edouard Brétéché 1618d0aee9
feat: delay operation loading until execution (#1753)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-28 23:35:43 +02:00
Charles-Edouard Brétéché 56bb8611f2
chore: bump a couple of deps (#1751)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-28 20:30:43 +02:00
Charles-Edouard Brétéché 49f95eddd4
chore: bump a couple of deps (#1749)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-28 11:36:13 +02:00
Charles-Edouard Brétéché e74dd6af1d
refactor: timeout management (#1747)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-27 01:55:01 +02:00
Charles-Edouard Brétéché b0d0c4f072
feat: add failfast support per test (#1745)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-26 14:29:50 +02:00
Charles-Edouard Brétéché dbfe50e124
refactor: dry run management (#1743)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-26 11:15:33 +02:00
Charles-Edouard Brétéché 4a667d2735
fix: operation info not registered before other bindings (#1741)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-26 00:15:17 +02:00
dependabot[bot] a398c1f9f7
chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (#1735)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.14.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d790406f5...5cf07d8b70)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-07-25 13:24:17 +00:00
Charles-Edouard Brétéché b73ab00483
feat: use string pointer for cluster in step and actions (#1738)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-25 14:58:55 +02:00
Charles-Edouard Brétéché f2fbf2f115
refactor: test context setup (#1736)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-25 14:21:35 +02:00
Charles-Edouard Brétéché 919468c1f5
refactor: more test context (#1733)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-25 00:25:38 +02:00
Charles-Edouard Brétéché 4be728e237
refactor: more engine package (#1731)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 17:41:02 +02:00
Charles-Edouard Brétéché 702f07ca1d
refactor: more test context (#1729)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 17:03:37 +02:00
Charles-Edouard Brétéché e114afa485
refactor: more test context (#1727)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 15:10:05 +02:00
Charles-Edouard Brétéché f9063af1c9
refactor: introduce engine package (#1725)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 14:55:37 +02:00
Charles-Edouard Brétéché 89a409aefe
refactor: fail fast management (#1723)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 13:50:19 +02:00
Charles-Edouard Brétéché 8b2c16716f
refactor: cleanup management (#1721)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 11:58:34 +02:00
Charles-Edouard Brétéché f00417c840
refactor: timeouts management (#1719)
* refactor: timeouts management

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 11:03:40 +02:00
Charles-Edouard Brétéché 6a9ee23e31
refactor: move summary in context (#1717)
* refactor: move summary in context

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 03:21:01 +02:00
Charles-Edouard Brétéché 751f45713d
refactor: default timeouts (#1711)
* refactor: default timeouts

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 02:23:16 +02:00
Charles-Edouard Brétéché 111abb48ba
refactor: data package (#1714)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 01:39:05 +02:00
Charles-Edouard Brétéché ee7018cb8b
refactor: default loaders (#1712)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-24 01:16:29 +02:00
Charles-Edouard Brétéché ee20a89b76
refactor: simplify test context (#1709)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 23:44:58 +02:00
Charles-Edouard Brétéché 3b77d6bec5
refactor: cleanup part 1 (#1707)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 22:35:14 +02:00
Charles-Edouard Brétéché 05ff4b24cf
refactor: make test context a simple struct (#1705)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 13:29:14 +02:00
Charles-Edouard Brétéché 90906dc95a
refactor: more test context (#1703)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 12:25:26 +02:00
Charles-Edouard Brétéché 2bd0d2ecc3
refactor: introduce test context (#1701)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 11:27:40 +02:00
Charles-Edouard Brétéché c51641b4ef
refactor: move runner client (#1699)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 10:18:37 +02:00
Charles-Edouard Brétéché d31402ec4f
chore: split model package (#1696)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 09:57:58 +02:00
Charles-Edouard Brétéché d953f4b61b
refactor: names package (#1695)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-23 09:43:18 +02:00
Charles-Edouard Brétéché 2409bc15de
refactor: reduce coupling to test framework (#1693)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 21:46:08 +02:00
Charles-Edouard Brétéché 36e6deb2c5
refactor: client package (#1691)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 20:07:21 +02:00
Charles-Edouard Brétéché eaf5860837
refactor: kube utils (#1689)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 17:55:23 +02:00
Charles-Edouard Brétéché c3399063c4
feat: add a renovate config command (#1687)
* feat: add a renovate config command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 15:42:47 +02:00
Charles-Edouard Brétéché 7258052b6d
chore: remove unused code (#1685)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 13:00:48 +02:00
dependabot[bot] e046f2d3f4
chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 (#1682)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.12 to 3.25.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4fa2a79536...2d790406f5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-07-22 12:36:23 +02:00
github-actions[bot] f0bc7d173b
Brew formula update for chainsaw version v0.2.7 (#1680)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-07-22 10:28:28 +02:00
Charles-Edouard Brétéché da3e3f3096
release: v0.2.7 (#1678)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-22 10:00:44 +02:00
Charles-Edouard Brétéché 4011b4dc21
chore: update release notes (#1676)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-21 23:58:53 +02:00
Charles-Edouard Brétéché 0fc8023702
fix: null vs empty object comparison (#1673)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-21 23:00:17 +02:00
Charles-Edouard Brétéché a7d84c852a
chore: improve step template reference (#1670)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-19 14:31:51 +02:00
Charles-Edouard Brétéché 047eaf2a2a
chore: rename from to use (#1667)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-19 00:15:52 +02:00
Charles-Edouard Brétéché c2ff8bbfa9
feat: introduce model package (#1664)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-18 18:07:28 +02:00
Charles-Edouard Brétéché 83562ff008
feat: introduce step template (#1623)
* feat: introduce step template

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* from

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schema

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* loading

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-18 17:29:11 +02:00
dependabot[bot] d39b624a8b
chore(deps): bump k8s.io/apiextensions-apiserver from 0.30.2 to 0.30.3 (#1658)
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.30.2 to 0.30.3.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.30.2...v0.30.3)

---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
  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>
2024-07-18 12:59:57 +02:00
dependabot[bot] 94b83d1f96
chore(deps): bump k8s.io/client-go from 0.30.2 to 0.30.3 (#1657)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.30.2 to 0.30.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.30.2...v0.30.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-07-18 12:39:53 +02:00
dependabot[bot] 78e0b0dbe5
chore(deps): bump k8s.io/apimachinery from 0.30.2 to 0.30.3 (#1656)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.30.2 to 0.30.3.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.2...v0.30.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  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>
2024-07-18 12:24:22 +02:00
Charles-Edouard Brétéché bd8b53d796
refactor: remove code based validation (#1654)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-18 09:24:06 +02:00
Charles-Edouard Brétéché 079d442739
feat: more model based validation (#1652)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-17 18:37:23 +02:00
Charles-Edouard Brétéché 006dbcaee6
feat: more schema based valdation (#1650)
* feat: more schema based valdation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* not

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-17 16:18:42 +02:00
Charles-Edouard Brétéché a60de55f7d
feat: model schema based validation (#1648)
* feat: model schema based validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-16 16:19:05 +02:00
dependabot[bot] 8d14831159
chore(deps): bump anchore/sbom-action from 0.16.1 to 0.17.0 (#1646)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](95b086ac30...d94f46e13c)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-07-16 13:57:28 +02:00
Charles-Edouard Brétéché 6bb32f2260
chore: move apis related packages (#1644)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-16 11:41:26 +02:00
Charles-Edouard Brétéché bcaa04cfaf
chore: remove useless config validation (#1642)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-16 11:26:49 +02:00
Charles-Edouard Brétéché 9a9d0ec59e
refactor: move loader packages (#1640)
* refactor: move loader packages

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-16 11:06:24 +02:00
Charles-Edouard Brétéché d8927c83a5
feat: use custom crd generator (#1625)
* feat: use custom crd generator

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* one of

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix linter

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schemas

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schemas

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-16 03:07:46 +02:00
Charles-Edouard Brétéché 4b02cd755f
refactor: conversion funcs (#1637)
* refactor: conversion funcs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* runner

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-15 23:56:33 +02:00
Charles-Edouard Brétéché 098ad3ac1c
refactor: config v1alpha2 (#1635)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-15 20:36:13 +02:00
Charles-Edouard Brétéché 79b2eecc52
chore: use a named field for test (#1633)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-15 14:38:08 +02:00
Charles-Edouard Brétéché 73528bed44
feat: add code of conduct (#1631)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-15 14:16:42 +02:00
Manoramsharma b7ac6b7fc7
Added a structured content to community section of chainsaw website (#1594)
* Added astructured content to community section of chainsaw website

Signed-off-by: Manoram Sharma <img_2020037@iiitm.ac.in>

* remove translations

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Manoram Sharma <img_2020037@iiitm.ac.in>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-12 12:10:30 +02:00
dependabot[bot] d1e7cb5db5
chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 (#1627)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b611370bb5...4fa2a79536)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-07-12 11:56:13 +02:00
dependabot[bot] 03ea226339
chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2 (#1624)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](cdcb360436...0a12ed9d6a)

---
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>
2024-07-11 19:35:54 +02:00
Charles-Edouard Brétéché f65a235e5a
chore: bump a couple of deps (#1621)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-10 13:39:06 +02:00
dependabot[bot] a130317395
chore(deps): bump anchore/sbom-action from 0.16.0 to 0.16.1 (#1619)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](e8d2a6937e...95b086ac30)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-07-10 09:22:14 +00:00
github-actions[bot] 60adeea499
Brew formula update for chainsaw version v0.2.6 (#1617)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-07-10 11:12:46 +02:00
Charles-Edouard Brétéché 62242167f7
release: v0.2.6 (#1613)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-10 09:29:33 +02:00
dependabot[bot] 26e6caa4b4
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#1614)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 00:35:43 +02:00
Charles-Edouard Brétéché 779ec37d43
chore: update release notes (#1611)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-09 21:25:48 +02:00
Charles-Edouard Brétéché dc6d69e2bc
feat: add as_string jp function (#1608)
* feat: add as_string jp function

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-07-09 18:22:53 +02:00
sandert-k8s cb8ef56369
Fix parameter cleanup delay in docs (#1605)
The command in the docs doesn't exist, replaced by the correct one: `cleanup-delay`.

Signed-off-by: sandert-k8s <32864332+sandert-k8s@users.noreply.github.com>
2024-07-09 13:38:02 +00:00
dependabot[bot] a032196d1a
chore(deps): bump aquasecurity/trivy-action from 0.23.0 to 0.24.0 (#1604)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](7c2007bcb5...6e7b7d1fd3)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-07-09 13:49:08 +02:00
dependabot[bot] 9552c5a296
chore(deps): bump github.com/kudobuilder/kuttl from 0.17.0 to 0.18.0 (#1598)
Bumps [github.com/kudobuilder/kuttl](https://github.com/kudobuilder/kuttl) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/kudobuilder/kuttl/releases)
- [Changelog](https://github.com/kudobuilder/kuttl/blob/main/RELEASE.md)
- [Commits](https://github.com/kudobuilder/kuttl/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/kudobuilder/kuttl
  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>
2024-07-08 20:20:20 +00:00
dependabot[bot] c1f2981eb8
chore(deps): bump actions/download-artifact from 4.1.7 to 4.1.8 (#1599)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](65a9edc588...fa0a91b85d)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-07-08 20:10:56 +00:00
dependabot[bot] 8b3c39ad90
chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 (#1600)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-07-08 22:01:22 +02:00
dependabot[bot] 6b21a1c9a7
chore(deps): bump amannn/action-semantic-pull-request (#1592)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](cfb60706e1...0723387faa)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  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>
2024-07-02 12:32:31 +00:00
dependabot[bot] 82a85c29c7
chore(deps): bump github/codeql-action from 3.25.10 to 3.25.11 (#1593)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.10 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](23acc5c183...b611370bb5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-07-02 12:10:25 +00:00
dependabot[bot] 028c7f4a8d
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1595)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.9 to 3.0.10.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](74606c3045...b88cd0aad2)

---
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>
2024-07-02 12:01:39 +00:00
Charles-Edouard Brétéché 20bfb5a58a
feat: add proxy helper (#1589)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-27 21:38:29 +02:00
Charles-Edouard Brétéché f5804be7c6
feat: add jp function to decode metrics (#1587)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-27 14:20:41 +02:00
dependabot[bot] ec6d0f1883
chore(deps): bump github.com/hashicorp/go-getter from 1.7.4 to 1.7.5 (#1581)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  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>
2024-06-24 17:38:08 +00:00
github-actions[bot] c078452226
Brew formula update for chainsaw version v0.2.5 (#1584)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-06-24 13:47:31 +02:00
Charles-Edouard Brétéché fb4aa3f1be
release: v0.2.5 (#1582)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-24 12:44:34 +02:00
Charles-Edouard Brétéché 2b4fa76aab
chore: update release notes (#1578)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-24 09:47:18 +02:00
Charles-Edouard Brétéché ac9f03f41a
feat: add test scenarios support (#1576)
* feat: add test scenarios support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* scenario id

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-23 22:53:55 +02:00
dependabot[bot] 2f3c548eb2
chore(deps): bump ko-build/setup-ko from 0.6 to 0.7 (#1572)
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](ace48d7935...3aebd0597d)

---
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>
2024-06-18 15:20:01 +00:00
dependabot[bot] 54eb299c52
chore(deps): bump aquasecurity/trivy-action from 0.22.0 to 0.23.0 (#1573)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](595be6a0f6...7c2007bcb5)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-06-18 17:11:25 +02:00
Charles-Edouard Brétéché 8b2c70b632
refactor: v1alpha2 api (#1567)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-17 12:59:13 +02:00
dependabot[bot] 647f8f5907
chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#1568)
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](https://github.com/spf13/cobra/compare/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>
2024-06-17 11:56:48 +02:00
dependabot[bot] 00ca330dc4
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1565)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.7 to 3.0.9.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](76d1d8e0b0...74606c3045)

---
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>
2024-06-17 09:43:18 +00:00
dependabot[bot] 5b387658d2
chore(deps): bump github/codeql-action from 3.25.9 to 3.25.10 (#1563)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.9 to 3.25.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](530d4feaa9...23acc5c183)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-06-14 10:13:43 +00:00
dependabot[bot] 3e5463522a
chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#1551)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

---
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>
2024-06-13 12:25:50 +00:00
dependabot[bot] 15c2cce1d8
chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 (#1552)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 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](125fc84a9a...e28ff129e5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-06-13 11:22:32 +00:00
dependabot[bot] 211f28906f
chore(deps): bump github/codeql-action from 3.25.8 to 3.25.9 (#1553)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.8 to 3.25.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2e230e8fe0...530d4feaa9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-06-13 10:26:37 +00:00
dependabot[bot] 25c7e19005
chore(deps): bump k8s.io/client-go from 0.30.1 to 0.30.2 (#1555)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.30.1 to 0.30.2.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.30.1...v0.30.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-06-13 10:16:15 +00:00
dependabot[bot] 72fb202859
chore(deps): bump k8s.io/apimachinery from 0.30.1 to 0.30.2 (#1556)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.30.1 to 0.30.2.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.1...v0.30.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  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>
2024-06-13 10:07:48 +00:00
Charles-Edouard Brétéché e1dd5cae1a
feat: more test v1alpha2 changes (#1533)
* feat: more test v1alpha2 changes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* action types

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* catch

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-13 10:30:31 +02:00
Charles-Edouard Brétéché b84ea6ef65
refactor: action api structs (#1548)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-12 13:47:26 +02:00
Charles-Edouard Brétéché 5a99c5a900
refactor: action api structs (#1546)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-12 11:26:03 +02:00
Charles-Edouard Brétéché ef2bdafc30
fix: use python virtual env (#1544)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-10 21:43:27 +02:00
dependabot[bot] 70d1569970
chore(deps): bump github.com/kudobuilder/kuttl from 0.16.0 to 0.17.0 (#1542)
Bumps [github.com/kudobuilder/kuttl](https://github.com/kudobuilder/kuttl) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/kudobuilder/kuttl/releases)
- [Changelog](https://github.com/kudobuilder/kuttl/blob/main/RELEASE.md)
- [Commits](https://github.com/kudobuilder/kuttl/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: github.com/kudobuilder/kuttl
  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>
2024-06-10 12:16:23 +02:00
dependabot[bot] 50499c319b
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1540)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](2f2ebc6d91...76d1d8e0b0)

---
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>
2024-06-10 09:23:48 +00:00
dependabot[bot] 529031711f
chore(deps): bump aquasecurity/trivy-action from 0.21.0 to 0.22.0 (#1534)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](fd25fed697...595be6a0f6)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-06-07 11:50:41 +00:00
dependabot[bot] 629cde72c2
chore(deps): bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 (#1518)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1)

---
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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-06 22:26:08 +02:00
Charles-Edouard Brétéché bf73fa76de
fix: default values in api (#1530)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-06 21:56:34 +02:00
Charles-Edouard Brétéché 7c8279f85c
chore: fix release notes (#1527)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-06 15:23:20 +02:00
github-actions[bot] f6a47d7824
Brew formula update for chainsaw version v0.2.4 (#1525)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-06-06 14:50:02 +02:00
Charles-Edouard Brétéché a99127701b
release: v0.2.4 (#1523)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-06 13:58:16 +02:00
Charles-Edouard Brétéché 266e15b040
chore: update release notes (#1521)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-06 13:43:47 +02:00
dependabot[bot] 87ed804319
chore(deps): bump github/codeql-action from 3.25.7 to 3.25.8 (#1517)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.7 to 3.25.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f079b84933...2e230e8fe0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-06-06 11:29:42 +00:00
dependabot[bot] 162c3513fe
chore(deps): bump sigs.k8s.io/controller-runtime from 0.18.3 to 0.18.4 (#1519)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.18.3 to 0.18.4.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.3...v0.18.4)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-06-06 13:18:26 +02:00
Charles-Edouard Brétéché a627b06c75
feat: introduce test v1alpha2 (#1493)
* feat: introduce test v1alpha2

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix merge

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* test options

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-04 09:19:06 +02:00
Charles-Edouard Brétéché 78ff106bf4
refactor: merge catch and finally structs (#1514)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-04 01:28:25 +02:00
Charles-Edouard Brétéché cd2c5c890b
feat: add missing operations (#1510)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-04 00:20:09 +02:00
Charles-Edouard Brétéché 3888c720df
fix: patch validation incorrect field (#1511)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-03 23:34:33 +02:00
Charles-Edouard Brétéché 8e32373817
fix: templating options defaulting in v1alpha2 (#1508)
* fix: templating options defaulting in v1alpha2

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-03 19:39:23 +02:00
dependabot[bot] f57de883c0
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1506)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](40e45e738b...2f2ebc6d91)

---
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>
2024-06-03 13:40:15 +00:00
Charles-Edouard Brétéché 592008bc5e
chore: bump a couple of deps (#1503)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-02 01:47:40 +02:00
Charles-Edouard Brétéché 22675c0dd0
chore: bump kyverno-json (#1501)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-06-01 10:58:15 +02:00
dependabot[bot] d8c933037d
chore(deps): bump github/codeql-action from 3.25.6 to 3.25.7 (#1500)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.6 to 3.25.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9fdb3e4972...f079b84933)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-05-31 11:57:00 +02:00
Charles-Edouard Brétéché dc29601812
chore: remove old config file (#1498)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-31 01:55:20 +02:00
Charles-Edouard Brétéché cb2e64bba4
feat: add file support to delete operation (#1496)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-31 00:23:00 +02:00
Charles-Edouard Brétéché 2d1c4f6168
refactor: delete operation reference (#1494)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-30 15:12:25 +02:00
Charles-Edouard Brétéché 029ff4e7ec
chore: bump kubectl-validate (#1490)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-30 12:21:24 +02:00
Charles-Edouard Brétéché 621bba2657
fix: yaml anchors processing (#1487)
* fix: yaml anchors processing

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* feature flag

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-30 11:41:38 +02:00
Charles-Edouard Brétéché 7994403a51
fix: remove deprecated direct resource support (#1479)
* fix: remove deprecated direct resource support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* rm dead code

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* clean

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 23:10:05 +02:00
Charles-Edouard Brétéché be718fb882
feat: add test metadata binding (#1484)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 16:44:32 +02:00
Charles-Edouard Brétéché 0720eb6730
refactor: introduce api clusters type (#1482)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 10:51:29 +02:00
Charles-Edouard Brétéché ee675ef908
docs: remove code markers on titles in api reference documentation (#1480)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 10:34:04 +02:00
github-actions[bot] 2d9b66f5ae
Brew formula update for chainsaw version v0.2.3 (#1477)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-05-29 09:33:04 +02:00
Charles-Edouard Brétéché 2c2f20ab54
release: v0.2.3 (#1473)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 08:54:14 +02:00
Charles-Edouard Brétéché 916828f5e6
fix: deletion propagation flag (#1474)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-29 01:41:37 +02:00
Charles-Edouard Brétéché 50586e5ec9
chore: proof read docs (#1470)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-28 23:16:47 +02:00
Charles-Edouard Brétéché 34713d7ac7
chore: update v0.2.3 release notes (#1468)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 21:40:56 +02:00
Charles-Edouard Brétéché cae181e3f7
chore: add positive/negative testing to home (#1466)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 20:48:53 +02:00
Charles-Edouard Brétéché 4f7bb55046
chore: update home (#1463)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 19:29:30 +02:00
Charles-Edouard Brétéché a44db07e46
refactor: introduce operation base (#1462)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 18:05:21 +02:00
Charles-Edouard Brétéché 9ac1bd2f72
docs: restructure test docs (#1460)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 17:37:53 +02:00
Charles-Edouard Brétéché 78706e032a
docs: restructure test docs (#1458)
* docs: restructure test docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs: restructure test docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 15:02:06 +02:00
Charles-Edouard Brétéché 71a0ddb2b6
docs: restructure test docs (#1454)
* docs: restructure test docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* save

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 12:59:28 +02:00
Charles-Edouard Brétéché b25b333267
fix: linter error (#1455)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-27 12:51:20 +02:00
odubajDT 0a8540b550
chore: add OpenFeature to list of adopters (#1452)
Signed-off-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
2024-05-27 12:26:40 +02:00
Charles-Edouard Brétéché 4a8c9c3a81
docs: restructure test docs (#1450)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-24 01:50:03 +02:00
Charles-Edouard Brétéché dff8ab896a
docs: restructure test docs (#1448)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 23:22:47 +02:00
Charles-Edouard Brétéché 8dac77c513
docs: restructure test docs (#1446)
* chore: reorganise reference docs storage (#1443)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs: restructure test docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 19:16:14 +02:00
Charles-Edouard Brétéché be17317fb4
chore: reorganise reference docs storage (#1443)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 16:55:55 +02:00
Charles-Edouard Brétéché 3ddf8eccaf
docs: restructure test docs (#1441)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 16:32:11 +02:00
Charles-Edouard Brétéché 33bf20976e
fix: social cards (#1439)
* chore: reference docs nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: social cards

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 12:58:32 +02:00
Charles-Edouard Brétéché fc2f9011ae
chore: enable social cards (#1433)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 12:38:23 +02:00
Charles-Edouard Brétéché 0576980c12
fix: docs typos (#1436)
* chore: reference docs nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: docs typos

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 12:28:38 +02:00
Charles-Edouard Brétéché 68637213c6
chore: reference docs nits (#1434)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 12:12:21 +02:00
dependabot[bot] 4e311fd0ef
chore(deps): bump aquasecurity/trivy-action from 0.20.0 to 0.21.0 (#1431)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](b2933f565d...fd25fed697)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-05-23 09:42:26 +00:00
Charles-Edouard Brétéché ddb3b46e85
feat: update default config to v1alpha2 (part 3) (#1429)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 11:33:51 +02:00
Charles-Edouard Brétéché 9b0682a3bb
feat: update default config to v1alpha2 (part 2) (#1422)
* feat: update default config to v1alpha2 (part 2)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* updates

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 10:55:37 +02:00
Charles-Edouard Brétéché bae937e857
refactor: v1alpha2 configuration api (#1425)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 09:03:33 +02:00
Charles-Edouard Brétéché 45b8269b2a
feat: add arrows to navigate home sections (#1423)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 02:23:23 +02:00
Charles-Edouard Brétéché 277e0b1659
docs: update config to v1alpha2 (#1418)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-23 00:39:54 +02:00
Charles-Edouard Brétéché 614085a816
feat: update default config to v1alpha2 (#1419)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 22:48:18 +02:00
Charles-Edouard Brétéché 54dedd2748
docs: improve docs pages (#1415)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 17:39:16 +02:00
Charles-Edouard Brétéché 6f47d3accb
docs: add bindings reference docs (#1413)
* docs: rework configuration docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs: add bindings reference docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 16:44:54 +02:00
Mariam Fahmy 359493c4c9
feat: allow the configuration of the deletion propagation policy (#1325)
* feat: allow the configuration of the deletion propagation policy

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* chore: fix unit tests

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* chore: fix codegen

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* chore: fix codegen

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-05-22 13:51:46 +00:00
Charles-Edouard Brétéché 8e5f391b78
docs: rework configuration docs (#1410)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 15:39:08 +02:00
dependabot[bot] e2aab972bc
--- (#1408)
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  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>
2024-05-22 11:00:52 +00:00
Charles-Edouard Brétéché 2150a6f579
docs: multi cluster guide (#1406)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 10:58:59 +02:00
Charles-Edouard Brétéché 32f5530843
docs: remove examples (#1404)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 10:27:56 +02:00
Charles-Edouard Brétéché 4b7c7e8310
docs: improve assertion guide (#1402)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 09:49:03 +02:00
free6om 93b2db4a4e
docs: fixed broken link in README (#1400)
Signed-off-by: free6om <free6om.c@gmail.com>
2024-05-22 07:08:20 +00:00
Charles-Edouard Brétéché 38295f578d
docs: label selectors guide (#1398)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 01:53:23 +02:00
Charles-Edouard Brétéché ebbb8b7a3c
docs: negative testing guide (#1396)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 01:23:46 +02:00
Charles-Edouard Brétéché 68b565ef5d
fix: css min-height (#1394)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-22 01:07:36 +02:00
Charles-Edouard Brétéché 550a148b07
docs: add more advanced guides (#1392)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 23:58:10 +02:00
Charles-Edouard Brétéché 220e6a7195
docs: add non resource assertion guide (#1389)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 23:11:29 +02:00
Charles-Edouard Brétéché cff2c52a8b
docs: advanced check kube version docs (#1386)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 22:57:46 +02:00
Charles-Edouard Brétéché 04d167649f
feat: add cleanup support to tests catalog (#1384)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 22:43:25 +02:00
Charles-Edouard Brétéché 899f51bcd4
feat: add cleanup validation logic (#1385)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 22:27:05 +02:00
Charles-Edouard Brétéché 5faf877b9a
docs: add reference docs tab (#1375)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 21:30:08 +02:00
Charles-Edouard Brétéché 2842af3f94
docs: move configuration in its own tab (#1374)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 21:19:41 +02:00
Charles-Edouard Brétéché ae17ff8da4
docs: crds use case docs (#1370)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 21:02:26 +02:00
github-actions[bot] 35c5725aa6
Brew formula update for chainsaw version v0.2.2 (#1378)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-05-21 20:39:33 +02:00
Charles-Edouard Brétéché 06639e226c
release: v0.2.2 (#1376)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 18:43:06 +02:00
Charles-Edouard Brétéché e29455312c
chore: update release notes (#1369)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 17:01:41 +02:00
Charles-Edouard Brétéché 5b6bad4d0f
docs: add cleanup docs (#1368)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 16:54:57 +02:00
Charles-Edouard Brétéché bce0a60a50
feat: add cleanup handler (#1364)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 15:07:56 +02:00
Charles-Edouard Brétéché 397a8db1ec
docs: add placeholder for advanced use cases (#1361)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 13:17:28 +02:00
Charles-Edouard Brétéché 278f3bce14
fix: catch/finally execution order (#1351)
* fix: catch/finally execution order

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* skip bad test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 13:11:37 +02:00
Charles-Edouard Brétéché 074b3222c1
docs: operation outputs page (#1358)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 12:37:43 +02:00
dependabot[bot] 0ed7083839
--- (#1349)
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-05-21 10:21:03 +00:00
Charles-Edouard Brétéché c8ae0541cc
docs: resource templating docs (#1354)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-21 11:58:53 +02:00
dependabot[bot] 76a5be7b3f
--- (#1348)
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-05-21 09:52:55 +00:00
dependabot[bot] a8976f10fd
--- (#1350)
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-05-21 11:44:12 +02:00
Charles-Edouard Brétéché 11a3b128ca
fix: linter issues (#1345)
* fix: linter issues

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: linter issues

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-20 23:33:56 +02:00
dependabot[bot] 437b8a49bb
chore(deps): Bump github/codeql-action from 2.13.4 to 3.25.5 (#1342)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.13.4 to 3.25.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdcdbb5797...b7cec75265)

---
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>
2024-05-20 21:05:49 +02:00
Charles-Edouard Brétéché c693ceac12
chore: improve try catch finally page (#1338)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-18 02:04:18 +02:00
Charles-Edouard Brétéché 81ea4738b6
chore: improve bindings page (#1336)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-18 01:55:17 +02:00
Charles-Edouard Brétéché 26dd875444
chore: improve timeouts quick start (#1334)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 23:27:54 +02:00
Charles-Edouard Brétéché c92d6f8e90
chore: improve next steps page (#1332)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 22:14:42 +02:00
Charles-Edouard Brétéché e7cf99589e
chore: restructure the getting started guide (#1330)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 20:23:34 +02:00
Charles-Edouard Brétéché 5b0349c776
chore: improve assertions quick start (#1326)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 19:37:56 +02:00
Charles-Edouard Brétéché cd7f0c99bc
chore: add resource templating into (#1323)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 16:59:37 +02:00
Charles-Edouard Brétéché de2d0bad3f
chore: rework introduction (#1321)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 15:17:16 +02:00
Charles-Edouard Brétéché 090440bd0a
chore: add missing adopters to the home page (#1319)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 12:10:18 +02:00
dependabot[bot] 38851c5d89
chore(deps): Bump actions/checkout from 4.1.5 to 4.1.6 (#1316)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4)

---
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>
2024-05-17 09:34:57 +00:00
Charles-Edouard Brétéché 650a726b25
chore: improve install page (#1315)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 11:26:06 +02:00
Charles-Edouard Brétéché d058ce7c8b
chore: move community page to its own tab (#1312)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 10:20:06 +02:00
Charles-Edouard Brétéché 042745efd5
chore: remove blog (#1310)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-17 09:19:22 +02:00
Charles-Edouard Brétéché f443264e18
fix: improve home (#1303)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 18:30:59 +02:00
Charles-Edouard Brétéché 427e0d58c2
fix: mike (#1302)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 18:25:05 +02:00
Charles-Edouard Brétéché d4b0dda8cc
fix: improve home page (#1300)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 18:01:08 +02:00
Charles-Edouard Brétéché 8ef255bf45
fix: disable instant nav (#1298)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 15:49:05 +02:00
Charles-Edouard Brétéché 4dc59f83e8
feat: improve home page (#1292)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 14:00:44 +02:00
Mike Bryant fb25a2a30b
fix: Use config file namespaceTemplate if set (#1279)
Signed-off-by: Mike Bryant <mike@mikebryant.me.uk>
2024-05-16 07:32:50 +00:00
github-actions[bot] fc8c31c694
Brew formula update for chainsaw version v0.2.1 (#1290)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-05-16 01:36:17 +02:00
Charles-Edouard Brétéché e3397c3cc4
release: v0.2.1 (#1287)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 00:30:14 +02:00
Charles-Edouard Brétéché 05c5a8972d
chore: add v0.2.1 in bug reports template (#1285)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 00:22:09 +02:00
Charles-Edouard Brétéché aa769c9153
release: v0.2.1 (#1284)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-16 00:13:59 +02:00
Charles-Edouard Brétéché df7827a663
chore: update docs (#1282)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-15 21:47:37 +02:00
Charles-Edouard Brétéché 3a0034d23e
chore: update release notes (#1280)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-15 20:59:22 +02:00
Charles-Edouard Brétéché 76d93770da
fix: make sure we resolve cluster only once (#1276)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-15 10:15:01 +02:00
dependabot[bot] b397cb10f5
chore(deps): Bump github.com/fatih/color from 1.16.0 to 1.17.0 (#1272)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  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>
2024-05-14 21:19:56 +00:00
dependabot[bot] a5ead230e6
chore(deps): Bump codecov/codecov-action from 4.3.1 to 4.4.0 (#1271)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5ecb98a3c6...6d798873df)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-05-14 23:05:32 +02:00
Charles-Edouard Brétéché 9370918ae8
feat: add direct cluster config support (#1207)
* feat: add direct cluster config support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: clusters bank

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* add note about cleanup changes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* cleanup

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* dummy

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-14 00:22:26 +02:00
Charles-Edouard Brétéché c332839223
feat: force background propagation deletion (#1267)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-13 16:37:27 +02:00
dependabot[bot] a651a49ff4
chore(deps): Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 (#1266)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](7ec5c2b0c6...5742e2a039)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2024-05-13 14:00:56 +02:00
Charles-Edouard Brétéché cd2c0af3b7
feat: enable templating by default (#1264)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-12 21:38:42 +02:00
dependabot[bot] 17caf145b4
chore(deps): Bump aquasecurity/trivy-action from 0.19.0 to 0.20.0 (#1258)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](d710430a67...b2933f565d)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-05-08 09:49:47 +00:00
dependabot[bot] 9f0b9edcfa
chore(deps): Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (#1257)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.3.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](38e1018663...a4f60bb28d)

---
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>
2024-05-08 09:41:20 +00:00
dependabot[bot] 069b1fbdde
chore(deps): Bump actions/checkout from 4.1.4 to 4.1.5 (#1254)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
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>
2024-05-08 11:32:26 +02:00
dependabot[bot] d7d33f9d2e
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1249)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](19ebcb0bab...40e45e738b)

---
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>
2024-05-06 12:15:07 +00:00
dependabot[bot] 86adf25a13
chore(deps): Bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 (#1250)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](9d1e0624a7...38e1018663)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-05-06 11:55:33 +02:00
Charles-Edouard Brétéché f6bc655d66
feat: add pause on failure option (#1247)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-05 12:35:24 +02:00
dependabot[bot] 5be8d9adbf
chore(deps): Bump actions/setup-go from 5.0.0 to 5.0.1 (#1245)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...cdcb360436)

---
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>
2024-05-03 11:28:09 +02:00
dependabot[bot] f9e37b11a0
chore(deps): Bump golangci/golangci-lint-action from 5.0.0 to 5.1.0 (#1230)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](82d40c283a...9d1e0624a7)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-05-02 12:44:25 +00:00
dependabot[bot] 594c4e370b
chore(deps): Bump anchore/sbom-action from 0.15.10 to 0.15.11 (#1229)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.10 to 0.15.11.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](ab5d7b5f48...7ccf588e3c)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-05-02 12:36:32 +00:00
dependabot[bot] 6033a0fe3c
chore(deps): Bump codecov/codecov-action from 4.3.0 to 4.3.1 (#1233)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](84508663e9...5ecb98a3c6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-05-02 12:29:11 +00:00
Charles-Edouard Brétéché c3e17e04d0
chore: update issue templates (#1238)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-02 14:21:35 +02:00
gcp-cherry-pick-bot[bot] c16b23c999
release: v0.2.0 (#1234) (#1237)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-05-02 12:21:03 +00:00
github-actions[bot] b2cdd9e1ae
Brew formula update for chainsaw version v0.2.0 (#1235)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-05-02 13:56:24 +02:00
Charles-Edouard Brétéché 87941d05bd
chore: use upstream kubectl-validate (#1226)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-27 13:39:58 +02:00
dependabot[bot] fa1211a96b
chore(deps): Bump slsa-framework/slsa-github-generator (#1196)
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.10.0 to 2.0.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.10.0...v2.0.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-25 20:31:03 +02:00
Charles-Edouard Brétéché 109842209a
chore: update release notes (#1223)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-25 19:44:55 +02:00
Charles-Edouard Brétéché f25babcd87
chore: bump a couple of deps (#1220)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-25 17:56:21 +02:00
dependabot[bot] 9c9419ebb4
chore(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 (#1210)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3cfe3a4abb...82d40c283a)

---
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>
2024-04-25 15:28:51 +00:00
dependabot[bot] d19ce19346
chore(deps): Bump actions/download-artifact from 4.1.6 to 4.1.7 (#1213)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9c19ed7fe5...65a9edc588)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-04-25 15:12:23 +00:00
dependabot[bot] a9a6bfa44c
chore(deps): Bump actions/checkout from 4.1.3 to 4.1.4 (#1212)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

---
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>
2024-04-25 15:04:48 +00:00
dependabot[bot] 82ce93849f
chore(deps): Bump amannn/action-semantic-pull-request (#1211)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.0 to 5.5.2.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](c24d6dd07c...cfb60706e1)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-25 14:57:18 +00:00
Richard Kovacs 58bf8ed6d5
docs: add Linode COSI to ADOPTERS.md (#1215)
Signed-off-by: Richard Kovacs <kovacsricsi@gmail.com>
2024-04-25 16:46:10 +02:00
Richard Kovacs 86897ca770
docs: document command args quote behavior (#1208)
Signed-off-by: Richard Kovacs <kovacsricsi@gmail.com>
2024-04-25 01:36:28 +02:00
dependabot[bot] d0c5c72f8a
chore(deps): Bump amannn/action-semantic-pull-request (#1204)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](e9fabac35e...c24d6dd07c)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  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>
2024-04-24 14:31:18 +00:00
Charles-Edouard Brétéché 47e28b5857
fix: windows issue (#1201)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-23 20:43:23 +02:00
dependabot[bot] d022adff11
chore(deps): Bump github.com/kudobuilder/kuttl from 0.15.0 to 0.16.0 (#1193)
Bumps [github.com/kudobuilder/kuttl](https://github.com/kudobuilder/kuttl) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/kudobuilder/kuttl/releases)
- [Changelog](https://github.com/kudobuilder/kuttl/blob/main/RELEASE.md)
- [Commits](https://github.com/kudobuilder/kuttl/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/kudobuilder/kuttl
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-23 17:37:24 +00:00
dependabot[bot] 188f32adab
chore(deps): Bump actions/download-artifact from 4.1.5 to 4.1.6 (#1195)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](8caf195ad4...9c19ed7fe5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-04-23 17:25:26 +00:00
dependabot[bot] c131549f26
chore(deps): Bump actions/upload-artifact from 4.3.2 to 4.3.3 (#1197)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-04-23 19:16:44 +02:00
dependabot[bot] 4043ba44ec
chore(deps): Bump actions/checkout from 4.1.2 to 4.1.3 (#1192)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

---
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>
2024-04-22 14:27:03 +00:00
Charles-Edouard Brétéché f0fa29ef44
fix: junit reports (#1190)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 21:55:49 +02:00
Charles-Edouard Brétéché 36eab419f6
chore: fix ci jobs (#1188)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 12:51:14 +02:00
Charles-Edouard Brétéché 5c0056e1ee
chore: disable semantics pr check for cherry pick bot (#1186)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 12:24:17 +02:00
dependabot[bot] c6e8f36c9d
chore(deps): Bump actions/download-artifact from 4.1.4 to 4.1.5 (#1181)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](c850b930e6...8caf195ad4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-04-19 09:45:36 +00:00
Charles-Edouard Brétéché c810adaafc
chore: update jobs to work on release branches (#1180)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 11:40:27 +02:00
dependabot[bot] 31d1fdc350
chore(deps): Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#1182)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...1746f4ab65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-04-19 11:35:10 +02:00
Charles-Edouard Brétéché 6b98e2bd4d
chore: use v1alpha2 config in e2e tests (#1179)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 10:47:25 +02:00
Charles-Edouard Brétéché 4ec1873cb2
feat: add conversion support (#1175)
* feat: add conversion support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix makefile

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-19 08:51:45 +02:00
Charles-Edouard Brétéché 38a823b179
fix: set resource version when updating (#1178)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 22:10:15 +02:00
Charles-Edouard Brétéché 2331023283
chore: remove kyverno dependency (#1177)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 16:02:41 +02:00
Charles-Edouard Brétéché 0568031d77
chore: remove direct dependency to kyverno (#1176)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 15:24:28 +02:00
Charles-Edouard Brétéché 06015ca90e
fix: shell expansion in wait with json path condition (#1170)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 11:51:37 +02:00
Charles-Edouard Brétéché 3143d681fa
feat: introduce v1alpha2 api (#1169)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 10:00:08 +02:00
Charles-Edouard Brétéché 4d03d07c48
fix: add missing cluster docs (#1168)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-18 00:56:58 +02:00
Charles-Edouard Brétéché 2abdf20c3f
feat: add wait for jsonpath support (#1167)
* feat: add wait for jsonpath support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-17 23:48:31 +02:00
Charles-Edouard Brétéché 066de82c87
chore: add check milestone job (#1166)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-17 22:05:44 +02:00
Charles-Edouard Brétéché a57a0fd6ef
chore: remove ds store files (#1165)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-17 21:39:05 +02:00
Manoramsharma 25390d4e1c
docs: updated quick-start guide leveraging chainsaw capabilities using relevant usecase (#1154)
* chore: Add Linode CAPI to ADOPTERS.md (#1152)

Signed-off-by: Richard Kovacs <kovacsricsi@gmail.com>
Signed-off-by: Manoram Sharma <img_2020037@iiitm.ac.in>

* Updated quick-start guide leveraging chainsaw capabilities using relevant usecase
Signed-off-by: Manoramsharma <img_2020037@iiitm.ac.in>

Signed-off-by: Manoram Sharma <img_2020037@iiitm.ac.in>

---------

Signed-off-by: Richard Kovacs <kovacsricsi@gmail.com>
Signed-off-by: Manoram Sharma <img_2020037@iiitm.ac.in>
Co-authored-by: Richard Kovacs <kovacsricsi@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-17 19:14:00 +00:00
dependabot[bot] 9d0136d60c
chore(deps): Bump k8s.io/client-go from 0.29.3 to 0.29.4 (#1162)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.3 to 0.29.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.29.3...v0.29.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-04-17 21:06:56 +02:00
dependabot[bot] f87f275c20
chore(deps): Bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4 (#1161)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  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>
2024-04-17 17:24:40 +00:00
dependabot[bot] 7e71df23dd
chore(deps): Bump k8s.io/api from 0.29.3 to 0.29.4 (#1164)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.3 to 0.29.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.3...v0.29.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2024-04-17 19:17:32 +02:00
dependabot[bot] 4f8095f75b
chore(deps): Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#1157)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](e1523de757...59acb6260d)

---
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>
2024-04-11 21:01:46 +02:00
dependabot[bot] 36923d407a
chore(deps): Bump codecov/codecov-action from 4.2.0 to 4.3.0 (#1155)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](7afa10ed9b...84508663e9)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-04-10 17:56:11 +02:00
Richard Kovacs 3b656c17f4
chore: Add Linode CAPI to ADOPTERS.md (#1152)
Signed-off-by: Richard Kovacs <kovacsricsi@gmail.com>
2024-04-09 10:38:30 +00:00
dependabot[bot] 3da7b5ade1
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#1149)
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.4.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](ba37328d4e...19ebcb0bab)

---
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>
2024-04-09 10:14:32 +00:00
dependabot[bot] 6a85202be1
chore(deps): Bump sigs.k8s.io/controller-runtime from 0.17.2 to 0.17.3 (#1151)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.2...v0.17.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-04-09 12:07:35 +02:00
Conor Nolan 201c0f4b75
chore: Add Provider Ceph to ADOPTERS.md (#1150)
Signed-off-by: Conor Nolan <cmsnolan@gmail.com>
2024-04-09 09:47:54 +00:00
Charles-Edouard Brétéché c808141760
chore: update resources with Viktor video (#1148)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-09 00:17:00 +02:00
dependabot[bot] 5394112d79
chore(deps): Bump codecov/codecov-action from 4.1.1 to 4.2.0 (#1145)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](c16abc29c9...7afa10ed9b)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-04-05 18:56:29 +02:00
Charles-Edouard Brétéché 261c2f7254
fix: issue reading files from embedded file systems on windows (#1144)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-04 00:06:28 +02:00
Charles-Edouard Brétéché eaa7aff534
fix: wait timeout (#1142)
* fix: wait timeout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: wait timeout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-03 15:00:41 +02:00
Charles-Edouard Brétéché b5741b084f
fix: wait timeout (#1141)
* fix: wait timeout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-03 13:59:26 +02:00
Charles-Edouard Brétéché 707649518b
feat: remove test step support (#1131)
* feat: remove test step support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-04-03 09:34:47 +02:00
dependabot[bot] c0eb94e13f
chore(deps): Bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#1138)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](062f259268...d710430a67)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-04-01 22:31:01 +02:00
dependabot[bot] a296cc7c37
chore(deps): Bump anchore/sbom-action from 0.15.9 to 0.15.10 (#1137)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.9 to 0.15.10.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](9fece9e200...ab5d7b5f48)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-03-27 16:13:07 +01:00
dependabot[bot] bdbd24cd43
chore(deps): Bump codecov/codecov-action from 4.1.0 to 4.1.1 (#1136)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](54bcd8715e...c16abc29c9)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-03-27 13:42:44 +01:00
siddhikhapare 3846a70f9e
docs: Updated installation doc for nix package manager (#1135)
Signed-off-by: siddhikhapare <siddhikhapare77@gmail.com>
2024-03-25 20:19:53 +00:00
dependabot[bot] b4497adfd3
chore(deps): Bump slsa-framework/slsa-github-generator (#1134)
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.1...v1.10.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  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>
2024-03-22 18:47:17 +01:00
dependabot[bot] bb9eebbe67
chore(deps): Bump slsa-framework/slsa-github-generator (#1132)
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  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>
2024-03-21 23:07:44 +01:00
johnathan-sq 6e60322be9
chore: fixing assertion docs links (#1129)
Signed-off-by: johnathan-sq <johnathan@squareup.com>
2024-03-19 15:13:17 +01:00
dependabot[bot] 09456608f7
chore(deps): Bump sigs.k8s.io/kubectl-validate (#1122)
Bumps [sigs.k8s.io/kubectl-validate](https://github.com/kubernetes-sigs/kubectl-validate) from 0.0.2-0.20240102223437-fe143bcde89f to 0.0.3.
- [Release notes](https://github.com/kubernetes-sigs/kubectl-validate/releases)
- [Changelog](https://github.com/kubernetes-sigs/kubectl-validate/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/kubernetes-sigs/kubectl-validate/commits/v0.0.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/kubectl-validate
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-18 11:06:38 +01:00
dependabot[bot] 4ecdf90e09
chore(deps): Bump k8s.io/client-go from 0.29.2 to 0.29.3 (#1126)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.2 to 0.29.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.29.2...v0.29.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-03-18 10:46:57 +01:00
dependabot[bot] 10c4d37515
chore(deps): Bump k8s.io/api from 0.29.2 to 0.29.3 (#1125)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.2 to 0.29.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.2...v0.29.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2024-03-18 10:37:57 +01:00
johnathan-sq c88d41c917
chore: add json_parse to match in Outputs docs (#1123)
Signed-off-by: johnathan-sq <johnathan@squareup.com>
2024-03-15 15:33:36 +00:00
dependabot[bot] fd2eff6c9e
chore(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#1113)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-14 12:12:15 +01:00
Charles-Edouard Brétéché fff3d7ecc2
chore: add v0.1.9 to issue templates (#1119)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-14 10:54:12 +01:00
github-actions[bot] 51f7fd53b7
Brew formula update for chainsaw version v0.1.9 (#1117)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-03-14 10:44:41 +01:00
Charles-Edouard Brétéché 9668d99e61
release: v0.1.9 (#1116)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-14 09:49:19 +01:00
Charles-Edouard Brétéché 13e35aae84
chore: update docs (#1114)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-14 09:36:42 +01:00
Charles-Edouard Brétéché 0e1d837005
chore: add validation unit tests (#1115)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-14 09:14:28 +01:00
Marcin Owsiany f616ebe604
Add an actual link to docs (#1109)
Signed-off-by: Marcin Owsiany <marcin@redhat.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 15:24:54 +01:00
dependabot[bot] b9ff7583f4
chore(deps): Bump actions/checkout from 4.1.1 to 4.1.2 (#1108)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
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>
2024-03-13 14:51:44 +01:00
Charles-Edouard Brétéché 259168e8e2
chore: add functions unit tests (#1107)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 01:58:25 +01:00
Charles-Edouard Brétéché a49c9ff55e
chore: clean mutate package (#1106)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 01:31:57 +01:00
Charles-Edouard Brétéché dfd4353c9f
chore: add update operation tests (#1105)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 00:58:37 +01:00
Charles-Edouard Brétéché affce9cdf2
chore: add runner client unit tests (#1104)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 00:24:57 +01:00
Charles-Edouard Brétéché d33e677027
chore: add mutate unit tests (#1103)
* chore: add mutate unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-13 00:11:34 +01:00
Charles-Edouard Brétéché c040890d22
chore: add client unit tests (#1102)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 23:26:59 +01:00
Charles-Edouard Brétéché deaaa48be2
chore: add api unit tests (#1101)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 23:12:34 +01:00
Charles-Edouard Brétéché bc1bceb7d9
chore: update release notes (#1100)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 22:22:37 +01:00
Charles-Edouard Brétéché 4ac79a44f6
fix: bad usage of stdout (#1096)
* fix: bad usage of stdout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: bad usage of stdout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 15:19:46 +01:00
Charles-Edouard Brétéché 726ca617d8
fix: test level bindings evaluated too early (#1097)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 12:46:30 +01:00
Charles-Edouard Brétéché c6560f4b87
fix: relax step file discovery regexp (#1098)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-12 12:19:55 +01:00
Charles-Edouard Brétéché c85e0e8d74
fix: template in assert diff (#1095)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-11 23:19:50 +01:00
Charles-Edouard Brétéché 5ce39e2572
feat: add bindings in build docs command (#1091)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-10 00:53:53 +01:00
Charles-Edouard Brétéché 11fe12f5f6
feat: add update operation (#1088)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 19:47:25 +01:00
Charles-Edouard Brétéché 6c91795ff0
fix: build docs command for files with multiple tests (#1087)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 03:14:11 +01:00
Charles-Edouard Brétéché 7ce628b6cc
refactor: output bindings (#1084)
* refactor: output bindings

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* typo

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 02:36:21 +01:00
Charles-Edouard Brétéché ef00c7b1a3
refactor: binding names validation (#1083)
* feat: add env name template support in command and script

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: binding names validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 02:14:08 +01:00
Charles-Edouard Brétéché 778a524997
feat: add env name template support in command and script (#1082)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 01:46:20 +01:00
Charles-Edouard Brétéché a79c12f3a4
feat: add match support in script and command outputs (#1081)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 01:15:35 +01:00
Charles-Edouard Brétéché df81ff6cf1
refactor: bindings (#1079)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-09 00:36:17 +01:00
Charles-Edouard Brétéché 81235eae91
fix: add binding name validation (#1080)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-08 23:18:57 +01:00
Charles-Edouard Brétéché 4a92e7ff06
feat: add infos binding (#1077)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-08 22:24:18 +01:00
Charles-Edouard Brétéché 0c9194b010
feat: add patch operation outputs support (#1076)
* feat: add patch operation outputs support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* clean

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 19:30:26 +01:00
Charles-Edouard Brétéché 3e39a5db94
feat: add create operation outputs support (#1074)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 19:01:22 +01:00
Charles-Edouard Brétéché 9eaf5806a7
feat: add outputs support to apply operation (#1072)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 18:42:24 +01:00
Charles-Edouard Brétéché f7564b14ed
fix: resource templating in non resource assertions (#1073)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 18:29:12 +01:00
Charles-Edouard Brétéché 7d3025e522
chore: add resource unit tests (#1071)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 13:33:42 +01:00
Charles-Edouard Brétéché 6ee27bbbff
fix: add missing operations in build docs command and support test level catch (#1070)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 12:56:58 +01:00
Charles-Edouard Brétéché 75d6d15324
chore: fix makefile (#1068)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 12:12:05 +01:00
Charles-Edouard Brétéché c0f9d348f3
chore: add a couple unit tests (#1067)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 09:29:20 +01:00
Charles-Edouard Brétéché da97e3a3ce
fix: typo (#1065)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 02:33:45 +01:00
Charles-Edouard Brétéché f66d7d57ef
fix: format api validation (#1064)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 02:25:37 +01:00
Charles-Edouard Brétéché 4acd57bb0c
chore: fix makefiles dependencies (#1063)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 02:18:07 +01:00
Charles-Edouard Brétéché 636150c612
feat: add more templating support (#1062)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-07 00:33:01 +01:00
Charles-Edouard Brétéché 40f747935a
feat: support template in resource reference (#1061)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 23:41:25 +01:00
Charles-Edouard Brétéché 4d487e07c6
refactor: pass bindings and context to collectors (#1060)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 23:10:55 +01:00
Charles-Edouard Brétéché 3e2ae4cfc8
fix: create template field management (#1058)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 23:04:03 +01:00
Charles-Edouard Brétéché 3099b4230d
fix: create template field management (#1057)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 22:51:22 +01:00
Charles-Edouard Brétéché 4fe0f37ff0
chore: add k8s-server-version example (#1056)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 22:41:07 +01:00
dependabot[bot] 418ceb2550
chore(deps): Bump anchore/sbom-action from 0.15.8 to 0.15.9 (#1054)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.8 to 0.15.9.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](b6a39da807...9fece9e200)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-03-06 10:53:32 +01:00
Charles-Edouard Brétéché 18d8b33c84
chore: add unit tests for the utils package (#1051)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-06 08:26:32 +01:00
Charles-Edouard Brétéché 741676bcf4
chore: ignore testing package in codecov (#1050)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 23:31:08 +01:00
Charles-Edouard Brétéché a0d37e4077
chore: add unit tests for the utils package (#1049)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 18:13:31 +01:00
Charles-Edouard Brétéché 2d31993129
chore: add unit tests for values package (#1048)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 17:09:55 +01:00
Charles-Edouard Brétéché fb833d0c41
chore: add validation unit tests (#1045)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 15:05:53 +01:00
Charles-Edouard Brétéché 7da4d799f0
chore: add validation unit tests (#1044)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 14:43:11 +01:00
Charles-Edouard Brétéché f398253cf5
fix: add unit tests and config as forbidden binding name (#1043)
* fix: add unit tests and config as forbidden binding name

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 14:03:08 +01:00
Charles-Edouard Brétéché 58e5a3c041
chore: add v0.1.8 to drop down templates (#1041)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 12:49:04 +01:00
github-actions[bot] cde08b55d6
Brew formula update for chainsaw version v0.1.8 (#1040)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-03-05 12:36:56 +01:00
Charles-Edouard Brétéché 7ee4368544
release: v0.1.8 (#1039)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 12:12:03 +01:00
Charles-Edouard Brétéché 37cef6c383
chore: update docs (#1038)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-05 11:21:05 +01:00
Charles-Edouard Brétéché 6e8ca5921c
chore: update release notes (#1033)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 22:11:05 +01:00
Charles-Edouard Brétéché f4dab47a69
feat: add outputs support to command and script (#1031)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 16:32:05 +01:00
Charles-Edouard Brétéché ffde0e8f9c
feat: validate bindings (#1030)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 13:54:11 +01:00
Charles-Edouard Brétéché 839fbc11e8
fix: validate checks in scripts (#1029)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 13:46:57 +01:00
Charles-Edouard Brétéché 8661236d0a
fix: resource short name mapping in collectors (#1028)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 11:34:44 +01:00
dependabot[bot] 6ccdad7c41
chore(deps): Bump actions/download-artifact from 4.1.3 to 4.1.4 (#1027)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](87c55149d9...c850b930e6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-03-04 11:08:57 +01:00
Charles-Edouard Brétéché 35a28a0bdc
fix: improve operation error handling (#1026)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 10:57:31 +01:00
Charles-Edouard Brétéché 7330511b6f
feat: add more general catch handlers (#1024)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 10:45:41 +01:00
dependabot[bot] 09b82f34ef
chore(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#1025)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2024-03-04 09:17:52 +00:00
Charles-Edouard Brétéché 0141560dbd
fix: k8s list jp function (#1023)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-04 09:47:19 +01:00
Charles-Edouard Brétéché 2fa8d23049
feat: add jp function to fetch server version (#1021)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-03 19:55:19 +01:00
Charles-Edouard Brétéché 7980e393ce
feat: add rest config binding (#1020)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-03 19:26:05 +01:00
Charles-Edouard Brétéché c4fe5fa51e
feat: add --all-namespaces support (#1019)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-03 18:51:22 +01:00
Charles-Edouard Brétéché 01709e5a96
feat: support wait --all (#1018)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-03 18:21:03 +01:00
Charles-Edouard Brétéché 4ddb76dce8
fix: operation report name (#1015)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-03 00:04:43 +01:00
Charles-Edouard Brétéché b8c5c9d280
feat: support kind or resource in selectors (#1014)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 23:05:42 +01:00
Charles-Edouard Brétéché 7fa3975643
refactor: introduce object type (#1013)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 19:00:47 +01:00
Charles-Edouard Brétéché b6298863c2
feat: check scope in get operation (#1012)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 18:02:47 +01:00
Charles-Edouard Brétéché e718d1d857
feat: check scope in wait operation (#1011)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 16:53:57 +01:00
Charles-Edouard Brétéché 5949a04f3d
feat: detect resource scope in describe (#1010)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 16:06:05 +01:00
Charles-Edouard Brétéché de9dd4bb9e
chore: remove unnecessary context (#1009)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 15:53:39 +01:00
Charles-Edouard Brétéché 9819133b4f
feat: introduce lazy operations (#1008)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 15:36:27 +01:00
Charles-Edouard Brétéché 410c5f60d7
chore: enable cherry-pick bot (#1007)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 01:26:46 +01:00
Charles-Edouard Brétéché a07b37d38b
feat: support both .yaml and .yml extensions (#1006)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-02 01:08:01 +01:00
Charles-Edouard Brétéché 67c56b444a
fix: jpKubernetesExists not setting apiVersion/kind (#1005)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-01 23:36:42 +01:00
Charles-Edouard Brétéché a3a33a9b6b
fix: jpKubernetesResourceExists apiVersion handling (#1004)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-03-01 23:24:50 +01:00
dependabot[bot] 6a1928635c
chore(deps): Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0 (#1000)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](84384bd6e7...062f259268)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-02-29 21:59:34 +01:00
Charles-Edouard Brétéché 76d9653d47
chore: add 0.1.7 to versions list (#998)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-28 17:12:25 +01:00
github-actions[bot] 5639985b3f
Brew formula update for chainsaw version v0.1.7 (#996)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-02-28 16:53:53 +01:00
Charles-Edouard Brétéché 6453598c73
release: v0.1.7 (#994)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-28 16:24:11 +01:00
Charles-Edouard Brétéché 2055eac9a4
chore: update docs (#993)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-28 00:04:03 +01:00
Charles-Edouard Brétéché b1fd74b7c8
chore: update release notes (#992)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 23:45:47 +01:00
Charles-Edouard Brétéché f7e3428bd8
fix: base image for ko in goreleaser config (#990)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 17:51:35 +01:00
dependabot[bot] 2b75829abd
chore(deps): Bump actions/download-artifact from 4.1.2 to 4.1.3 (#987)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](eaceaf801f...87c55149d9)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-02-27 10:07:16 +00:00
dependabot[bot] 3b685e7b91
chore(deps): Bump codecov/codecov-action from 4.0.2 to 4.1.0 (#988)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](0cfda1dd0a...54bcd8715e)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-02-27 15:30:04 +05:30
Charles-Edouard Brétéché 7663fe4952
fix: do not allow nil collector (#985)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 01:38:22 +01:00
Charles-Edouard Brétéché 184f2a2bf7
feat: add wait operation (#984)
* feat: add wait operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 01:30:33 +01:00
Charles-Edouard Brétéché 098b620622
refactor: get collector (#983)
* fix: wait condition value need quotes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor: get collector

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 00:39:17 +01:00
Charles-Edouard Brétéché dfe69d4608
fix: wait logic (#982)
* fix: wait condition value need quotes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: wait logic

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 00:27:02 +01:00
Charles-Edouard Brétéché 9b9bd40966
fix: wait condition value need quotes (#981)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-27 00:02:09 +01:00
Shubham Gupta 72f267f540
feat: add wait operation (#927)
* feat: add wait api

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: add wait api

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: don't remove function file

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: namespace in wait operation

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* style: fix comment

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: selector block

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: specify name or selector

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: add validation

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: fix timeout

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix docs

Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>

* make codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: fix failing test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: --for=delete

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add: test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add: wait type

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint: gofumpt

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codenge

Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* condition

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* condition

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-26 23:42:05 +01:00
Charles-Edouard Brétéché d8de28353f
fix: test flake (#978)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-26 23:08:42 +01:00
Charles-Edouard Brétéché f875d69f9f
chore: update release notes (#979)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-26 22:59:23 +01:00
Charles-Edouard Brétéché 4f1594867c
chore: update release notes (#977)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-26 22:25:53 +01:00
Swastik Gour 02f11cf114
docs: add chainsaw capabilities to quick start guide (#973)
* added chainsaw capabilities to quick start guide

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* made it concise

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* Update website/docs/quick-start.md

Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>

* Update website/docs/quick-start.md

Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>

---------

Signed-off-by: swastik959 <Sswastik959@gmail.com>
Signed-off-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>
Co-authored-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>
2024-02-26 11:40:03 +00:00
dependabot[bot] 3a246b9079
chore(deps): Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#975)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e0b68c6749...0cfda1dd0a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-02-26 11:30:18 +00:00
Ishwar Kanse e83a066749
chore: Add Tempo Operator to the adopters list. (#974)
Signed-off-by: Ishwar Kanse <ikanse@redhat.com>
2024-02-26 11:22:37 +00:00
Charles-Edouard Brétéché a396ce4035
chore: remove path override (#971)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 23:19:34 +01:00
Charles-Edouard Brétéché 4d72109a7c
chore: simplify kubeconfig management (#970)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 22:18:10 +01:00
Charles-Edouard Brétéché 6e0768f1f0
feat: add bindings support in script and command (#969)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 21:46:19 +01:00
Charles-Edouard Brétéché e69a603e1d
fix: operation reports missing (#968)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 14:12:09 +01:00
Charles-Edouard Brétéché 6168cf18e6
fix: reports creation and potential nil ref panic (#965)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 11:37:03 +01:00
Charles-Edouard Brétéché 8cbf41887b
feat: add env vars support in command and script (#963)
* feat: add env vars support in command and script

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* feat: add env vars support in command and script

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-24 11:08:40 +01:00
Shubham Gupta 1fd0ae4627
refactor(operations): error and assert condition (#958)
* refactor(operation): refactor error and assert condition

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* ci: docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-23 10:51:57 +00:00
Charles-Edouard Brétéché 274bbce1d2
feat: add support for bindings at the test, step and operation level (#960)
* feat: add support for bindings at the test level

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* step level

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* complete

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-23 10:51:42 +01:00
Charles-Edouard Brétéché 2fbe81ebd7
feat: support loading resource from file in assert command (#959)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-22 22:21:00 +01:00
Shubham Gupta 5a17c8c82f
test(report): Add report path test (#956)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-22 17:40:10 +01:00
dependabot[bot] ed91d7b613
chore(deps): Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0 (#952)
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.7.0 to 2.9.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](1beeb572c1...04733e069f)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  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>
2024-02-22 10:30:46 +01:00
Shubham Gupta c32f7d67b1
feat: check file extension (#951)
* feat: check file extension

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: improve code

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: improve code

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-21 16:46:42 +00:00
Charles-Edouard Brétéché d15316cc00
chore: bump kind node image (#947)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 16:26:45 +01:00
Charles-Edouard Brétéché 9306d46623
chore: update drop down in templates (#950)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 16:19:23 +01:00
github-actions[bot] a3997789fb
Brew formula update for chainsaw version v0.1.6 (#948)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-02-21 16:04:38 +01:00
Charles-Edouard Brétéché 7a78b70912
fix: temporary kubeconfig needs to be absolute (#946)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 15:33:46 +01:00
Charles-Edouard Brétéché dd0d03f066
chore: update drop down in templates (#943)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 14:19:27 +01:00
github-actions[bot] 5aaa6ca242
Brew formula update for chainsaw version v0.1.5 (#944)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-02-21 14:13:05 +01:00
Charles-Edouard Brétéché ff8d4082d2
release: v0.1.5 (#942)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 15:58:22 +05:30
Charles-Edouard Brétéché f256b7d8f7
docs: multi-cluster (#941)
* docs: multi-cluster

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* client binding

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* kubeconfig

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 11:15:58 +01:00
Charles-Edouard Brétéché 6838a61cc1
docs: multi-cluster (#940)
* docs: multi-cluster

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* client binding

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 15:27:48 +05:30
Charles-Edouard Brétéché a93406fd7b
docs: patch operation (#939)
* docs: patch operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fixes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 15:00:41 +05:30
Charles-Edouard Brétéché 418bda7e9a
docs: delete in catch/finally blocks (#938)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 09:53:14 +01:00
Charles-Edouard Brétéché 7ad356d14c
docs: get collector and format (#937)
* feat: add more validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs: get collector and format

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 09:45:40 +01:00
Charles-Edouard Brétéché c364ca42d4
feat: add more validation (#936)
* feat: add more validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* relax

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-21 09:37:58 +01:00
Shubham Gupta 5c8a834ec3
docs(report): add report-path in configuration and flag (#935)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-21 09:08:25 +01:00
Charles-Edouard Brétéché b9d7cffb4d
fix: concurrency issue in kyverno-json (#933)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-20 21:25:20 +01:00
Charles-Edouard Brétéché 39b5166b0d
feat: add report-path support (#932)
* feat: add report-path support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-20 15:31:16 +01:00
Charles-Edouard Brétéché 965e414ac3
chore: update release notes (#931)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-20 14:46:58 +01:00
Shubham Gupta e33f4cfc99
fix: timeout not used in describe (#928)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-19 20:02:04 +00:00
Charles-Edouard Brétéché 7373097dc7
fix: collectors cluster (#925)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 14:17:42 +01:00
Charles-Edouard Brétéché d2201dfddd
feat: use temporary KUBECONFIG (#924)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 14:10:43 +01:00
Charles-Edouard Brétéché 401f18c107
fix: binding (#923)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 13:04:50 +01:00
dependabot[bot] 4b348bf779
chore(deps): Bump actions/download-artifact from 3.0.2 to 4.1.2 (#919)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3.0.2 to 4.1.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9bc31d5ccc...eaceaf801f)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 12:35:42 +01:00
dependabot[bot] 0d040ca863
chore(deps): Bump actions/upload-artifact from 3.1.3 to 4.3.1 (#918)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...5d5d22a312)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 12:21:51 +01:00
Charles-Edouard Brétéché b09a74ab18
feat: use cluster defined in the test/step/operation (#922)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 12:14:14 +01:00
Charles-Edouard Brétéché 8219d9e9bd
feat: add cluster fields to the api (#921)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 11:48:15 +01:00
Charles-Edouard Brétéché 79387604a7
feat: add a clusters registry struct in processors (#920)
* feat: add a clusters registry struct in processors

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* register

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 11:24:40 +01:00
Charles-Edouard Brétéché a1b515a008
feat: add multi-cluster support (part 1) (#916)
* feat: add multi-cluster support (part 1)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix: nil ref

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix unit test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 10:21:56 +01:00
Charles-Edouard Brétéché 401f13d17c
fix: test dir arg array instead of slice (#917)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-19 09:59:21 +01:00
Charles-Edouard Brétéché feff0a05bf
chore: add image labels (#915)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-18 16:28:00 +01:00
Charles-Edouard Brétéché 7648b2a7c9
fix: preserve apiVersion and kind when diffing (#914)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-18 00:37:23 +01:00
Charles-Edouard Brétéché de176827e0
feat: add programmatic config validation (#913)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-18 00:13:50 +01:00
Charles-Edouard Brétéché 35e390d99f
refactor: move validation pkg in validation/test (#912)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 23:52:41 +01:00
Charles-Edouard Brétéché d73f3d2fee
feat: add support for delete in catch/finally (#911)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 22:21:26 +01:00
Charles-Edouard Brétéché 427bd68d0b
chore: fix delete operation comment (#910)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 22:01:46 +01:00
Shubham Gupta 9b2cf2d463
feat(commands): accept stdin in assert cmd (#879)
* feat: accept stdin in assert cmd

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: accept stdin in assert cmd

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: add test code

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: add error stdin reader

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-17 20:42:10 +00:00
Charles-Edouard Brétéché c788cfa0c1
feat: add format support to events and get collectors (#909)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 19:52:46 +01:00
Charles-Edouard Brétéché 4e13e50296
fix: missing operations in build docs (#908)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 19:29:26 +01:00
Shubham Gupta e7413d6f66
docs: fix typo in docs (#907)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-17 18:47:53 +01:00
Charles-Edouard Brétéché 2037989747
chore: bump a couple of deps (#905)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 02:32:51 +01:00
Charles-Edouard Brétéché 9c4607e527
refactor: object labels selector struct (#904)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 02:24:31 +01:00
Charles-Edouard Brétéché 88f86f9e39
refactor: replace events collector by get (#901)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 02:07:55 +01:00
Charles-Edouard Brétéché eb65bdb1fb
refactor: operations file names (#900)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 01:40:20 +01:00
Charles-Edouard Brétéché 9cf17003e8
feat: add patch operation (#898)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 01:29:29 +01:00
Charles-Edouard Brétéché 2560fe9c47
fix: invalid json package used (#899)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 01:14:55 +01:00
Charles-Edouard Brétéché 300cb29b04
fix: unit test coverage upload (#897)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-17 00:03:48 +01:00
Charles-Edouard Brétéché e7cc9d5dec
fix: separate unit tests from codecov upload (#896)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-16 23:42:44 +01:00
Charles-Edouard Brétéché ab0ac9ac1e
fix: kuttl assert bad conversion (#895)
* fix: kuttl assert bad conversion

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix unit test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-16 23:27:03 +01:00
Charles-Edouard Brétéché 8e143badc9
chore: fix adopters (#893)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-16 19:16:50 +01:00
Jacob Aronoff a1188e2458
Update ADOPTERS.md (#892)
Signed-off-by: Jacob Aronoff <jaronoff97@users.noreply.github.com>
2024-02-16 18:41:57 +01:00
Chandan-DK 7d155439c7
feat: add get collector (#889)
* add get struct

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add get collector as a field in catch and finally structs

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* make codegen-crds

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* make codegen-deepcopy

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* make codegen-api-docs

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* validate get field in catch and finally

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add get collector logic

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* validate get

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add unit tests for get validation

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add unit tests for get collector

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add unit tests for validating catch and finally

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* make codegen

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

---------

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
2024-02-16 12:47:43 +00:00
Anusha Hegde aa784a1e5f
Add Nirmara to adopters list (#891)
Signed-off-by: Anusha Hegde <anusha.hegde@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-16 12:18:33 +01:00
dependabot[bot] 2044d3d8f1
chore(deps): Bump sigs.k8s.io/controller-runtime from 0.17.1 to 0.17.2 (#890)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.1...v0.17.2)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-02-16 09:54:02 +00:00
Charles-Edouard Brétéché f8df238cc3
chore: add new blog post in resources (#885)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-15 15:16:19 +01:00
dependabot[bot] 0f3385d9b5
chore(deps): Bump k8s.io/client-go from 0.29.1 to 0.29.2 (#884)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.1 to 0.29.2.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.29.1...v0.29.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2024-02-15 10:32:55 +00:00
dependabot[bot] cbf709ca40
chore(deps): Bump k8s.io/api from 0.29.1 to 0.29.2 (#882)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.1 to 0.29.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.1...v0.29.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2024-02-15 11:27:01 +01:00
Hubert Stefanski 1be82cdf02
chore: add grafana-operator to ADOPTERS.md (#881)
Signed-off-by: hstefans <hstefans@redhat.com>
2024-02-15 09:12:13 +00:00
Charles-Edouard Brétéché be33229a95
chore: bump tools (#880)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-15 09:25:00 +01:00
Charles-Edouard Brétéché 26a0e46edf
chore: update issues drop down (#876)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 18:55:41 +01:00
github-actions[bot] 2b8aba94ef
Brew formula update for chainsaw version v0.1.4 (#875)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-02-14 18:48:36 +01:00
Charles-Edouard Brétéché ddceecb422
release: v0.1.4 (#874)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 18:03:03 +01:00
Charles-Edouard Brétéché bb0b7e030f
chore: update docs (#873)
* chore: update docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* describe

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* flag

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* templating

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* cleanup

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 17:25:26 +01:00
Charles-Edouard Brétéché 2ee7689b2e
chore: update release notes (#871)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 15:28:07 +01:00
Charles-Edouard Brétéché b41cf00b59
chore: improve makefile for ko targets (#870)
* chore: improve makefile for ko targets

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* git sha

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 15:00:14 +01:00
Charles-Edouard Brétéché 7578c08dab
feat: add assert/error template support (#869)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 14:49:15 +01:00
Shubham Gupta 812666fdbd
ci: change ko build base Image (#865)
* refactor: change ko build base Image

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* ci: add ko build and test ci

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update flags

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add golang

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add user

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: fix directory

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: remove tty

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: use kubectl latest-dev

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: add value flag

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add makefile targegs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add makefile targegs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: use sha

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add golnag

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add makefile targets

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: fix makefile

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: remove golang

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: remove env variable

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: remove comments

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add golang again

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add env again

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-14 13:35:07 +00:00
Charles-Edouard Brétéché 7e4d8109f6
feat: add delete template support (#868)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 14:04:44 +01:00
Charles-Edouard Brétéché 2c2ea24d45
feat: add template flag (#866)
* feat: add template flag

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 15:27:44 +05:30
Charles-Edouard Brétéché 73c6be834a
refactor: remove modifiers (#864)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 09:16:28 +01:00
Charles-Edouard Brétéché cc790542a8
fix: errors in apply not sorted (#863)
* fix: errors in apply not sorted

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* optim

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-13 23:44:55 +00:00
Charles-Edouard Brétéché 3110759b25
feat: add diff in assert (#862)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-14 04:47:00 +05:30
Charles-Edouard Brétéché eeeabc49bb
chore: add mutation code in chainsaw directly (#861)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-13 17:27:42 +01:00
Charles-Edouard Brétéché 39bad8d248
fix: improve kuttl tests migration files rewrite logic (#860)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-13 12:09:54 +01:00
Charles-Edouard Brétéché 59fde84a32
fix: lists not loaded correctly (#859)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-12 22:26:54 +01:00
Charles-Edouard Brétéché 55c2f65bb9
feat: add self modifier support (#856)
* feat: add self modifier support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* bump kyverno-json

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-12 23:12:56 +05:30
Charles-Edouard Brétéché ed3ee280d4
feat: replace namespace modifiers with namespace template (#855)
* feat: add self modifier support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* ns template

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-12 16:47:36 +01:00
Charles-Edouard Brétéché 4d9bbf2fce
chore: add modifiers tests (#853)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-12 11:13:39 +01:00
Charles-Edouard Brétéché a1ea0d313b
chore: add modifier validation tests (#852)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-12 10:39:06 +01:00
Charles-Edouard Brétéché e1dd4a47cb
feat: implement modifier validation (#850)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 22:48:09 +01:00
Charles-Edouard Brétéché 3043b81c37
chore: update vscode config (#849)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 22:21:05 +01:00
Charles-Edouard Brétéché 8ece17c3ba
chore: update release notes (#848)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 22:12:20 +01:00
Charles-Edouard Brétéché cd34a5ee7a
feat: add namespace modifiers (#847)
* feat: add namespace modifiers

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* modifiers

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 21:58:13 +01:00
Charles-Edouard Brétéché 53e471913e
feat: add mutations support (#832)
* feat: add mutations support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* modifier

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* create

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* create

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 12:43:15 +01:00
Charles-Edouard Brétéché 47e4fd0f89
chore: update release notes (#846)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-11 11:44:10 +01:00
Charles-Edouard Brétéché 3f8124483e
fix: add missing schemas (#843)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 22:53:16 +01:00
Charles-Edouard Brétéché 5258ca33e3
fix: issue template config (#842)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 22:29:17 +01:00
Shubham Gupta 3f82ae6f36
feat: add flag show-events (#838)
* feat: add flag show-events

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: Add unit test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 13:54:31 +01:00
Shubham Gupta af42d87bd9
chore: add issue template (#839)
* chore: add issue template

* Update .github/ISSUE_TEMPLATE/general-question.yaml

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 12:51:12 +01:00
Charles-Edouard Brétéché f77a0ccb1f
chore: add issue template config (#841)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-09 23:56:26 +00:00
Charles-Edouard Brétéché 96ef1001bc
chore: remove krew.yaml file (#840)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 00:37:09 +01:00
Charles-Edouard Brétéché e95f5905e1
fix: add missing validation tests and fix api docs (#836)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-09 23:31:43 +01:00
Charles-Edouard Brétéché b01fe35c69
feat: add describe collector (#826)
* feat: add describe collector

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 03:36:08 +05:30
Charles-Edouard Brétéché 043a1e4d55
fix: incorrect expectation api docs (#833)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-10 02:33:44 +05:30
Shubham Gupta a06d0eb1fb
feat: add namespace binding (#828)
* feat: add namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: add namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: add namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: add namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* feat: namespace binding

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: fix failing test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: Add release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Update .release-notes/main.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-09 21:30:57 +01:00
dependabot[bot] fdb27604d8
chore(deps): Bump golangci/golangci-lint-action from 3.7.0 to 3.7.1 (#830)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3a91952989...3cfe3a4abb)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-02-09 10:21:16 +00:00
dependabot[bot] a5f23f2912
chore(deps): Bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1 (#831)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.0...v0.17.1)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  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>
2024-02-09 11:14:23 +01:00
RealAnna db16e25166
Add Keptn to ADOPTERS.md (#829)
Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
2024-02-08 23:42:00 -08:00
Charles-Edouard Brétéché 0d046d4c73
feat: allow passing test dirs by args (#827)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-09 00:51:00 +01:00
Charles-Edouard Brétéché 9ccc47efef
chore: bump deps and improve api docs (#824)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-08 22:00:06 +01:00
Charles-Edouard Brétéché fd228c87e6
fix: kuttl migrate test potentially incorrect when a TestStep is present (#823)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-08 01:34:44 +05:30
Charles-Edouard Brétéché e9ff7d433c
fix: do not apply kuttl migration if already migrated (#822)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-07 18:52:08 +01:00
Even Holthe 89d633a40a
chore: add the Norwegian Mapping Authority as a user (#820)
Signed-off-by: Even Holthe <even.holthe@kartverket.no>
2024-02-07 08:57:47 +00:00
Charles-Edouard Brétéché 3592423407
chore: add v0.1.3 to drop down list (#818)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 17:25:28 +01:00
github-actions[bot] 3c33b745ab
Brew formula update for chainsaw version v0.1.3 (#816)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2024-02-06 17:03:02 +01:00
Charles-Edouard Brétéché 98209e1e32
release: v0.1.3 (#814)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 16:34:33 +01:00
Charles-Edouard Brétéché 48a821426b
chore: add release semantics (#815)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 16:24:38 +01:00
Shubham Gupta 3fb3331a7e
fix(discovery): Throw error on wrong path (#803)
* fix: error from wrong path

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: error from wrong path

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: ignore files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: use fs package

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-06 12:41:38 +00:00
Charles-Edouard Brétéché b701ca48ca
chore: add docs for running without a kubernetes cluster (#813)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 17:58:32 +05:30
Shubham Gupta a41e163485
docs: update docs (#812)
* docs: add docs:

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* docs: add docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 13:10:02 +01:00
Charles-Edouard Brétéché d8d43facab
chore: add values test (#811)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 13:01:53 +01:00
Charles-Edouard Brétéché f2a9637526
chore: add values docs (#809)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 12:54:04 +01:00
Charles-Edouard Brétéché 0a64d2de33
chore: run e2e tests using makefile (#810)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 12:45:11 +01:00
dependabot[bot] a2cbb8c075
chore(deps): Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0 (#806)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](d43c1f16c0...84384bd6e7)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-02-06 16:13:50 +05:30
Charles-Edouard Brétéché 04cf04658d
chore: add deps PR scope (#808)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 16:04:58 +05:30
Charles-Edouard Brétéché d8fd5f4b29
chore: update docs (#807)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 11:09:03 +01:00
Charles-Edouard Brétéché 7b4af0d66e
chore: add test catalog codegen (#801)
* chore: add test catalog codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-05 23:57:03 +01:00
Charles-Edouard Brétéché 984cd08399
fix: resource loader logic (#800)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-05 23:34:57 +01:00
Shubham Gupta 9d0f108f03
feat: support glob pattern in operation filepath (#797)
* feat: support directory

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* sytle: fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test: Add test code

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* style: fix style

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: use the glob pattern

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* style: remove empty line

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update makefile

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* typo

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* style: remove space

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: add code release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: update release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* typo

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* chore: fix release.md

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-05 22:16:23 +00:00
Charles-Edouard Brétéché 3100a82819
feat: add values support (#798)
* feat: add values support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* bindings

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* bindings

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-05 22:57:06 +01:00
Shubham Gupta 0336beedc6
chore: add go cover in makefile (#799)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-05 21:47:49 +00:00
Charles-Edouard Brétéché d556a29449
chore: update release notes (#795)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-05 15:33:15 +01:00
Shubham Gupta 5f15a6cd8c
chore: add @shubham-cmyk as a maintainer (#793)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-04 14:12:30 +01:00
Charles-Edouard Brétéché ec1c83cc45
chore: add maintainers files (#792)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-04 12:05:46 +01:00
Charles-Edouard Brétéché 48bb05bdb1
chore: test permissions (#791)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-02 21:25:40 +00:00
Shubham Gupta c2766d9632
ci: improve the PR semantics (#787)
* improve the PR semantics

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* ci: Add pr semantics CI

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* style: improve in ci example

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-02 19:11:13 +00:00
Shubham Gupta 57cec70237
docs: Remove TestStep reference examples (#786)
* remove TestStep examples

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* typo

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* typo

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add: test-examples

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-02-02 18:19:35 +00:00
Charles-Edouard Brétéché 40f599f047
chore: add kubebuilder meeting link (#789)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-02 19:13:34 +01:00
dependabot[bot] 18e27e6dfc
chore(deps): Bump codecov/codecov-action from 4.0.0 to 4.0.1 (#788)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](f30e4959ba...e0b68c6749)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-02-02 11:21:33 +01:00
Charles-Edouard Brétéché 8dba592231
chore: add v0.1.2 in the bug template (#785)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-01 22:53:50 +01:00
Charles-Edouard Brétéché 222db5e8f3
fix: codecov bump (#783)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-01 12:48:31 +01:00
Charles-Edouard Brétéché 0d9d696dda
chore: bump codecov action (#782)
* chore: bump codecov action

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-01 12:19:21 +01:00
Charles-Edouard Brétéché ded8d4befc
fix: remove krew as the plugin was not accepted (#781)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-01 11:28:20 +01:00
dependabot[bot] 0b1ea22de5
chore(deps): Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#779)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](9614fae9e5...e1523de757)

---
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>
2024-02-01 09:54:08 +00:00
dependabot[bot] e381e8d680
chore(deps): Bump anchore/sbom-action from 0.15.7 to 0.15.8 (#778)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.7 to 0.15.8.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](767b08fd88...b6a39da807)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-02-01 10:47:53 +01:00
Charles-Edouard Brétéché 850dd85ecd
chore: add chainsaw group in docs and readme (#777)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-31 19:45:49 +01:00
Charles-Edouard Brétéché e1a9eb244d
fix: krew release only with stable versions (#776)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-31 19:04:36 +01:00
dependabot[bot] d1ef6d6d83
chore(deps): Bump codecov/codecov-action from 3.1.5 to 3.1.6 (#772)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](4fe8c5f003...ab904c41d6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-01-31 13:06:01 +01:00
dependabot[bot] 3ee7f40ea4
chore(deps): Bump anchore/sbom-action from 0.15.6 to 0.15.7 (#773)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.6 to 0.15.7.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](c6aed38a43...767b08fd88)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-31 11:53:02 +01:00
dependabot[bot] 7c1a075a8e
chore(deps): Bump anchore/sbom-action from 0.15.5 to 0.15.6 (#771)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.5 to 0.15.6.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](24b0d52385...c6aed38a43)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-30 15:29:09 +01:00
Charles-Edouard Brétéché b7091024cb
feat: publish chainsaw on krew (#769)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-28 21:15:00 +01:00
Charles-Edouard Brétéché 2af2b2fb0e
feat: support running without cluster (#768)
* feat: support running without cluster

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-28 00:13:23 +01:00
Charles-Edouard Brétéché e54fdb4996
refactor: use any (#767)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 23:32:46 +01:00
Charles-Edouard Brétéché 87fa1afee6
chore: bump deps (#766)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 23:24:07 +01:00
Charles-Edouard Brétéché 268d661d0a
chore: allow dependabot to rebase PRs (#765)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 23:08:55 +01:00
Charles-Edouard Brétéché 2dbc1883b9
chore: bump deps (#764)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 23:00:10 +01:00
Charles-Edouard Brétéché 9513583f9b
fix: migration of kuttl asserts (#762)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 15:42:50 +01:00
Charles-Edouard Brétéché cff43b3b79
feat: add json schema when converting from kuttl (#761)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 14:13:03 +01:00
Charles-Edouard Brétéché 705f1444bb
fix: migrate kuttl commands are applied last instead of first (#759)
* fix: migrate kuttl commands are applied last instead of first

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-26 11:35:10 +01:00
dependabot[bot] 9b7fe9ed71
chore(deps): Bump codecov/codecov-action from 3.1.4 to 3.1.5 (#760)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](eaaf4bedf3...4fe8c5f003)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-01-26 11:17:41 +01:00
Chip Zoller b0c236946f
Add example page on testing outputs (#756)
* typo

Signed-off-by: chipzoller <chipzoller@gmail.com>

* Add page on testing command output

Signed-off-by: chipzoller <chipzoller@gmail.com>

---------

Signed-off-by: chipzoller <chipzoller@gmail.com>
2024-01-25 09:07:41 +01:00
dependabot[bot] b6c8390710
chore(deps): Bump anchore/sbom-action from 0.15.4 to 0.15.5 (#754)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](41f7a6c033...24b0d52385)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-23 12:38:40 +01:00
dependabot[bot] 89ef116b5b
chore(deps): Bump anchore/sbom-action from 0.15.3 to 0.15.4 (#753)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](c7f031d924...41f7a6c033)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-20 23:27:51 +00:00
Sanskar Gurdasani 6789fa9945
Added kubernetes resource exists function (#734)
* add kubernetes resource exists func

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* k8s_resource_exists

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* verifying codegen

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* Done By RESTMapper

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* make codegen

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* no need to get the list

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

---------

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-20 22:43:54 +00:00
Shubham Gupta 25a9a0b109
test: pkg/processor (#748)
* test: pkg/processor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove comment

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix: step Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add: catch and finally test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add: Graceful timeout handling

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2024-01-10 21:10:11 +00:00
dependabot[bot] ab795c3531
chore(deps): Bump anchore/sbom-action from 0.15.2 to 0.15.3 (#749)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](719133684c...c7f031d924)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-09 12:21:56 +01:00
dependabot[bot] e0b1d36b7d
chore(deps): Bump anchore/sbom-action from 0.15.1 to 0.15.2 (#747)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](5ecf649a41...719133684c)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2024-01-04 23:23:21 +00:00
dependabot[bot] 9c259ce0b8
chore(deps): Bump aquasecurity/trivy-action from 0.16.0 to 0.16.1 (#746)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](91713af97d...d43c1f16c0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2024-01-05 00:16:44 +01:00
Charles-Edouard Brétéché ed795aefb7
feat: expose rest mapper (#745)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-28 14:26:36 +01:00
github-actions[bot] 3db9ea798b
Brew formula update for chainsaw version v0.1.2 (#744)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2023-12-28 12:00:18 +01:00
Charles-Edouard Brétéché f08409dfed
release: v0.1.2 (#742)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-28 11:34:27 +01:00
Charles-Edouard Brétéché 54da051a16
chore: update docs (#741)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-27 23:21:18 +01:00
Charles-Edouard Brétéché 2b5afab979
chore: update release notes (#740)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-27 22:18:34 +01:00
Charles-Edouard Brétéché 0fc2946dff
fix: schema loader in lint command (#739)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-27 10:58:36 +01:00
Shubham Gupta c4f4af3c9a
try (#738)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-12-26 23:20:41 +01:00
Swastik Gour 1d69ffca97
added issue template (#731)
* added issue template

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* corrected errors

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* corrected

Signed-off-by: swastik959 <Sswastik959@gmail.com>

---------

Signed-off-by: swastik959 <Sswastik959@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-26 13:03:06 +00:00
Sanskar Gurdasani 713a4f51e1
add kubernetes exists func (#732)
* add kubernetes exists func

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* cleared some errors

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* removing unnecessary white space

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* imported apierrors module

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* make codegen

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* removing error

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

---------

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>
2023-12-25 00:46:48 +01:00
Swastik Gour d27c5a1e68
added the pr template (#730)
* added the pr template

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* corrected errors

Signed-off-by: swastik959 <Sswastik959@gmail.com>

---------

Signed-off-by: swastik959 <Sswastik959@gmail.com>
2023-12-22 13:25:41 +00:00
dependabot[bot] 2155d38142
chore(deps): Bump github.com/go-logr/logr from 1.4.0 to 1.4.1 (#729)
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  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>
2023-12-22 11:45:32 +01:00
Charles-Edouard Brétéché e5acb8e00e
chore: rename cleaner file (#726)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-22 00:29:03 +01:00
Charles-Edouard Brétéché 3f7e4e7735
feat: add kubernetes get func (#723)
* feat: add kubernetes get func

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-22 00:12:43 +01:00
Charles-Edouard Brétéché 87f7eef96e
fix: community meeting docs (#722)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-21 22:50:31 +01:00
Sanskar Gurdasani 01535c42f6
Added community meeting information in the documentation #718 (#721)
* Added community meeting information in the ducumentation

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* Added Zoom Meeting link

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>

* Update website/docs/community.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Sanskarzz <sanskar.gur@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-21 22:01:41 +01:00
dependabot[bot] 96d883df0a
chore(deps): Bump github.com/go-logr/logr from 1.3.0 to 1.4.0 (#720)
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  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>
2023-12-21 11:30:52 +01:00
Charles-Edouard Brétéché 02db0ce7cf
chore: fix create cluster in ci (#719)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-21 01:19:49 +01:00
Charles-Edouard Brétéché 9b3cc519cb
fix: missing lint command docs (#717)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 20:37:28 +01:00
Charles-Edouard Brétéché 60d87c7ccd
docs: add array assertions example (#715)
* docs: add array assertions example

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* e2e test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* debug

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* e2e tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 18:23:52 +01:00
Charles-Edouard Brétéché f87c957bfe
fix: retry in apply and create operations (#716)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 17:59:11 +01:00
Charles-Edouard Brétéché 2261cddaf5
docs: add non resource assertion example (#714)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 13:45:27 +01:00
Charles-Edouard Brétéché 644de99a96
feat: allow assertions to not contain a resource (#712)
* feat: allow assertions to not contain a resource

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* error

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* loading resource

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schema

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* check

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 12:37:39 +01:00
dependabot[bot] b73ac5d741
chore(deps): Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#713)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 02:04:15 +01:00
Charles-Edouard Brétéché 463b67ecb1
feat: add experimental functions prefix (#711)
* feat: add experimental functions prefix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* go mod

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 01:21:57 +01:00
Charles-Edouard Brétéché 6e131614fa
refactor: functions (#710)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 00:36:00 +01:00
Charles-Edouard Brétéché 4554150166
feat: add kubernetes list function (#709)
* feat: add kubernetes list function

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix linter

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* client binding

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-20 00:16:59 +01:00
Shubham Gupta 675dc61e08
feat: Add Lint Check (#672)
* add lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add : lint check

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint check

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix go fumt

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix the flags

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* pass Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix dir issue

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add: test files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add error test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add test files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint business logic

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add : Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-12-18 19:53:27 +00:00
Charles-Edouard Brétéché 7b91468f1c
chore: add assertion-tree example (#708)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 18:54:47 +01:00
Charles-Edouard Brétéché eff42ce572
chore: add inline resources example (#707)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 13:47:41 +01:00
Charles-Edouard Brétéché 8d3361d460
chore: add labels selector example (#706)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 13:07:47 +01:00
Charles-Edouard Brétéché 87cd84cbee
chore: add basic example (#705)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 11:54:59 +01:00
dependabot[bot] a18761a288
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#704)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](b1b635d242...ba37328d4e)

---
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>
2023-12-18 11:14:09 +01:00
Charles-Edouard Brétéché e88e51fb96
chore: add examples docs section (#696)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 10:17:41 +01:00
Charles-Edouard Brétéché bef93295cf
chore: remove gh action (#701)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 10:07:05 +01:00
github-actions[bot] 15d3f862d9
Brew formula update for chainsaw version v0.1.1 (#702)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2023-12-18 09:51:09 +01:00
Charles-Edouard Brétéché 040817df70
release: v0.1.1 (#697)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-18 09:21:36 +01:00
Charles-Edouard Brétéché 50ce006db5
chore: enable docs strictness (#700)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-17 22:12:56 +01:00
Charles-Edouard Brétéché 1d3b10d773
chore: enable missing workflows on main (#699)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-17 22:06:03 +01:00
Charles-Edouard Brétéché 8b42d983ed
chore: update release docs with GH action (#698)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-17 21:59:06 +01:00
Charles-Edouard Brétéché be0ed1ba46
chore: improve docs structure (#690)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-17 19:39:07 +01:00
Charles-Edouard Brétéché 289e4387f5
chore: update docs (#689)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-16 13:23:13 +01:00
Charles-Edouard Brétéché 943bcc810c
chore: add resources docs page (#688)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-16 12:32:32 +01:00
Charles-Edouard Brétéché dda4754019
chore: update release notes (#687)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-16 12:08:52 +01:00
Charles-Edouard Brétéché e8ac6a252d
feat: add assert command (#684)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-15 21:53:43 +01:00
Charles-Edouard Brétéché d593837331
chore: add new blog post to readme (#683)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-15 13:31:07 +01:00
Erik Westra 666a9baf32
Rename generate command to build (#682)
* Rename generate command to build

Signed-off-by: Erik Westra <e.s.westra.95@gmail.com>

* Update test-docs.md with command rename

Signed-off-by: Erik Westra <e.s.westra.95@gmail.com>

---------

Signed-off-by: Erik Westra <e.s.westra.95@gmail.com>
2023-12-15 13:10:47 +01:00
Charles-Edouard Brétéché 59b3a96d43
feat: add command to export json schemas (#681)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-15 10:47:03 +01:00
Charles-Edouard Brétéché a8404459ae
feat: add json schemas to embedded data (#679)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-15 00:16:29 +01:00
Charles-Edouard Brétéché 88e5a31dbe
feat: add description flag to create test command (#677)
* feat: add description flag to create test command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-15 00:03:05 +01:00
Charles-Edouard Brétéché 6c2e6efdfc
fix: add missing docs (#678)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-14 23:50:48 +01:00
Charles-Edouard Brétéché 4912cab966
fix: bindings being nil (#673)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-14 12:26:33 +01:00
Charles-Edouard Brétéché 8f66bd5775
feat: add labels selector support (#671)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 22:51:55 +01:00
Charles-Edouard Brétéché 8c5be50d8c
fix: skip delete incorrect check (#668)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 22:07:04 +01:00
Charles-Edouard Brétéché 799d7d3ef6
fix: skip delete not applied to the test namespace (#666)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 20:18:57 +01:00
Charles-Edouard Brétéché 4efc06d446
chore: fix readme typos (#665)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 20:03:08 +01:00
Charles-Edouard Brétéché bf9e4fe7fa
chore: add resources to the README (#663)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 14:14:17 +01:00
Charles-Edouard Brétéché fecc4effd1
feat: add create test command (#662)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 14:01:46 +01:00
Charles-Edouard Brétéché 6862664798
fix: catalog (#661)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-13 00:16:21 +01:00
Charles-Edouard Brétéché 6a1ef27f1b
chore: add a couple unit tests (#660)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 23:52:57 +01:00
Charles-Edouard Brétéché b3aeef9998
feat: add --readme-file flag to generate docs command (#659)
* fix: bad error check in docs command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* feat: add --readme-file flag to generate docs command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 23:10:31 +01:00
Charles-Edouard Brétéché c30a572fb0
fix: bad error check in docs command (#658)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 22:50:10 +01:00
Charles-Edouard Brétéché 81bfe50588
chore: move GH action to a dedicated repository (#657)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 22:16:11 +01:00
Andy Suderman e20a7245e2
Update ADOPTERS.md (#656)
Signed-off-by: Andy Suderman <andy@fairwinds.com>
2023-12-12 20:42:34 +00:00
github-actions[bot] 79ed323def
Brew formula update for chainsaw version v0.1.0 (#654)
Co-authored-by: goreleaserbot <bot@goreleaser.com>
2023-12-12 11:49:07 +01:00
Charles-Edouard Brétéché 7b8054fce6
release: v0.1.0 (#652)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 11:25:30 +01:00
Charles-Edouard Brétéché a9bbdfcb13
chore: update docs (#651)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 11:15:06 +01:00
dependabot[bot] 7a27b7a5d6
chore(deps): Bump sigstore/cosign-installer from 3.2.0 to 3.3.0 (#650)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](1fc5bd396d...9614fae9e5)

---
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>
2023-12-12 10:03:08 +00:00
Shubham Gupta 20fd8b2aea
Add another adopter (#649)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-12-12 09:34:22 +00:00
Charles-Edouard Brétéché e64ce9a675
chore: update release notes (#643)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 00:31:55 +01:00
Charles-Edouard Brétéché ad6afc08cb
chore: update release notes (#642)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-12 00:14:47 +01:00
Charles-Edouard Brétéché c80e1bb3a6
fix: goreleaser brew (#638)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-11 23:37:59 +01:00
Charles-Edouard Brétéché c2e469826e
feat: show version in logs (#637)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-11 23:31:03 +01:00
Charles-Edouard Brétéché 434d66eafb
chore: add adopters (#636)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-11 21:06:52 +01:00
Shubham Gupta af5dec9a9b
Docs: Parallel execution of Test (#632)
* Add: Docs Related to parallel execution

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add doc

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add in release notes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* update release.md

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-12-11 10:23:24 +00:00
dependabot[bot] e1b7c69245
chore(deps): Bump aquasecurity/trivy-action from 0.15.0 to 0.16.0 (#634)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](22d2755f77...91713af97d)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2023-12-11 10:48:06 +01:00
Charles-Edouard Brétéché 63d5d7dd98
feat: add brew support (#633)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-11 10:16:36 +01:00
Charles-Edouard Brétéché 1264cac9c9
fix: error message in resource loading (#630)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-09 01:09:14 +01:00
Charles-Edouard Brétéché 980c66693b
chore: codecov config (#629)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-09 00:10:40 +01:00
Charles-Edouard Brétéché b7bf57628e
chore: add a couple unit tests (#628)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-09 00:00:59 +01:00
Charles-Edouard Brétéché 37f35b2a61
chore: add a couple unit tests (#627)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 23:11:54 +01:00
Charles-Edouard Brétéché 2d9a877a6d
chore: add a couple unit tests (#626)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 22:03:12 +01:00
Charles-Edouard Brétéché 5c54480a4f
chore: add a couple unit tests (#625)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 21:33:26 +01:00
Charles-Edouard Brétéché d98a41000c
feat: add multiple tests in file support (#624)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 20:55:18 +01:00
Charles-Edouard Brétéché 518e3044d6
chore: fix release notes (#623)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 13:30:50 +01:00
Charles-Edouard Brétéché 7885ebe21b
release: v0.0.9 (#621)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 12:59:34 +01:00
Charles-Edouard Brétéché 7fa3ddc109
chore: update docs (#620)
* quick start

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* config

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schemas

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* schemas

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* office hour

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-08 12:50:26 +01:00
Charles-Edouard Brétéché ae7e9bfbdd
chore: update release notes (#617)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 23:12:06 +01:00
Charles-Edouard Brétéché 1ecb519f97
refactor: remove test dirs from config (#612)
* refactor: remove test dirs from config

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 22:26:36 +01:00
Charles-Edouard Brétéché 81a719bedb
fix: migration commands (#611)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 21:58:16 +01:00
Charles-Edouard Brétéché b33da72208
chore: use schemas in examples (#610)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 15:01:29 +01:00
Charles-Edouard Brétéché 854f5a66aa
feat: add json schemas support (#609)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 14:03:48 +01:00
dependabot[bot] cd5906653f
chore(deps): Bump actions/setup-go from 4.1.0 to 5.0.0 (#608)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](93397bea11...0c52d547c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 09:59:50 +00:00
Charles-Edouard Brétéché 83e6f33969
feat: remove TestStep based tests support (#606)
* feat: remove TestStep based tests support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 10:55:33 +01:00
Charles-Edouard Brétéché 569a15f42c
fix: improve log messages (#607)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-07 10:44:46 +01:00
Charles-Edouard Brétéché f44eb1096d
feat: add command to migrate tests using TestStep (#605)
* feat: add command to migrate tests using TestStep

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-06 12:55:23 +01:00
Shubham Gupta 3d060125b5
test: pkg/runner/processors- Part1 (#564)
* Add test files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix operations

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix type check

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add TestCreateTestProcessor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* update mock

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add: Cleaner Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint Fix Go Sec Error

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add Helper func

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix timeout lint error

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* increase call

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix assert

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove num calls

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 21:37:33 +00:00
Charles-Edouard Brétéché cc16634558
refactor: rename kuttl migrate to migrate kuttl (#604)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 21:51:27 +01:00
Charles-Edouard Brétéché 876f282d4b
feat: add support for overriding termination grace period in test (#603)
* feat: add support for overriding termination grace period in test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 15:11:56 +01:00
Charles-Edouard Brétéché ff2362e7ab
fix: cleanup delay (#602)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 13:26:14 +01:00
Charles-Edouard Brétéché 3a86751c60
fix: e2e test names (#601)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 12:47:43 +01:00
Charles-Edouard Brétéché a755161f42
fix: check folders in test command (#600)
* fix: check folders in test command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 12:41:36 +01:00
Charles-Edouard Brétéché bf859945fd
feat: add cleanup delay support (#599)
* feat: add cleanup delay support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 12:21:51 +01:00
Charles-Edouard Brétéché a3c93a10b1
refactor: cleanup management (#597)
* refactor: cleanup management

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 11:43:12 +01:00
Charles-Edouard Brétéché 54c7a71827
fix: cleanup timeout (#596)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 11:24:25 +01:00
dependabot[bot] caacf75cd8
chore(deps): Bump aquasecurity/trivy-action from 0.14.0 to 0.15.0 (#594)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](2b6a709cf9...22d2755f77)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2023-12-05 10:03:09 +00:00
dependabot[bot] bb16121f6b
chore(deps): Bump anchore/sbom-action from 0.15.0 to 0.15.1 (#595)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](fd74a6fb98...5ecf649a41)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2023-12-05 10:59:18 +01:00
Shubham Gupta dd2c69614d
test: pkg/runner/run.go (#582)
* change

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test pkg/runner

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add comment

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Update pkg/runner/run.go

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 08:01:22 +00:00
Charles-Edouard Brétéché b6529719f8
fix: log output with multiple sections (#592)
* fix: log output with multiple sections

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-05 01:25:28 +01:00
Charles-Edouard Brétéché 5d6585b843
release: v0.0.8 (#589)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-04 10:54:39 +01:00
Shubham Gupta 2ba8bc8e92
doc: add url Support in operation file Ref (#588)
* add url Support doc

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Update website/docs/operations/error.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/apply.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/assert.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/apply.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/assert.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/create.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/create.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* Update website/docs/operations/error.md

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-04 09:43:41 +01:00
dependabot[bot] cdaa3aa406
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#586)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](b35f285b9b...b1b635d242)

---
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>
2023-12-04 08:50:28 +01:00
Charles-Edouard Brétéché 3813874020
fix: pinned actions check (#587)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-04 08:42:34 +01:00
Charles-Edouard Brétéché efc79acb44
fix: release notes (#585)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 23:50:40 +01:00
Charles-Edouard Brétéché 64c6744ff2
chore: explain exit code check in runner.Run (#584)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 23:38:40 +01:00
Charles-Edouard Brétéché e5ca0b1c6f
chore: update docs (#583)
* test docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* jp functions

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* termination grace

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 23:24:25 +01:00
Charles-Edouard Brétéché 2fe9d37863
chore: update docs (#580)
* sleep operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* collectors

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* configuration

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* operations

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* cleanup

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* gh action

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* check

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* cleanup

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* delete

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* delete

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* kuttl migration

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* kuttl migration

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* test steps

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 22:39:19 +01:00
Charles-Edouard Brétéché a6458138e5
feat: add community docs page (#579)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 15:46:11 +01:00
Charles-Edouard Brétéché d0a2108875
chore: update release notes (#578)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 13:07:45 +01:00
Charles-Edouard Brétéché e43bf8ccc1
chore: add unit tests (#575)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-03 00:29:04 +01:00
Charles-Edouard Brétéché 0631dc51d1
refactor: operations (#574)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 23:55:30 +01:00
Charles-Edouard Brétéché 7660a42768
refactor: operation logs (#573)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 21:49:30 +01:00
Charles-Edouard Brétéché 56554d6dd7
chore: add unit tests (#572)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 21:42:33 +01:00
Shubham Gupta a0d5b70b4b
feat: Support Github Raw files (#565)
* github Raw

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* pass Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix naming

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove validation

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* use hasicorp getter

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 20:24:09 +00:00
Charles-Edouard Brétéché d6daf33c34
refactor: delete operation (#571)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 15:31:43 +01:00
Charles-Edouard Brétéché 6f3289d6d1
refactor: timeouts management (part 2) (#569)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 14:44:48 +01:00
Charles-Edouard Brétéché 76e1bf120c
chore: replace interface by any (#568)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 01:47:52 +01:00
Charles-Edouard Brétéché 29f814fc89
refactor: timeout management (#567)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-02 00:57:38 +01:00
Charles-Edouard Brétéché ad2691a026
feat: add sleep action support (#566)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-01 22:33:09 +01:00
Shubham Gupta 26d449d337
Add myself to codeowner (#546)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-01 22:13:33 +01:00
Charles-Edouard Brétéché bdeee5ce69
chore: add generate command unit tests (#562)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 11:41:24 +01:00
Charles-Edouard Brétéché 9ae1c0a0fd
chore: add unit tests (#555)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 11:27:34 +01:00
Charles-Edouard Brétéché 0045cb1d74
chore: add unit tests (#554)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 11:07:27 +01:00
Charles-Edouard Brétéché a34dd7346c
chore: add catch and finally examples (#553)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 10:07:25 +01:00
Charles-Edouard Brétéché db1bb9e075
chore: fix flags (#552)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 03:21:49 +01:00
Charles-Edouard Brétéché 1088a1859d
feat: add migrate kuttl config command (#551)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 02:09:03 +01:00
Charles-Edouard Brétéché ae4c0a8bce
fix: make timeouts fields pointers (#550)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 01:23:33 +01:00
Charles-Edouard Brétéché 183bcee7f6
chore: add codecov config file (#549)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 00:27:05 +01:00
Charles-Edouard Brétéché f83335d237
refactor: kuttl tests migration (#547)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-30 00:16:22 +01:00
Charles-Edouard Brétéché 8877e45ee6
feat: add command to generate test docs (#545)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 16:39:31 +01:00
Shubham Gupta 9b5ed1fdb7
fix broken link (#544)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-29 14:41:41 +01:00
Charles-Edouard Brétéché a60ad3cdb0
feat: add descritption fields (#543)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 12:17:21 +01:00
Charles-Edouard Brétéché 6e67eefd69
fix: don't show cmd/script logs if empty (#542)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 10:16:10 +01:00
Charles-Edouard Brétéché d31ee7be89
feat: add inline assert and error support (#541)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 10:05:35 +01:00
Charles-Edouard Brétéché 47cb7b5839
feat: use expect in delete op (#540)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 09:21:19 +01:00
Charles-Edouard Brétéché 315918519c
chore: add end to end tests (#539)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 08:31:35 +01:00
Charles-Edouard Brétéché 86f592db4c
feat: allow extend kyverno-json function caller (#536)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-29 00:13:07 +01:00
Shubham Gupta cefe9da4c1
docs: Roadmap.md (#537)
* add roadmap

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-29 00:07:35 +01:00
Charles-Edouard Brétéché fea60e266d
chore: bump kyverno-json (#535)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 22:51:14 +01:00
Charles-Edouard Brétéché 97e1a92871
chore: add dedicated slack channel in readme (#532)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 17:37:44 +01:00
Charles-Edouard Brétéché 5ca138ff5a
release: v0.0.7 (#528)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 14:12:03 +01:00
Charles-Edouard Brétéché 1e74e4330b
chore: update v0.0.7 docs (#527)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 14:05:12 +01:00
Charles-Edouard Brétéché dc6f61f608
chore: add unit tests (#526)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 12:46:33 +01:00
dependabot[bot] a4e49093f7
chore(deps): Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 (#525)
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.2.4...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  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>
2023-11-28 12:12:46 +01:00
Charles-Edouard Brétéché 5acb110772
chore: update release notes (#524)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 02:15:47 +01:00
Charles-Edouard Brétéché 770c9ad22e
chore: add unit tests (#523)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 02:03:12 +01:00
Charles-Edouard Brétéché a8e1ab0d73
chore: add unit tests (#522)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 01:25:56 +01:00
Charles-Edouard Brétéché f56301733d
chore: add unit tests (#521)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 00:44:40 +01:00
Charles-Edouard Brétéché 1edbe3b4ba
chore: typo in release notes (#520)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-28 00:09:32 +01:00
Charles-Edouard Brétéché c94d97e314
chore: update release notes for (#519)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 23:47:06 +01:00
Charles-Edouard Brétéché d621c00153
chore: add unit tests (#518)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 23:29:11 +01:00
Charles-Edouard Brétéché d9ec989b63
fix: termination graceful period (#517)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 23:17:01 +01:00
Charles-Edouard Brétéché e266cb1f32
feat: add force grace termination period support (#513)
* feat: add force grace termination period support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 22:17:45 +01:00
Charles-Edouard Brétéché 9043dcc05d
chore: add unit tests (#514)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 22:11:49 +01:00
Charles-Edouard Brétéché e600391e11
fix: remove pod workaround (#512)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 18:20:36 +01:00
Shubham Gupta 432d7d4e74
feat: Add report Part-2 (#448)
* reports

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* report

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* mark end

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* few-fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* few-more

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* report name

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add TimeStamp

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove changes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* modify timeStamp

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove endTime

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove usless field

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* move close

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix bug

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-27 15:39:58 +00:00
Charles-Edouard Brétéché 68d5bc075c
chore: add unit tests (#511)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 15:25:56 +01:00
Charles-Edouard Brétéché 898d3f0f06
chore: add unit tests (#510)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 13:55:25 +01:00
Charles-Edouard Brétéché 0182001585
chore: add unit tests (#509)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 11:38:15 +01:00
Charles-Edouard Brétéché 135704f6d6
chore: add unit tests (#508)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-27 10:59:06 +01:00
Charles-Edouard Brétéché 578bec7e26
chore: add expectations unit tests (#507)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-26 23:11:46 +01:00
Charles-Edouard Brétéché d9817fed3f
chore: add missing validation unit tests (#505)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-26 19:14:41 +01:00
Shubham Gupta d9037cd9c7
test: 100% Coverage pkg/discovery (#500)
* push

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* folders

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* push fake

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-26 10:47:10 +00:00
Charles-Edouard Brétéché 750643a858
fix: fail fast not working (#504)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-26 01:53:14 +01:00
Charles-Edouard Brétéché c581b40a65
feat: use bindings in checks (#502)
* feat: use bindings in checks

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* go mod

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-25 23:36:52 +01:00
Charles-Edouard Brétéché 283f027e4c
feat: improve checks in api (#497)
* feat: improve checks in api

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* matched check

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* match

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* no match case

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-25 22:16:00 +01:00
Shubham Gupta da09509d8f
section (#501)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-25 21:05:36 +00:00
Charles-Edouard Brétéché e4e3f91619
chore: add command and script log (#498)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-25 13:51:04 +01:00
Charles-Edouard Brétéché 5d0db86e35
feat: add check and matched check (#495)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-25 01:42:16 +01:00
Charles-Edouard Brétéché 0a381614ce
chore: add unit tests (#491)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-25 00:06:20 +01:00
Charles-Edouard Brétéché 1dd5415140
chore: add unit tests (#490)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 23:52:02 +01:00
Charles-Edouard Brétéché a3e6532a3c
feat: add timeout support to catch and finally (#489)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 23:33:11 +01:00
Shubham Gupta afaafd2c58
pkg/validation Part2 (#488)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-24 18:55:56 +00:00
Charles-Edouard Brétéché 29d77626e6
chore: add dry run client tests (#487)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 15:55:18 +01:00
Shubham Gupta 106e5270dd
feat: Test-Assert kuttl migration (#453)
* kuttl migration

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add example

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-24 15:18:49 +01:00
Charles-Edouard Brétéché e78541ac1e
fix: force lower case name in kuttl migrate (#486)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 14:39:01 +01:00
dependabot[bot] 203873a74a
chore(deps): Bump aquasecurity/trivy-action from 0.13.1 to 0.14.0 (#388)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](f78e9ecf42...2b6a709cf9)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 13:20:47 +00:00
Charles-Edouard Brétéché 637de08d2d
fix: codeql workflow (#484)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 14:17:07 +01:00
Shubham Gupta 5587a7e20d
test: Add Test pkg/validation (#482)
* file 1

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test files

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint-basic

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 13:08:56 +00:00
Charles-Edouard Brétéché da9d9de727
fix: error manifests discovery error (#483)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 13:43:33 +01:00
Charles-Edouard Brétéché 4ce7aeb4bd
fix: discovery of manifests in the wrong order (#481)
* fix: discovery of manifests in the wrong order

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 12:36:20 +01:00
Charles-Edouard Brétéché 2ec8aa06a1
fix: invalid name in kuttl migrate command (#480)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 12:17:54 +01:00
Charles-Edouard Brétéché dec8822600
fix: kuttl migration failure in case of unsupported name (#479)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 10:56:28 +01:00
Charles-Edouard Brétéché 38edcf222b
fix: add delay when creating pod/deployments (#478)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 10:06:37 +01:00
Charles-Edouard Brétéché 079c74b775
refactor: use pointer for assertion trees (#475)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 00:17:47 +01:00
Charles-Edouard Brétéché 62933b90d1
feat: complete programmatic validation (#473)
* feat: complete programmatic validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 23:21:05 +01:00
Charles-Edouard Brétéché 7fc159aecc
chore: rename docs workflows (#472)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 22:21:32 +01:00
Charles-Edouard Brétéché 7a33fb855a
chore: publishing docs doc (#471)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 22:17:36 +01:00
Charles-Edouard Brétéché e82880d653
feat: decouple publishing docs from cutting a release (#470)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 22:13:15 +01:00
Charles-Edouard Brétéché 5e0ab18af2
fix: check docs (#469)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 21:59:13 +01:00
Charles-Edouard Brétéché dcae42e282
chore: fix typo (#468)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 20:58:30 +01:00
Charles-Edouard Brétéché c08ae80bc4
release: v0.0.6 (#466)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 15:17:50 +01:00
Charles-Edouard Brétéché ea0e4e5de6
docs: update docs for v0.0.6 (#463)
* docs: update docs for v0.0.6

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* intro

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* version docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* version docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 15:06:31 +01:00
Shubham Gupta a1cb137785
fix changes (#464)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-23 13:55:33 +01:00
Shubham Gupta f5dae59d9d
docs: Add Docs (#462)
* add docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add example

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-23 09:41:14 +01:00
Charles-Edouard Brétéché ca649c0e36
feat: add programmatic validation (#460)
* feat: add programmatic validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* feat: add programmatic validation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 00:56:51 +01:00
Charles-Edouard Brétéché e1c5e5d0ce
chore: update release notes (#459)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-23 00:37:45 +01:00
Charles-Edouard Brétéché a809ff8c5b
fix: bump kyverno-json (#458)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-22 21:05:36 +01:00
Shubham Gupta c3d72f82c0
refactor : Migration (#456)
* simple migration refactor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* trim

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-22 18:04:42 +00:00
Charles-Edouard Brétéché f8cd497926
chore: bump kyverno-json (#457)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-22 14:55:13 +01:00
dependabot[bot] 96aeca5452
chore(deps): Bump anchore/sbom-action from 0.14.3 to 0.15.0 (#455)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.14.3 to 0.15.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](78fc58e266...fd74a6fb98)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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>
2023-11-21 14:00:35 +01:00
Charles-Edouard Brétéché 3e2026e461
chore: fix mike docs (#454)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-20 12:46:14 +01:00
Charles-Edouard Brétéché f218d9b453
fix: bump kyverno-json (#452)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-20 10:34:49 +01:00
Charles-Edouard Brétéché 621f67cd7c
chore: fix mike docs (#450)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-20 00:26:21 +01:00
Charles-Edouard Brétéché 6754185768
chore: fix mike docs (#447)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-19 13:58:00 +01:00
Charles-Edouard Brétéché 9af6a5eca4
chore: fix mike docs (#446)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-19 03:57:14 +01:00
Charles-Edouard Brétéché d4eecd907a
chore: fix mike docs (#445)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-19 03:54:04 +01:00
Charles-Edouard Brétéché e1cb9b4cee
chore: add mike docs support (#444)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-19 03:50:04 +01:00
Shubham Gupta 97cd55d5b3
refactor: Operations (#435)
* refactor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* appl y

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* clear create code

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add delete refactor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* defer logs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fixed

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* blank line

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* delete

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-19 00:53:14 +01:00
Charles-Edouard Brétéché a392a9aeb3
feat: add kuttl commands migration (#440)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-18 23:27:25 +01:00
Charles-Edouard Brétéché 704abd5ea8
fix: gh action regex (#439)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-18 21:29:31 +01:00
Charles-Edouard Brétéché 39b1671b2d
fix: script and command should set the cwd (#437)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 23:45:43 +01:00
Charles-Edouard Brétéché a87ceec321
fix: namespacer (#434)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 10:30:08 +01:00
Charles-Edouard Brétéché cc4c72497e
fix: cleanup timeout (#433)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 09:22:31 +01:00
Charles-Edouard Brétéché e31d1724a3
chore: more operations (#432)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 08:59:06 +01:00
Charles-Edouard Brétéché b6e5c5ce46
refactor: logger (#431)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 07:45:50 +01:00
Charles-Edouard Brétéché ca837367c2
refactor: operations (#430)
* refactor: operations

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* clean

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix catch

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-17 04:41:01 +01:00
Charles-Edouard Brétéché 7d38354190
refactor: processors (#429)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 23:47:59 +01:00
Charles-Edouard Brétéché cf861aafc2
refactor: namespacer (#428)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 23:14:46 +01:00
Charles-Edouard Brétéché 12542c5a7d
refactor: dry run client (#427)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 22:29:02 +01:00
Shubham Gupta a89c4ae153
add Report (#424)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 18:24:11 +00:00
Charles-Edouard Brétéché 03405c60cf
fix: cleanup (#425)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 19:13:08 +01:00
Charles-Edouard Brétéché 3969471386
feat: add checks in apply and create (#423)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 15:28:27 +01:00
Charles-Edouard Brétéché 585ef81a9b
feat: add check in operation (#418)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 03:40:56 -08:00
Shubham Gupta 51559809fd
refactor: Add Cleanup to Operation (#417)
* cleanup

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-16 11:54:23 +01:00
dependabot[bot] d169d5bab9
chore(deps): Bump k8s.io/client-go from 0.28.3 to 0.28.4 (#421)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.3 to 0.28.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2023-11-16 10:31:36 +00:00
dependabot[bot] ce7bb617c4
chore(deps): Bump k8s.io/api from 0.28.3 to 0.28.4 (#420)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.28.3 to 0.28.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2023-11-16 02:25:52 -08:00
Charles-Edouard Brétéché 02ccd7bae4
refactor: operations package (#415)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-15 07:01:23 -08:00
Shubham Gupta 190b339e7e
fix : client name to operation client (#414)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-15 05:53:02 -08:00
Shubham Gupta acf9948200
refactor: Operations (#412)
* operation interface

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* refactor

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* change filename

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix log name

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix err logs message

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Revert "fix err logs message"

This reverts commit c9cac8f23910d09f3fd1a2adf2bc9e333d3afb29.

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* small case

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove name

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-14 08:37:05 -08:00
Shubham Gupta 9eaf84315f
feat: Dry-run in Apply/Create (#410)
* dry-run

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* code-gen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix dry-run

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* code-gen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-13 09:30:41 -08:00
Charles-Edouard Brétéché 89cbc5094f
feat: add raw resource support (#409)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-11 23:07:10 -08:00
Shubham Gupta dcb60a1a93
have output (#406)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-11 02:38:46 +00:00
Shubham Gupta a9bcaea37f
typo (#405)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-10 17:00:17 -06:00
Charles-Edouard Brétéché 4a3f8308fd
chore: add a few unit tests (#404)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-09 23:12:10 -06:00
Charles-Edouard Brétéché af00211f1c
chore: drop commented code (#402)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-09 22:47:27 -06:00
Shubham Gupta d0b8f60c50
feat: Custom Test File name (#401)
* test-file

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test file name

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-10 04:24:26 +00:00
Charles-Edouard Brétéché 89362ea39a
chore: add a couple unit tests (#400)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-09 00:11:17 -06:00
Charles-Edouard Brétéché 6a79ace68e
chore: remove match package (#398)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 23:35:03 -06:00
Charles-Edouard Brétéché b4eafb229e
fix: sort assert error messages (#399)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 23:30:08 -06:00
Charles-Edouard Brétéché 657c4eb729
chore: add assertion trees docs (#395)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 17:52:59 -06:00
Charles-Edouard Brétéché 7ec11d3fa8
chore: update release notes (#394)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 17:30:43 -06:00
Charles-Edouard Brétéché b26d9fb0f6
chore: refactor operations docs (#393)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 17:17:34 -06:00
Francois Abel 7e9cd8bdec
Add a note to mention hard-coded test name (with sign-off) (#392)
Signed-off-by: Francois Abel <fab@zurich.ibm.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-08 22:57:31 +00:00
dependabot[bot] e769964ebd
chore(deps): Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#391)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](11086d2504...1fc5bd396d)

---
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>
2023-11-08 07:47:11 -06:00
Charles-Edouard Brétéché a2fdd187d9
feat: use assertion trees (#385)
* feat: use assertion trees

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-07 09:57:58 -06:00
dependabot[bot] 749ec2a227
chore(deps): Bump github.com/fatih/color from 1.15.0 to 1.16.0 (#381)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-06 23:27:03 -06:00
Shubham Gupta b5f8c855ab
test: Coverage pkg/runner/operations (#386)
* 100% Diff coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* 100%

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* 100%

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fail to patch

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fail to create non-exist resource

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* increase coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* increase cov

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* apply coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* cleanup

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* 100% create

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* create_test.go

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* delete_test.go

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* error_test.go

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* 100% error

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* check

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-06 18:13:14 -06:00
dependabot[bot] 2cbb59deee
chore(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#382)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-06 18:12:21 -06:00
dependabot[bot] 1fd20abb8f
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#383)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](fdc1a00995...b35f285b9b)

---
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: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-06 07:07:51 -06:00
dependabot[bot] 77abe04954
chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1 (#384)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...b4ffde65f46336ab88eb53be808477a3936bae11)

---
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>
2023-11-06 06:53:35 -06:00
Charles-Edouard Brétéché db4b1f3e89
release: v0.0.4 (#380)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 10:26:34 +01:00
Charles-Edouard Brétéché 26d957b689
chores: add gh action docs (#379)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 10:17:35 +01:00
Charles-Edouard Brétéché cc645672ed
chore: update release notes (#378)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 09:48:26 +01:00
Charles-Edouard Brétéché 995e7daf73
refactor: collectors and exec api (#374)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 08:39:28 +01:00
Charles-Edouard Brétéché bae45b7ed9
chore: refactor operations tests (#373)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 08:01:39 +01:00
Charles-Edouard Brétéché d5582ea62c
refactor: operation api (#372)
* refactor: operation api

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix linter

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-04 06:43:25 +01:00
Charles-Edouard Brétéché e1516a944a
refactor: single file ref in operation (#371)
* refactor: single file ref in operation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 23:43:21 +01:00
Charles-Edouard Brétéché 52c47404cd
refactor: client mocking (#370)
* refactor: client mocking

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* loader

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* internal

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* logger

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 22:57:40 +01:00
Shubham Gupta f24837da9c
test: 100% Coverage pkg/utils/fs (#369)
* commit

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 22:01:21 +01:00
Shubham Gupta dfbdefa702
test: 100% Coverage pkg/runner/names (#367)
* 100% Coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-03 21:50:03 +01:00
Charles-Edouard Brétéché d1d06b2635
fix: add more contextual logging (#368)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 21:49:46 +01:00
Shubham Gupta 93644e47db
100% Coverage (#366)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-03 20:08:40 +01:00
Shubham Gupta 02bf18ea85
100% COverAGE (#365)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 19:50:24 +01:00
Charles-Edouard Brétéché 66af0a57ad
fix: runner client (#364)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 17:38:46 +01:00
Charles-Edouard Brétéché 3f72ef85e0
feat: add new create operation (#363)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 17:05:14 +01:00
Charles-Edouard Brétéché 6d5ffbee63
chore: improve action workflow (#362)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 16:14:46 +01:00
Shubham Gupta f2f6693635
test: 100% Coverage pkg/config/ (#360)
* 100% coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* typo

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixed suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* clean

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 16:06:47 +01:00
Charles-Edouard Brétéché fd0f642bba
fix: expand command args (#361)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 15:59:59 +01:00
Charles-Edouard Brétéché 721e4393d6
feat: add github action (#359)
* feat: add github action

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 13:13:54 +01:00
Charles-Edouard Brétéché 34c7e1406c
feat: implement try/catch/finally (#358)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 12:27:39 +01:00
Charles-Edouard Brétéché 8387d5721d
feat: add released image provenance (#356)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 11:56:56 +01:00
Shubham Gupta c6c35f08cd
test : 100% coverage pkg/version (#354)
* 100% coverage

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-03 10:51:09 +00:00
Charles-Edouard Brétéché e4cbb3ae21
refactor: introduce runner/processors package (#353)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 11:14:52 +01:00
Charles-Edouard Brétéché 911ae44d1c
refactor: remove runner context (#352)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 10:31:36 +01:00
Charles-Edouard Brétéché dba0baaeb4
refactor: introduce operation runner (#351)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 10:22:03 +01:00
Charles-Edouard Brétéché fd35414d75
refactor: introduce step runner (#349)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 10:10:52 +01:00
Charles-Edouard Brétéché bb5b8b1878
refactor: introduce test runner (#347)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-03 00:04:58 +01:00
Charles-Edouard Brétéché 6c58d5a078
feat: switch to contextual testing (#346)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 23:33:30 +01:00
Charles-Edouard Brétéché bb678cce12
feat: switch to contextual logging (#345)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 23:03:18 +01:00
Charles-Edouard Brétéché 010145991d
refactor: inline test step spec (#343)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 22:21:38 +01:00
Charles-Edouard Brétéché de9d17faf2
refactor: introduce tests runner (#341)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 20:49:49 +01:00
Charles-Edouard Brétéché 1c5a5a5944
refactor: create runner/summary package (#340)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 20:24:29 +01:00
Charles-Edouard Brétéché 09aa66a443
fix: file name (#339)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 20:14:24 +01:00
Shubham Gupta 86f72d4c64
fix: Add operations field in the TestStep (#324)
* api-change

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* commit

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix test/load

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* load_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* discovery

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* command

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* load_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* test + codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* step.go

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* mark helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-11-02 19:53:41 +01:00
Charles-Edouard Brétéché 09c2bebfc5
refactor: create runner/names package (#333)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 19:10:20 +01:00
Charles-Edouard Brétéché 96057437bd
refactor: create runner/collect package (#332)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 18:42:02 +01:00
Charles-Edouard Brétéché 517e9d7386
refactor: create runner/cleanup package (#331)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 18:14:22 +01:00
Charles-Edouard Brétéché 31ecc7ea7d
refactor: introduce runner client (#330)
* refactor: introduce runner client

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* apply

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* assert and error

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* delete

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* exec

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 17:57:56 +01:00
Charles-Edouard Brétéché 87a9cc2ba7
refactor: runner timeout code (#329)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 14:42:00 +01:00
Charles-Edouard Brétéché 719624dd43
refactor: renamed flag to (#328)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 13:11:24 +01:00
Charles-Edouard Brétéché 638859d91e
refactor: create runner internal package (#326)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 12:26:29 +01:00
Charles-Edouard Brétéché e86eb0af74
chore: add runner flags unit tests (#327)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 12:07:43 +01:00
Charles-Edouard Brétéché 2180c30831
release: v0.0.3 (#325)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 11:27:24 +01:00
Charles-Edouard Brétéché e4037cbd61
chore: timeouts docs (#321)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 11:08:34 +01:00
dependabot[bot] d3a2d196d7
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#322)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 2.1.5 to 3.0.0.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](c481dd7047...fdc1a00995)

---
updated-dependencies:
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  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>
2023-11-02 10:42:52 +01:00
Charles-Edouard Brétéché 55005e110c
fix: install docs - compile from sources (#320)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 09:42:23 +01:00
Charles-Edouard Brétéché 1a26772c51
chore: improve logger tests (#317)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 03:12:26 +01:00
Charles-Edouard Brétéché 34c619b492
feat: add timeout support at operation level (#315)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 02:59:23 +01:00
Charles-Edouard Brétéché f879a7b257
chore: improve runner/logging tests (#314)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 02:38:11 +01:00
Charles-Edouard Brétéché 82a658ea80
chore: go mod tidy (#311)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 02:07:25 +01:00
Charles-Edouard Brétéché 38202bea0f
chore: add test command all flags test (#313)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 02:07:13 +01:00
Charles-Edouard Brétéché ed65fdc047
chore: improve command tests (#312)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 01:59:58 +01:00
Charles-Edouard Brétéché efb887ceda
chore: add kuttl migrate command tests (#310)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 01:42:36 +01:00
Charles-Edouard Brétéché 83212bd418
chore: improve version command tests (#309)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 01:35:41 +01:00
Charles-Edouard Brétéché 96e4e45c75
chore: add kuttl command tests (#308)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 01:06:31 +01:00
Charles-Edouard Brétéché cd68092661
chore: add docs command help (#307)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 00:59:13 +01:00
Charles-Edouard Brétéché 51523c5371
chore: add more client tests (#306)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-02 00:27:02 +01:00
Shubham Gupta 90d7306c54
test: runner/operations package (#304)
* diff

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* read Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix mock logger

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* patch fake

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* mock

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* apply_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* command output test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* mark helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* assert_test.go

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* delete_Test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* delete_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove space

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* error_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* exec_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* gofumt

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix exec_test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 22:30:01 +01:00
syedsadath-17 2118c53c92
documentation: new version timeouts (#305)
* documentation: new version timeouts

Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>

* documentation: undo blog posts and modify comments

Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>

* documentation: timeouts correction

Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>

---------

Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
2023-11-01 21:02:45 +00:00
Charles-Edouard Brétéché da9d387715
refactor: discovery package (#302)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 21:55:53 +01:00
syedsadath-17 6836cd635d
documentation: point to right github url (#303)
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
2023-11-01 14:04:09 +01:00
dependabot[bot] 26fe072958
chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions (#301)
Bumps [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](f32435541e...c481dd7047)

---
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>
2023-11-01 10:28:28 +01:00
Charles-Edouard Brétéché 1d95013c9a
fix: improve timeouts (#299)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 10:28:01 +01:00
Charles-Edouard Brétéché 0e65cfdd86
fix: exec collector not invoked (#298)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 01:07:32 +01:00
Charles-Edouard Brétéché ac2af29ebe
fix: tests (#296)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 01:01:42 +01:00
Charles-Edouard Brétéché 32e1784bd8
fix: unit tests (#295)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 01:01:29 +01:00
Charles-Edouard Brétéché b168e39a28
chore: add runner tests (#293)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-01 00:43:15 +01:00
Charles-Edouard Brétéché 278cf8083b
fix: timeouts api (#292)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 23:38:10 +01:00
Charles-Edouard Brétéché d65181ae01
chore: fix fake clock in logger tests (#289)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 23:24:10 +01:00
Charles-Edouard Brétéché a4a5b56520
chore: improve namespacer test (#288)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 23:17:29 +01:00
Charles-Edouard Brétéché 385524822d
chore: update release notes (#287)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 23:09:51 +01:00
Shubham Gupta 9f1ca21107
test: Add unit runner/namespacer package (#284)
* commit

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* move & fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* add helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove helper

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 22:54:10 +01:00
Charles-Edouard Brétéché 4e6e6ed3e0
chore: cleanup assets (#286)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 22:49:12 +01:00
Shubham Gupta f1dc2153cb
test : runner/logging package (#285)
* logger

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix log mock

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-31 22:33:36 +01:00
Charles-Edouard Brétéché 895862e8ed
feat: revisit timeouts (#281)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 20:50:51 +01:00
Jim Bugwadia e71ff6f749
add logo and banner (#282)
* add logo and banner

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update graphics

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update PPT

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

---------

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2023-10-31 20:26:00 +01:00
dependabot[bot] 1bcabc1200
chore(deps): Bump aquasecurity/trivy-action from 0.13.0 to 0.13.1 (#283)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](b77b85c025...f78e9ecf42)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2023-10-31 16:03:20 +01:00
Charles-Edouard Brétéché be9e1fdda8
chore: add runner unit tests (#280)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 00:25:09 +01:00
Charles-Edouard Brétéché 802bf259ae
chore: bump kyverno (#279)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-31 00:15:14 +01:00
Charles-Edouard Brétéché 6553999a40
chore: add timeout tests (#278)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 23:57:09 +01:00
Shubham Gupta 5af17a0e19
fs-flag (#266)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 23:24:08 +01:00
Charles-Edouard Brétéché f54f2deeae
chore: add runner client tests (#277)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 23:21:59 +01:00
Charles-Edouard Brétéché fbc81c62ed
refactor: reduce client interface scope (#276)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 22:13:03 +01:00
Shubham Gupta b8b970a841
bug: resouce nil not checked (#274)
* bug

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* change

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 21:54:38 +01:00
Charles-Edouard Brétéché 3745b52e3a
chore: use data driven test (#275)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 21:49:44 +01:00
Shubham Gupta 18fada8cd6
check parsed (#273)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-30 21:24:03 +01:00
Shubham Gupta efa5829c26
Client-test (#265)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-30 16:19:41 +00:00
Shubham Gupta 9683b8d82c
Add test (#267)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 15:50:00 +00:00
Shubham Gupta 08a274d0c4
Add test (#268)
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 16:40:27 +01:00
Charles-Edouard Brétéché 0a09b93122
test: add utils/rest unit tests (#264)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 16:37:25 +01:00
Charles-Edouard Brétéché cc4ef4044a
chore: fix typo in release notes (#263)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 13:29:47 +01:00
Charles-Edouard Brétéché 16ff56938d
fix: use slices package (#253)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 13:21:11 +01:00
Charles-Edouard Brétéché 1e01096576
release: v0.0.2 (#252)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 12:34:01 +01:00
Charles-Edouard Brétéché 914128f697
chore: docs nits (#251)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-30 12:26:02 +01:00
Charles-Edouard Brétéché 6590ccfef6
chore: reuse more from kyverno (#250)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-29 23:12:27 +01:00
Charles-Edouard Brétéché 474e9b1583
chore: add collector docs (#249)
* chore: add collector docs

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* events

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-29 19:51:15 +01:00
Charles-Edouard Brétéché 3e3d75c3de
fix: kuttl migration guide (#248)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-29 01:13:01 +02:00
Charles-Edouard Brétéché 3d4c7a1cac
chore: reuse kyverno file package (#247)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-28 18:15:02 +02:00
Shubham Gupta 69d3f4f3f1
docs: Update the Test Doc (#245)
* Add test

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-28 14:43:17 +00:00
Charles-Edouard Brétéché 1c7e03632b
fix: pad step name (#246)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-28 16:36:25 +02:00
Shubham Gupta 287a4c22f2
docs : Add kuttl-migrate docs (#244)
* kuttl-migrate docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* overwrite

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* remove link

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-28 13:25:44 +00:00
Shubham Gupta b7ed85ff5a
docs: v0.0.2 milestone (#242)
* docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fixes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix case

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix links

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-27 23:40:05 +00:00
Shubham Gupta dbfc772f9c
feat: Add how to Use docker image (#243)
* docker docs

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* change

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-27 18:07:17 +00:00
Charles-Edouard Brétéché ffa5508c1d
feat: add should fail support in apply (#241)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 16:14:31 +02:00
Charles-Edouard Brétéché 92c3a20f39
fix: force color (#240)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 15:28:52 +02:00
Charles-Edouard Brétéché 27d511643b
chore: release notes (#239)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 15:28:07 +02:00
Charles-Edouard Brétéché 2eaff824ee
fix: improve kuttl migrate command (#231)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 14:47:59 +02:00
Charles-Edouard Brétéché 0483dce330
chore: move main (#230)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 13:54:19 +02:00
Charles-Edouard Brétéché c0f1305244
chore: use ext/yaml package (#229)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 13:37:38 +02:00
Charles-Edouard Brétéché c7799210be
feat: add coloured output (#227)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 12:37:34 +02:00
dependabot[bot] db48b7ada1
chore(deps): Bump jlumbroso/free-disk-space from 1.3.0 to 1.3.1 (#226)
Bumps [jlumbroso/free-disk-space](https://github.com/jlumbroso/free-disk-space) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jlumbroso/free-disk-space/releases)
- [Commits](f68fdb76e2...54081f1387)

---
updated-dependencies:
- dependency-name: jlumbroso/free-disk-space
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 10:31:16 +00:00
Charles-Edouard Brétéché 3152914017
refactor: improve logger (#224)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 12:12:37 +02:00
Charles-Edouard Brétéché c58202dbe6
fix: remove callsite from logs (#223)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 09:36:03 +02:00
Charles-Edouard Brétéché e079f71b08
refactor: script and commands (#222)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 09:12:06 +02:00
Charles-Edouard Brétéché fb71bfae74
fix: command timeout cancel (#219)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 00:37:31 +02:00
Charles-Edouard Brétéché f17ec16bec
feat: add collectors support (#216)
* feat: add collectors support

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-27 00:01:38 +02:00
Shubham Gupta ea9d401f28
feat: support commands (#213)
* command

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* some fixes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix lint

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix suggestion

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* fix changes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* changes

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* codegen

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* simple err return

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* change comments

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* change comments

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-26 19:38:00 +00:00
Charles-Edouard Brétéché f5b098b960
fix: kuttl migration error (#214)
* fix: kuttl migration error

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 17:51:38 +02:00
Charles-Edouard Brétéché 4b6d289b72
feat: add command to migrate kuttl tests to chainsaw (#212)
* feat: add command to migrate kuttl tests to chainsaw

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* mend

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 17:24:44 +02:00
Charles-Edouard Brétéché 79619b0779
feat: allow overriding test namespace (#211)
* feat: allow overriding test namespace

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* release notes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 14:19:11 +02:00
Charles-Edouard Brétéché 10fc044b44
refactor: improve logger (#210)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 13:23:35 +02:00
Charles-Edouard Brétéché adb0d8bcb0
chore: move hack into .hack (#209)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 13:12:15 +02:00
Charles-Edouard Brétéché 6e9a36ccf5
chore: update release notes (#208)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 12:55:42 +02:00
Charles-Edouard Brétéché 087f2ac6b3
fix: improve cli docs (#207)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 12:37:36 +02:00
dependabot[bot] 9b1a85b2da
chore(deps): Bump aquasecurity/trivy-action from 0.12.0 to 0.13.0 (#205)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](fbd16365eb...b77b85c025)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  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>
2023-10-26 12:02:37 +02:00
Charles-Edouard Brétéché eeb55903ba
fix: ko (#206)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 11:58:58 +02:00
Charles-Edouard Brétéché d96356e5ad
chore: install ko (#204)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 11:03:38 +02:00
Charles-Edouard Brétéché 85dc4f14df
feat: add continue on error support (#203)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 11:00:40 +02:00
Charles-Edouard Brétéché ad4391b328
chore: add back kos in goreleaser config (#202)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 10:18:00 +02:00
Charles-Edouard Brétéché 1a9002ef98
fix: blog post (#201)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-26 09:33:49 +02:00
dependabot[bot] 7c6d20636e
chore(deps): Bump google.golang.org/grpc from 1.57.0 to 1.57.1 (#200)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-25 22:11:32 +00:00
Shubham Gupta 7754aeb308
docs : publish Blog (#199)
* publish blog

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* html image

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add metadata

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

* Add : author name

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
2023-10-26 00:04:48 +02:00
Charles-Edouard Brétéché 38d5cfa76a
refactor: logger (#197)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-25 16:11:57 +02:00
Charles-Edouard Brétéché 9ab7c350c7
feat: switch back to subtests (#196)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-25 15:33:30 +02:00
Charles-Edouard Brétéché d0acbad1e8
feat: support config of parallel tests (#195)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-10-25 14:06:00 +02:00
dependabot[bot] 2f17dd88e5
chore(deps): Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#192)
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases)
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
  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>
2023-10-25 12:39:38 +02:00
972 changed files with 113842 additions and 4808 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,127 +0,0 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
name: teststeps.chainsaw.kyverno.io
spec:
group: chainsaw.kyverno.io
names:
kind: TestStep
listKind: TestStepList
plural: teststeps
singular: teststep
scope: Cluster
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: TestStep is the resource that contains the testStep used to run
tests.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: TestStep spec.
properties:
apply:
description: Apply lists the resources that should be applied for
this test step. This can include things like configuration settings
or any other resources that need to be available during the test.
items:
description: Apply represents a set of configurations or resources
that should be applied during testing.
properties:
file:
description: File is the path to the referenced file.
type: string
required:
- file
type: object
type: array
assert:
description: Assert represents the assertions to be made for this
test step. It checks whether the conditions specified in each assertion
hold true.
items:
description: Assert represents a test condition that is expected
to hold true during the testing process.
properties:
file:
description: File is the path to the referenced file.
type: string
required:
- file
type: object
type: array
delete:
description: Delete provides a list of objects that should be deleted
before this test step is executed. This helps in ensuring that the
environment is set up correctly before the test step runs.
items:
description: Delete is a reference to an object that should be deleted
properties:
apiVersion:
description: API version of the referent.
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
labels:
additionalProperties:
type: string
description: Label selector to match objects to delete
type: object
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
required:
- apiVersion
- kind
type: object
type: array
error:
description: Error lists the expected errors for this test step. If
any of these errors occur, the test will consider them as expected;
otherwise, they will be treated as test failures.
items:
description: Error represents an anticipated error condition that
may arise during testing. Instead of treating such an error as
a test failure, it acknowledges it as expected.
properties:
file:
description: File is the path to the referenced file.
type: string
required:
- file
type: object
type: array
skipDelete:
description: SkipDelete determines whether the test should be deleted
after it has been run. determines whether the resource should be
deleted after the test step is executed.
type: boolean
timeout:
description: Timeout for the test step. Overrides the global timeout
set in the Configuration and the timeout eventually set in the Test.
type: string
type: object
required:
- spec
type: object
served: true
storage: true

View File

@ -1,10 +1,10 @@
# Release docs
This docs contains informations for releasing releasing.
This doc contains information for releasing a new version.
## Create a release
Creating a release can be done by pushing a tag to the GitHub repository (begining with `v`).
Creating a release can be done by pushing a tag to the GitHub repository (beginning with `v`).
The [release workflow](../../.github/workflows/release.yaml) will take care of creating the GitHub release and will publish artifacts.
@ -18,8 +18,32 @@ git push origin $TAG
## Release notes
Release notes for the `main` branch lives in [main.md](../../.release-notes/main.md).
Release notes for the `main` branch live in [main.md](../../.release-notes/main.md).
Make sure it is up to date and rename the file to the version being released.
You can then copy [_template.md](../../.release-notes/_template.md) to [main.md](../../.release-notes/main.md) for the next release.
## Publish documentation
Publishing the documentation for a release is decoupled from cutting a release.
To publish the documentation push a tag to the GitHub repository (beginning with `docs-v`).
```shell
VERSION="v0.1.0"
TAG=docs-$VERSION
git tag $TAG -m "tag $TAG" -a
git push origin $TAG
```
## Misc
- Add to the drop-down list in the bug template
## Publish GitHub action
Once the release is cut, bump the default version in the GH action [here](https://github.com/kyverno/action-install-chainsaw/blob/main/action.yml).
Publish a new version of the GitHub action.

107
.github/ISSUE_TEMPLATE/bug.yaml vendored Normal file
View File

@ -0,0 +1,107 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
name: "Bug Report"
description: Report a bug in the chainsaw.
title: "[Bug]"
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: Please tell us about the bug.
- type: dropdown
id: chainsaw-version
attributes:
label: chainsaw version Version
description: What version of chainsaw are you running?
options:
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Description
description: Describe what happened.
# placeholder: Tell us what you see!
# value: "asdf"
validations:
required: true
- type: textarea
id: bug-reproduce-steps
attributes:
label: Steps to reproduce
description: >-
What are the exact steps needed to reproduce the bug you experienced?
# placeholder: Tell us what you see!
value: |-
1.
validations:
required: true
- type: textarea
id: bug-expectations
attributes:
label: Expected behavior
description: What did you expect to happen?
# placeholder: Tell us what you see!
# value: "asdf"
validations:
required: true
- type: textarea
id: bug-screenshots
attributes:
label: Screenshots
description: >-
If you have any screenshots that would help, please paste them below.
GitHub allows you to copy-and-paste directly from the clipboard into the text area.
**Please avoid taking screenshots of either log or terminal output**; paste any textual output in the logs section below.
# placeholder: Tell us what you see!
# value: "asdf"
validations:
required: false
- type: textarea
id: logs
attributes:
label: Logs
description: >-
Please copy and paste any relevant log output.
render: Shell
- type: input
id: slack
attributes:
label: Slack discussion
description: >-
If this issue is the result of a discussion thread on Slack, please provide the link to the discussion for reference.
# placeholder: ex. email@example.com
validations:
required: false
- type: checkboxes
id: troubleshooting
attributes:
label: Troubleshooting
description: >-
By submitting this issue, you agree that you have performed some basic attempts at researching and solving your problem.
options:
- label: I have searched other issues in this repository and mine is not recorded.
required: true

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,14 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
blank_issues_enabled: true
contact_links:
- name: Chainsaw discussions
url: https://github.com/kyverno/chainsaw/discussions
about: Please ask and answer questions related to chainsaw here.
- name: Chainsaw documentation
url: https://kyverno.github.io/chainsaw
about: Browse chainsaw documentation here.
- name: Chainsaw slack channel
url: https://kubernetes.slack.com/archives/C067LUFL43U
about: Please ask and answer any chainsaw usage questions here.

View File

@ -0,0 +1,63 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
name: "Feature Request"
description: Suggest a new feature for chainsaw to support.
title: "[Feature] "
labels: ["enhancement", "triage"]
body:
- type: markdown
attributes:
value: |
Please explain the new feature.
- type: textarea
id: problem
attributes:
label: Problem Statement
description: Describe the problem.
placeholder: A clear and concise description of the problem statement.
# value: "asdf"
validations:
required: true
- type: textarea
id: solution
attributes:
label: Solution Description
description: Describe the solution you'd like.
placeholder: A clear and concise description of what you want to happen.
# value: "asdf"
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives
description: Describe alternatives you've considered.
placeholder: A clear and concise description of any alternative solutions or features you've considered.
# value: "asdf"
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Context
description: Any additional context to this enhancement request.
placeholder: Add any other context or screenshots about the feature request here.
# value: "asdf"
validations:
required: false
- type: input
id: slack
attributes:
label: Slack discussion
description: If this feature request is the result of a discussion thread on Slack, please provide the link to the discussion for reference.
# placeholder: ex. email@example.com
validations:
required: false
- type: checkboxes
id: research
attributes:
label: Research
description: By submitting this issue, you agree that you have performed some basic attempts at researching your problem and solution.
options:
- label: I have searched other issues in this repository and mine is not recorded.
required: true

View File

@ -0,0 +1,58 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
name: General Question
description: Ask a question or need support
title: '[Question] '
labels:
- question
body:
- type: markdown
attributes:
value: Please answer these questions before submitting your issue. Thanks!
- type: textarea
id: describe-your-question
attributes:
label: Describe your question
description: Provide details about your question or the support needed.
placeholder: Type your question here...
validations:
required: true
- type: dropdown
id: chainsaw-version
attributes:
label: chainsaw version Version
description: What version of chainsaw are you running?
options:
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the question here.
placeholder: Additional details...
validations:
required: false

48
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,48 @@
## Explanation
<!--
In a couple sentences, explain why this PR is needed and what it addresses. This should be an explanation a non-developer user can understand and covers the "why" question. It should also clearly indicate whether this PR represents an addition, a change, or a fix of existing behavior. This explanation will be used to assist in the release note drafting process.
THIS IS MANDATORY.
-->
## Related issue
<!--
Please link the GitHub issue this pull request resolves in the format of `Fixes #1234`. If you discussed this change
with a maintainer, please mention her/him using the `@` syntax (e.g. `@eddycharly`).
If this change neither resolves an existing issue nor has sign-off from one of the maintainers, there is a
chance substantial changes will be requested or that the changes will be rejected.
You can discuss changes with maintainers in the [kyverno-chainsaw Slack Channel](https://kubernetes.slack.com/).
-->
## Proposed Changes
<!--
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
**nNOTE***: If this PR results in new or altered behavior which is user facing, you **MUST** read and follow the steps outlined in the [PR documentation guide](pr_documentation.md) and add Proof Manifests as defined below.
-->
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
-->
- [ ] I have read the [contributing guidelines](https://github.com/kyverno/kyverno/blob/main/CONTRIBUTING.md).
- [ ] I have read the [PR documentation guide](https://github.com/kyverno/kyverno/blob/main/.github/pr_documentation.md) and followed the process including adding proof manifests to this PR.
- [ ] This is a bug fix and I have added unit tests that prove my fix is effective.
## Further Comments
<!--
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution
you did and what alternatives you considered, etc...
-->

2
.github/cherry-pick-bot.yml vendored Normal file
View File

@ -0,0 +1,2 @@
enabled: true
preservePullRequestTitle: true

View File

@ -1,12 +1,12 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
directories:
- /
- /hack/controller-gen/
schedule:
interval: daily
rebase-strategy: disabled
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
rebase-strategy: disabled

View File

@ -7,20 +7,25 @@ permissions: {}
on:
pull_request:
branches:
- 'main'
- main
- release-*
push:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
required:
check-actions:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@f32435541e24cd6a4700a7f52bb2ec59e80603b1 # v2.1.4
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@fc87bb5b5a97953d987372e74478de634726b3e5 # v3.0.25
with:
# slsa-github-generator requires using a semver tag for reusable workflows.
# See: https://github.com/slsa-framework/slsa-github-generator#referencing-slsa-builders-and-generators

40
.github/workflows/check-milestone.yaml vendored Normal file
View File

@ -0,0 +1,40 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Check milestone
permissions: {}
on:
pull_request:
branches:
- main
- release-*
types:
- opened
- demilestoned
- milestoned
- edited
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-milestone:
runs-on: ubuntu-latest
steps:
- name: Check milestone
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const { data } = await github.request("GET /repos/{owner}/{repo}/pulls/{pr}", {
owner: context.repo.owner,
repo: context.repo.repo,
pr: context.payload.pull_request.number
});
if (data.milestone) {
core.info(`This pull request has a milestone set: ${data.milestone.title}`);
} else {
core.setFailed(`A milestone need to be set on this pull request.`);
}

View File

@ -7,19 +7,25 @@ permissions: {}
on:
pull_request:
branches:
- 'main'
- main
- release-*
push:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
required:
codegen-verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum

View File

@ -2,31 +2,34 @@
name: CodeQL
permissions:
security-events: write
permissions: {}
on:
pull_request:
branches:
- main
- release-*
push:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
required:
scan-trivy:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # v0.32.0
with:
scan-type: fs
ignore-unfixed: false
@ -34,10 +37,12 @@ jobs:
output: trivy-results.sarif
severity: CRITICAL,HIGH,MEDIUM
scanners: vuln,secret
exit-code: '1'
exit-code: '0'
vuln-type: os,library
env:
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
with:
sarif_file: trivy-results.sarif
category: code
category: code

View File

@ -1,26 +1,28 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Deploy
name: Dev docs
permissions:
contents: write
permissions: {}
on:
push:
branches:
- 'main'
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
docs-main:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
@ -31,4 +33,7 @@ jobs:
- name: Deploy site
run: |
set -e
mkdocs gh-deploy -f ./website/mkdocs.yaml --force
git fetch origin gh-pages --depth=1
git config user.name ci-bot
git config user.email ci-bot@example.com
mike deploy -F ./website/mkdocs.yaml --push --update-aliases main dev

45
.github/workflows/docs-release.yaml vendored Normal file
View File

@ -0,0 +1,45 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release docs
permissions: {}
on:
push:
tags:
- docs-v*
jobs:
docs-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Parse semver string
id: semver
uses: booxmedialtd/ws-action-parse-semver@7784200024d6b3fc01253e617ec0168daf603de3 # v1.4.7
with:
input_string: ${{ github.ref_name }}
version_extractor_regex: '^docs-v(.*)$'
- name: Checkout
if: ${{ steps.semver.outputs.prerelease == '' }}
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
if: ${{ steps.semver.outputs.prerelease == '' }}
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Build site
if: ${{ steps.semver.outputs.prerelease == '' }}
run: |
set -e
make codegen-mkdocs
- name: Deploy site
if: ${{ steps.semver.outputs.prerelease == '' }}
run: |
set -e
git fetch origin gh-pages --depth=1
git config user.name ci-bot
git config user.email ci-bot@example.com
mike deploy -F ./website/mkdocs.yaml --push --update-aliases ${{ steps.semver.outputs.fullversion }} latest

View File

@ -7,23 +7,29 @@ permissions: {}
on:
pull_request:
branches:
- 'main'
- main
- release-*
push:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
required:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
skip-cache: true

103
.github/workflows/pr-semantics.yaml vendored Normal file
View File

@ -0,0 +1,103 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# feat: (new feature for the user, not a new feature for build script)
# fix: (bug fix for the user, not a fix to a build script)
# build: (changes that affect the build system or external dependencies)
# chore: (updating grunt tasks etc; no production code change)
# ci: (updates to CI configuration files and scripts; no production code change)
# docs: (changes to the documentation)
# perf: (a code change that improves performance)
# refactor: (refactoring production code, eg. renaming a variable)
# style: (formatting, missing semi colons, etc; no production code change)
# test: (adding missing tests, refactoring tests; no production code change)
# revert: (reverting a previous commit)
# release: (release a new version of the project)
# Example:
# test(runner): Add test for the runner
# ^ ^ ^
# | | |__ Subject
# | |_______ Scope
# |____________ Type
name: Semantic pull request
permissions: {}
on:
pull_request:
branches:
- main
- release-*
types:
- opened
- reopened
- labeled
- unlabeled
- edited
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-semantic-pr:
runs-on: ubuntu-latest
steps:
- name: Validate Pull Request
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed.
# Default: https://github.com/commitizen/conventional-commit-types
types: |
feat
fix
build
chore
ci
docs
perf
refactor
revert
style
test
revert
release
# Configure which scopes are allowed.
scopes: |
api
client
commands
config
data
deps
discovery
internal
report
resource
runner
operations
processors
test
utils
validation
version
docs
release
testdata
ignoreLabels: |
bot
ignore-semantic-pull-request
# Configure that a scope must always be provided.
requireScope: false
# When using "Squash and merge" on a PR with only one commit, GitHub
# will suggest using that commit message instead of the PR title for the
# merge commit, and it's easy to commit this by mistake. Enable this option
# to also validate the commit message for one commit PRs.
validateSingleCommit: true
# Related to `validateSingleCommit` you can opt-in to validate that the PR
# title matches a single commit to avoid confusion.
validateSingleCommitMatchesPrTitle: true

View File

@ -7,7 +7,7 @@ permissions: {}
on:
push:
tags:
- 'v*'
- v*
jobs:
goreleaser:
@ -15,12 +15,15 @@ jobs:
contents: write
id-token: write
packages: write
pull-requests: write
outputs:
hashes: ${{ steps.hash.outputs.hashes }}
image: ${{ steps.digest.outputs.image }}
digest: ${{ steps.digest.outputs.digest }}
runs-on: ubuntu-latest
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8 # v1.3.0
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
tool-cache: true
android: true
@ -30,25 +33,27 @@ jobs:
docker-images: true
swap-storage: false
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Fetch all tags
run: |
set -e
git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Install Cosign
uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2
uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
- name: Install Syft
uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.3
uses: anchore/sbom-action/download-syft@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0.20.4
- name: Install Ko
uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
- name: Run GoReleaser
id: goreleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
with:
distribution: goreleaser
version: latest
@ -56,14 +61,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts.json
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # 2.7.0
uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # 2.11.2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/artifacts.json
asset_name: artifacts.json
tag: ${{ github.ref }}
- name: Upload metadata.json
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # 2.7.0
uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # 2.11.2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/metadata.json
@ -78,6 +83,17 @@ jobs:
checksum_file=$(echo "$ARTIFACTS" | jq -r '.[] | select (.type=="Checksum") | .path')
hashes=$(cat $checksum_file | base64 -w0)
echo "hashes=$hashes" >> $GITHUB_OUTPUT
- name: Image digest
id: digest
env:
ARTIFACTS: "${{ steps.goreleaser.outputs.artifacts }}"
run: |
set -euo pipefail
image_and_digest=$(echo "$ARTIFACTS" | jq -r '.[] | select (.type=="Docker Manifest") | .path')
image=$(echo "${image_and_digest}" | cut -d'@' -f1 | cut -d':' -f1)
digest=$(echo "${image_and_digest}" | cut -d'@' -f2)
echo "image=$image" >> "$GITHUB_OUTPUT"
echo "digest=$digest" >> "$GITHUB_OUTPUT"
provenance:
needs:
@ -86,7 +102,22 @@ jobs:
actions: read
id-token: write
contents: write
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9.0
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
with:
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
upload-assets: true
image-provenance:
needs:
- goreleaser
permissions:
actions: read
id-token: write
packages: write
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1.0
with:
image: ${{ needs.goreleaser.outputs.image }}
digest: ${{ needs.goreleaser.outputs.digest }}
registry-username: ${{ github.actor }}
secrets:
registry-password: ${{ secrets.GITHUB_TOKEN }}

View File

@ -5,34 +5,115 @@ name: Tests
permissions: {}
on:
push:
branches:
- main
pull_request:
branches:
- 'main'
- main
- release-*
push:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
required:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Create test cluster
run: make kind-cluster
- name: Run tests
run: make tests
- name: Upload Report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: ./coverage.out
fail_ci_if_error: true
verbose: true
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Create test cluster
run: |
set -e
make kind-cluster
- name: Run tests
run: |
set -e
make tests
- name: Upload coverage
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: coverage.out
path: coverage.out
retention-days: 1
if-no-files-found: error
upload-to-codecov:
needs:
- unit-tests
runs-on: ubuntu-latest
steps:
- name: Download coverage
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: coverage.out
- name: Upload Report to Codecov
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./coverage.out
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Create test cluster
run: |
set -e
make kind-cluster
- name: Run tests
run: |
set -e
make e2e-tests
e2e-tests-no-cluster:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run tests
run: |
set -e
make e2e-tests-no-cluster
e2e-test-ko:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Install ko
uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d #v0.9
- name: Create test cluster
run: |
set -e
make kind-cluster
- name: Run tests
run: |
set -e
make e2e-tests-ko

9
.gitignore vendored
View File

@ -1,5 +1,10 @@
.gopath
.tools
.cache/
.gopath/
.temp/
.tools/
.venv/
chainsaw
coverage.out
website/site
pkg/runner/chainsaw.xml
pkg/runner/.json

View File

@ -1,3 +1,4 @@
version: "2"
linters:
enable:
- asasalint
@ -5,41 +6,49 @@ linters:
- bidichk
- bodyclose
- containedctx
- copyloopvar
- decorder
- dogsled
- durationcheck
- errcheck
- errname
- exportloopref
- gci
- gochecknoinits
- gofmt
- gofumpt
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
- grouper
- importas
- ineffassign
- makezero
- misspell
- noctx
- nolintlint
- nosprintfhostport
# - paralleltest
- staticcheck
- tenv
- thelper
- tparallel
- typecheck
- unconvert
- unused
- usetesting
- wastedassign
- whitespace
run:
timeout: 15m
skip-files:
- ".+\\.generated.go"
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- .+\.generated.go
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
- gofmt
- gofumpt
- goimports
exclusions:
generated: lax
paths:
- .+\.generated.go
- third_party$
- builtin$
- examples$

View File

@ -1,3 +1,5 @@
version: 2
before:
hooks:
- go mod tidy
@ -11,23 +13,50 @@ builds:
- windows
- darwin
binary: chainsaw
main: cmd/main.go
flags:
- -trimpath
ldflags:
- -s -w -X github.com/kyverno/chainsaw/pkg/version.BuildVersion={{ .Version }}
- id: s390x
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- s390x
binary: chainsaw
flags:
- -trimpath
ldflags:
- -s -w -X github.com/kyverno/chainsaw/pkg/version.BuildVersion={{ .Version }}
- id: ppc64le
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- ppc64le
binary: chainsaw
flags:
- -trimpath
ldflags:
- -s -w -X github.com/kyverno/chainsaw/pkg/version.BuildVersion={{ .Version }}
# kos:
# - build: chainsaw
# repository: ghcr.io/kyverno/chainsaw
# tags:
# - '{{.Tag}}'
# - '{{ if not .Prerelease }}latest{{ end }}'
# bare: true
# preserve_import_paths: false
# sbom: none
# platforms:
# - all
kos:
- build: chainsaw
base_image: cgr.dev/chainguard/kubectl:latest-dev
repository: ghcr.io/kyverno/chainsaw
tags:
- '{{.Tag}}'
- '{{ if not .Prerelease }}latest{{ end }}'
bare: true
preserve_import_paths: false
sbom: none
platforms:
- all
labels:
org.opencontainers.image.source: https://github.com/kyverno/chainsaw
org.opencontainers.image.description: Chainsaw - declarative K8s e2e testing
signs:
- cmd: cosign
@ -41,14 +70,28 @@ signs:
artifacts: all
output: true
# docker_signs:
# - cmd: cosign
# artifacts: all
# output: true
# args:
# - sign
# - ${artifact}
# - --yes
docker_signs:
- cmd: cosign
artifacts: all
output: true
args:
- sign
- ${artifact}
- --yes
brews:
- homepage: https://kyverno.github.io/chainsaw
description: Declarative Kubernetes end-to-end testing.
repository:
owner: kyverno
name: chainsaw
branch: brew-{{.Version}}
pull_request:
enabled: true
base:
owner: kyverno
name: chainsaw
branch: main
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
@ -65,7 +108,7 @@ sboms:
artifacts: source
snapshot:
name_template: '{{ incpatch .Version }}-next'
version_template: '{{ incpatch .Version }}-next'
release:
prerelease: auto

1
.ko.yaml Normal file
View File

@ -0,0 +1 @@
defaultBaseImage: cgr.dev/chainguard/kubectl:latest-dev

View File

@ -3,15 +3,19 @@
Release notes for `TODO`.
<!--
## :dizzy: New features :dizzy:
## ‼️ Breaking changes ‼️
## :sparkles: UI changes :sparkles:
## 💫 New features 💫
## :star: Examples :star:
## ✨ UI changes ✨
## :boat: Tutorials :boat:
## ⭐ Examples ⭐
## :wrench: Fixes :wrench:
## ⛵ Tutorials ⛵
## :guitar: Misc :guitar:
## 🔧 Fixes 🔧
## 📚 Docs 📚
## 🎸 Misc 🎸
-->

View File

@ -3,15 +3,23 @@
Release notes for `TODO`.
<!--
## :dizzy: New features :dizzy:
## ‼️ Breaking changes ‼️
## :sparkles: UI changes :sparkles:
## 💫 New features 💫
## :star: Examples :star:
## ✨ UI changes ✨
## :boat: Tutorials :boat:
## ⭐ Examples ⭐
## :wrench: Fixes :wrench:
## ⛵ Tutorials ⛵
## :guitar: Misc :guitar:
## 🔧 Fixes 🔧
## 📚 Docs 📚
## 🎸 Misc 🎸
-->
## 💫 New features 💫
- Continue tests when an error happens when computing the test name

View File

@ -2,7 +2,7 @@
Release notes for `v0.0.1`.
## :dizzy: New features :dizzy:
## 💫 New features 💫
- Initial MVP release with support for `Apply`, `Delete`, `Assert` and `Error` operations
- Supports configuration from both config file and command line flags

28
.release-notes/v0.0.2.md Normal file
View File

@ -0,0 +1,28 @@
# Release notes
Release notes for `v0.0.2`.
## 💫 New features 💫
- Added `Command` and `Script` operations
- Added support to continue on error in `Delete`, `Apply`, `Assert`, `Error`, `Command` and `Script` operations
- Added support to specify if a test should run concurrently or not at the `Test` level
- Added support for overriding the namespace used at the `Test` level
- Added `Event` and `Pod` logs collectors support
- Added `chainsaw kuttl migrate` command to migrate KUTTL tests to chainsaw
- Added support for `Apply` operations to fail (when applying a resource is expected to return an error)
- Docker image is now released under `ghcr.io/kyverno/chainsaw`
## ✨ UI changes ✨
- Improved logging of running tests
- Added coloured logs
- Made `Parallel` in `Configuration` optional (delegates default to the testing package)
## 📚 Docs 📚
- Improved CLI docs
## 🎸 Misc 🎸
- Switched to subtests for better summary report from the `testing` package

17
.release-notes/v0.0.3.md Normal file
View File

@ -0,0 +1,17 @@
# Release notes
Release notes for `v0.0.3`.
## 💫 New features 💫
- We now have a [logo](https://github.com/kyverno/chainsaw/blob/main/.assets/kyverno-chainsaw-horizontal.png) :tada:
- Timeouts are now managed per operation rather than per step
- Added timeout support at the operation level
## 🔧 Fixes 🔧
- Fixed `Exec` collectors not invoked
## 🎸 Misc 🎸
- Improved error messages in a couple of places

24
.release-notes/v0.0.4.md Normal file
View File

@ -0,0 +1,24 @@
# Release notes
Release notes for `v0.0.4`.
## ‼️ Breaking changes ‼️
- Renamed flag `stop-on-first-failure` to `fail-fast`
- Lots of API changes to allow more flexibility while making the syntax simpler
- Commands accepting a file now expect a single file, list of files are not supported anymore
## 💫 New features 💫
- Added provenance for released images
- Added a GitHub action to install Chainsaw
- Added a new `Create` operation
- Steps changed to follow a Try / Catch / Finally model
## 🔧 Fixes 🔧
- Fixed a bug where environment variables were not expanded correctly in command arguments
## 🎸 Misc 🎸
- Switched to contextual logging

7
.release-notes/v0.0.5.md Normal file
View File

@ -0,0 +1,7 @@
# Release notes
Release notes for `v0.0.5`.
## 💫 New features 💫
- Support new assertion tree model :tada:

32
.release-notes/v0.0.6.md Normal file
View File

@ -0,0 +1,32 @@
# Release notes
Release notes for `v0.0.6`.
## ‼️ Breaking changes ‼️
- Replaced `shouldFail` field in `create` and `apply` operations by assertion trees to validate outputs and error
## 💫 New features 💫
- Added assertion tree support in `command` and `script` operations to validate command outputs (stdout and stderr) and error
- Added support for `dryRun` in `create` and `apply` operations
- Added `--test-file` flag to use a custom test file name
- Added raw resource support in `Test` and `TestStep`s to provide a resource directly instead of referencing a file
- Improved logs, added a `STATUS` column and operation details are now shown in sections
- Added programmatic validation in `Test` and `TestStep` resources
## 🔧 Fixes 🔧
- Sort error messages to get predictable output
- Current working directory not set in `command` and `script` operations
- Fixed a few assertion tree bugs in [kyverno-json](https://github.com/kyverno/kyverno-json)
- Fixed an invalid regex check in GitHub action
- Fixed cases where cleanup timeout was not used correctly
## 📚 Docs 📚
- Added multi version docs support
## 🎸 Misc 🎸
- Added `command` and `script` operations support to KUTTL migration command

35
.release-notes/v0.0.7.md Normal file
View File

@ -0,0 +1,35 @@
# Release notes
Release notes for `v0.0.7`.
## ‼️ Breaking changes ‼️
- Object reference in `delete` is now under the `ref` field
- Check in `apply` and `create` operations was renamed to `expect` and is now an array of `Expectation`s (a combination of a match and a check)
- Additional data passed to `check`s are now done using bindings (`$error`, `$stdout`, `$stderr`, etc...)
## 💫 New features 💫
- Added timeout support in `try` and `catch` handlers
- Added assertion tree check in `delete` operation
- Added a new configuration option to force termination graceful period on `Pod`, `Deployment`, `StatefulSet`, `DaemonSet`, `Job` and `CronJob`
- Added reports support
- Completed kuttl migration command with `TestAssert` support
## 🔧 Fixes 🔧
- Fixed a kuttl migration failure in case of unsupported file name
- Fixed a potential invalid name when migrating a kuttl test step
- Fixed `check` set to `null` in kuttl migration command
- Fixed a manifest discovery issue where manifests could be loaded in the wrong order
- Fixed a manifest discovery issue where error manifests where not discovered correctly
- Fixed controller-runtime logger not initialised
- Fixed `command` and `script` bug not receiving the right error in `$error` check
## 📚 Docs 📚
- Added missing descriptions on API reference docs
## 🎸 Misc 🎸
- Added command line log in `command` and `script` operations

34
.release-notes/v0.0.8.md Normal file
View File

@ -0,0 +1,34 @@
# Release notes
Release notes for `v0.0.8`.
## ‼️ Breaking changes ‼️
- Changed `check` to `expect` in delete `operation`
- Kuttl migration command split into `chainsaw kuttl migrate tests` and `chainsaw kuttl migrate config`
- `timeout` was moved inside operations that support a timeout (all operations but sleep)
## 💫 New features 💫
- Added support to register Chainsaw specific JMESPath functions for use in assertion trees
- Added inline manifest support to `assert` and `error` operations
- Added a `description` field to `Test`, `TestStep`, `Operation`, `Catch` and `Finally`
- Added a command to generate tests documentation
- Added `sleep` operation support in `try`, `catch` and `finally`
- Added support to reference remote files
## 🔧 Fixes 🔧
- Don't show `command` or `script` logs if there's nothing to show
- Fixed `timeouts` always set when migrating kuttl tests
## 📚 Docs 📚
- Added community docs page
- Added supported JMESPath functions docs
- Fixed inconsistencies in GitHub action install docs
- The `Writing tests` docs section were rewritten for more clarity
## 🎸 Misc 🎸
- We now have a [dedicated slack channel](https://kubernetes.slack.com/archives/C067LUFL43U)

39
.release-notes/v0.0.9.md Normal file
View File

@ -0,0 +1,39 @@
# Release notes
Release notes for `v0.0.9`.
## ‼️ Breaking changes ‼️
- Renamed `chainsaw kuttl migrate config` command to `chainsaw migrate kuttl config`
- Renamed `chainsaw kuttl migrate tests` command to `chainsaw migrate kuttl tests`
- Removed `testDirs` from `Configuration` spec, it is only supported in flags now
- Removed `TestStep` based tests support, keeping only `Test` based or raw manifests
## 💫 New features 💫
- Added a cleanup delay option to add a delay between the time a test ends and the time cleanup starts
- Added support for overriding termination grace period on a per test basis
- Default test dirs to `.` when flag not specified
- Added `chainsaw migrate tests` command to migrate `TestStep` based tests to `Test` based
- Generate json schemas to support validation and autocomplete in IDEs
## 🔧 Fixes 🔧
- Fixed `command` and `script` log output when multiple sections are present
- Fixed delete timeout used instead of cleanup timeout
- Return an error if a test dir is not accessible
## ✨ UI changes ✨
- Use `@setup` and `@cleanup` in the logs to indicate setup/cleanup steps
- Made resource in log messages easier to read
## 📚 Docs 📚
- Improved the *Writing tests/Configuration* docs
- Improved the *Writing tests/Tests* docs
- Added *Writing tests/JSON schemas* docs to use generated JSON schemas for validation and autocomplete in VS code
## 🎸 Misc 🎸
- [Nirmata Office Hours for Kyverno- Episode 9- Demonstrate Kyverno Chainsaw](https://www.youtube.com/watch?v=IrIteTTjlbU)

24
.release-notes/v0.1.0.md Normal file
View File

@ -0,0 +1,24 @@
# Release notes
Release notes for `v0.1.0`.
## 💫 New features 💫
- Chainsaw is now available via brew
- Added support for defining multiple tests in the same test file
## 🔧 Fixes 🔧
- Fixed an incorrect error message when loading a resource failed
## ✨ UI changes ✨
- Show Chainsaw version in `chainsaw test` command output
## 📚 Docs 📚
- Added docs about parallel execution of Tests
## 🎸 Misc 🎸
- Added an ADOPTERS.md file to the repository

29
.release-notes/v0.1.1.md Normal file
View File

@ -0,0 +1,29 @@
# Release notes
Release notes for `v0.1.1`.
## ‼️ Breaking changes ‼️
- GitHub action was moved to a dedicated repository https://github.com/kyverno/action-install-chainsaw
- Renamed `chainsaw generate` commands to `chainsaw build`
## 💫 New features 💫
- Added `--readme-file` flag to `chainsaw generate docs` command to customize the name of the generated file
- Added `--catalog` flag to `chainsaw generate docs` command to generate a test catalog
- Added `chainsaw assert` command to evaluate an assertion against a cluster
- Added `chainsaw export schemas` command to copy JSON schemas on disc
- Added `chainsaw create test` command to bootstrap test file
- Added support for labels selector (`--selector` flag) to filter tests to run
## 🔧 Fixes 🔧
- Fixed an invalid error check in `chainsaw docs` command
- Fixed skip delete not applied to test namespace
- Fixed crash due to bindings being null
## 📚 Docs 📚
- Added a _Getting Started/Resources_ docs page
- Grouped all reference documents into _Writing Tests/Reference Documentation_
- Moved _More resources_ documentation into _Writing Tests/Other Resources_

25
.release-notes/v0.1.2.md Normal file
View File

@ -0,0 +1,25 @@
# Release notes
Release notes for `v0.1.2`.
## 💫 New features 💫
- Added `chainsaw lint` command to lint tests
- Added non-resource assertions support
- Added experimental JMESPath functions prefix (`x_`)
- Added JMESPath function to interact with the cluster under test
## 🔧 Fixes 🔧
- Retry not working properly in `create` and `apply` operations
## 📚 Docs 📚
- Added _Examples_ docs section
- Added community meeting docs
## 🎸 Misc 🎸
- Added pull request template
- Added issue templates
- GitHub action was removed from the main chainsaw repository

28
.release-notes/v0.1.3.md Normal file
View File

@ -0,0 +1,28 @@
# Release notes
Release notes for `v0.1.3`.
## 💫 New features 💫
- Added support for running chainsaw without a Kubernetes cluster
- Automatically add JSON schemas when converting tests from KUTTL to Chainsaw
- Added support for glob patterns in operation `file`
- Added support for passing arbitrary values when invoking `chainsaw test`
## 🔧 Fixes 🔧
- Fixed a couple of KUTTL to chainsaw migration bugs
- Fixed a bug where chainsaw doesn't throw an error when a wrong path is provided
## 📚 Docs 📚
- Added community meeting docs
- Added Google Group in community docs and README
- Removed all references to `TestStep` in the docs as this is not supported anymore
## 🎸 Misc 🎸
- Added Kubebuilder community recording link where chainsaw was presented
- Added a `MAINTAINERS.md` file
- Added CI job to check PR semantics
- Added CI job to check test catalog

33
.release-notes/v0.1.4.md Normal file
View File

@ -0,0 +1,33 @@
# Release notes
Release notes for `v0.1.4`.
## 💫 New features 💫
- Allowed passing test folders by args (`chainsaw test ./folder` instead of `chainsaw test --test-dir ./folder`)
- Added diff output in `assert` when an assertion fails
- Added new binding `$namespace` containing the test namespace name
- Added new `describe` collector to invoke `kubectl describe ...`
- Added `namespaceTemplate` support in configuration and test to allow customizing the test namespace before creation
- Added `template` support in configuration, test, step and operations to enable resource template processing
- Improved KUTTL tests migration files rewrite logic, keeping the same file names
- Added `--template` flag to enable/disable resource templating support from the command line
## 🔧 Fixes 🔧
- Fixed scripts and collectors not working in docker container
- Fixed an issue with `List` objects not loaded correctly
- Fixed an issue when running `chainsaw migrate kuttl tests` twice on the same folder
- Fixed an issue with `chainsaw migrate kuttl tests` potentially incorrect when a `TestStep` is present
- Fixed an incorrect `Expectation` API docs
- Fixed an incorrect `FileOrCheck` API docs
## 📚 Docs 📚
- Improved API docs for types coming from Kyverno-JSON
## 🎸 Misc 🎸
- Added an issue template for general question
- Added issue templates config with blank issues and various links
- Added makefile target to build a docker image locally with [ko](https://ko.build/)

35
.release-notes/v0.1.5.md Normal file
View File

@ -0,0 +1,35 @@
# Release notes
Release notes for `v0.1.5`.
## 💫 New features 💫
- Added multi-cluster support
- Added a new `get` collector
- Added a new `patch` operation
- Added support for `delete` operation in `catch` and `finally` blocks
- Added format support (`json` or `yaml`) in `get` and `events` collectors
- Added support for reading input from stdin in `chainsaw assert` command
- Added programmatic `Configuration` validation
- Added `--report-path` flag and config equivalent to configure the report path
## 🔧 Fixes 🔧
- Fixed a concurrency issue in Kyverno-JSON
- Fixed an issue with timeouts not correctly considered in collectors
- Fixed `--test-dir` flag not parsed correctly when folders were separated by a comma
- Preserve `apiVersion` and `kind` when showing resource diff
- Fixed an incorrect KUTTL `TestAssert` conversion
- Validate empty `try` blocks
## 📚 Docs 📚
- Fixed incorrect `delete` operation in docs
- Fixed some typos in the docs
- Added missing links in the configuration docs
- Fixed some incorrect examples in the docs
## 🎸 Misc 🎸
- Added docker image labels
- Bumped `ko` and `kind` tools versions

7
.release-notes/v0.1.6.md Normal file
View File

@ -0,0 +1,7 @@
# Release notes
Release notes for `v0.1.6`.
## 🔧 Fixes 🔧
- Fix an issue with temporary KUBECONFIG not being an absolute path

27
.release-notes/v0.1.7.md Normal file
View File

@ -0,0 +1,27 @@
# Release notes
Release notes for `v0.1.7`.
## 💫 New features 💫
- Added support for custom bindings (local variables) at the test, step and operation level
- Added support for custom environment variables in `script` and `command` operations
- Added a new `wait` operation to invoke `kubectl wait ...` (supported in `try`, `catch` and `finally`)
- Added support for loading resources from a file in `chainsaw assert` command
## 🔧 Fixes 🔧
- Fixed report path configuration not being used when saving a report
- Fixed wrong base image used in released docker image (missing `kubectl` and `sh`)
- Prevent double extension in the report output file
- Fixed a potential crash related to reports
- Fixed potentially missing operations in reports
## 🎸 Misc 🎸
- Temporary `KUBECONFIG` files are now created in `/tmp` folder
- Stopped overriding the `PATH` environment variable
## 📚 Docs 📚
- Added chainsaw capabilities in the quick start guide

27
.release-notes/v0.1.8.md Normal file
View File

@ -0,0 +1,27 @@
# Release notes
Release notes for `v0.1.8`.
## 💫 New features 💫
- Support both `.yaml` and `.yml` extensions for chainsaw test files
- Support specifying `apiVersion` and `kind` in collectors (working with resources should be considered deprecated)
- Support all namespaces in collectors (by specifying `namespace: '*'`)
- Added `outputs` support in `script` and `command` operations
- Added support to specify `catch` blocks at the configuration and test levels
- Support waiting `all` in `wait` operation
- Added `x_k8s_server_version` JMESPath function to fetch underlying cluster version
- Added `$config` built-in binding mapping to the underlying cluster client rest config
## 🔧 Fixes 🔧
- Fixed `x_k8s_resource_exists` JMESPath function not correctly processing `apiVersion`
- Fixed `x_k8s_exists` JMESPath function not correctly processing `apiVersion` and `kind`
- Fixed `x_k8s_list` JMESPath function not correctly exposing unstructured content
- Detect clustered resources in collectors to ignore namespace
- Fixed validation of checks in scripts
- Added missing validation of bindings
## 🎸 Misc 🎸
- Enabled cherry-pick bot

37
.release-notes/v0.1.9.md Normal file
View File

@ -0,0 +1,37 @@
# Release notes
Release notes for `v0.1.9`.
## 💫 New features 💫
- Added new `update` operation
- Added outputs support in `create`, `apply`, `patch` and `update` operations
- Added `match` support in `command` and `script` operations outputs
- Added templating support in `bindings` and `outputs` names
- Added templating support in `env` names
- Added templating support in resource reference in all collectors
- Added templating support for all string fields in all collectors
- Added bindings running test info bindings
- Removed bindings forbidden names (be careful if you override a built-in binding name)
- Relaxed `format` field validation in collectors to support templating
- Relaxed bindings `name` field validation to support templating
- Relaxed env `name` field validation to support templating
- Added bindings and outputs in `build docs` command
## 🔧 Fixes 🔧
- Fixed a resource templating issue in non-resource assertions
- Fixed test level bindings evaluated too early, potentially failing to resolve `$namespace` dependency
- Fixed diff not templated in case of `assert` failure
- Fixed resource templating always enabled in `create` operation, regardless of the configured `template` field
- Fixed resource templating always enabled in `patch` operation, regardless of the configured `template` field
- Added missing operations to the `build docs` command template
- Added test-level catch statements to the `build docs` command template
- Added binding `name` validation markers
- Fixed `build docs` command for files with multiple tests
- Fixed `migrate kuttl ...` commands printing diagnostics to stdout instead of stderr
- Relaxed step file discovery regular expression to allow names with one or more digit prefixes
## ⭐ Examples ⭐
- Added an example showcasing `x_k8s_server_version` usage

29
.release-notes/v0.2.0.md Normal file
View File

@ -0,0 +1,29 @@
# Release notes
Release notes for `v0.2.0`.
## ‼️ Breaking changes ‼️
- Deprecated `TestStep` resource support was removed as well as the related command `chainsaw migrate tests`
## 💫 New features 💫
- Added support to wait with `jsonpath` conditions
- Introduced `v1alpha2` version for configuration, both `v1alpha1` and `v1alpha2` are supported with a conversion system
- Rewrote quick-start guide leveraging chainsaw capabilities using relevant usecases
## 🔧 Fixes 🔧
- Fixed issue with `update` operation failing because resource version not set correctly
- Fixed `wait` operation timeout passing the timeout value to the underlying `kubectl` command
- Fixed `wait` operation condition incorrectly formatted with quotes
- Fixed issue reading files from embedded file systems on Windows
- Fixed incorrect JUnit report format
## 🎸 Misc 🎸
- Switched a release branch worflow
## 📚 Docs 📚
- Added missing cluster doc

18
.release-notes/v0.2.1.md Normal file
View File

@ -0,0 +1,18 @@
# Release notes
Release notes for `v0.2.1`.
## ‼️ Breaking changes ‼️
- Resource templating is now enabled by default
## 💫 New features 💫
- Added `--pause-on-failure` flag to pause when a test failure happens (to ease troubleshooting)
- Improved cleanup management logic, alternating `catch`, `finally` and `@cleanup` per step
- Added support for registering clusters dynamically, useful when a cluster is created in a test step
## 🔧 Fixes 🔧
- Fixed issue with cluster incorrectly registered
- Force background deletion propagation policy (useful when testing unmanaged `Job`)

24
.release-notes/v0.2.10.md Normal file
View File

@ -0,0 +1,24 @@
# Release notes
Release notes for `v0.2.10`.
## 💫 New features 💫
- Added bindings support when referencing step templates
- Restructured the reports system
- Added reports in JSON format back
- Added new JUnit report formats with different granularity (`JUNIT-TEST`, `JUNIT-STEP`, `JUNIT-OPERATION`)
- `XML` report format should be considered deprecated and replaced with one of the `JUNIT-*` format
## 🔧 Fixes 🔧
- Fixed default report name not set correctly
- Made `template` required when referencing a step template
## 📚 Docs 📚
- Started a JMESPath function example page in the docs (only `x_k8s_get` is available at this time)
## 🎸 Misc 🎸
- Removed test `v1alpha2` API for now

17
.release-notes/v0.2.11.md Normal file
View File

@ -0,0 +1,17 @@
# Release notes
Release notes for `v0.2.11`.
## 💫 New features 💫
- Added CEL support everywhere (bindings, assertion trees, projection trees, outputs...)
- Added test sharding support
## 🔧 Fixes 🔧
- Fixed exit code when failing in root test run
- Fixed `--no-cluster` flag not working
## 📚 Docs 📚
- Added most JMESPath functions docs and examples

15
.release-notes/v0.2.12.md Normal file
View File

@ -0,0 +1,15 @@
# Release notes
Release notes for `v0.2.12`.
## 💫 New features 💫
- Registered Kubernetes CEL libs, optional types, and various other std libs
- Support conditions in labels in assertion templates
- Added `skipCommandOutput` support to not log the `command` and `script` being executed
## 🔧 Fixes 🔧
- Allow escaping dollar sign in `command` and `script`
- Fixed `chainsaw build docs` rendering invalid yaml
- Fixed step template bindings registered in the wrong order

25
.release-notes/v0.2.2.md Normal file
View File

@ -0,0 +1,25 @@
# Release notes
Release notes for `v0.2.2`.
## ‼️ Breaking changes ‼️
- `finally` block now executes when the step terminates. It was supposed to work like this from the beginning but was not properly working. The `cleanup` block was introduced to execute operations when a test terminates instead.
## 💫 New features 💫
- Added cleanup handlers support to register custom cleanup operations to run when a test terminates
## 🔧 Fixes 🔧
- Use `namespaceTemplate` from configuration if provided
## 📚 Docs 📚
- Improved home page
- Added scroll to top button
- Improved navigation bar
- Fixed dark/light color schemes and added system preference support
- Added links to Slack and X/Twitter links in the footer
- Removed the blog
- Rewrote most of the Getting Started pages

28
.release-notes/v0.2.3.md Normal file
View File

@ -0,0 +1,28 @@
# Release notes
Release notes for `v0.2.3`.
## ‼️ Breaking changes ‼️
- `catch` block in v1alpha2 configuration was moved in `error.catch`
## 💫 New features 💫
- Added `cleanup` validation logic
- Added deletion propagation policy support at the configuration, test and step levels
## 🔧 Fixes 🔧
- Added `cleanup` support to generated test catalog
## 📚 Docs 📚
- Documentation sections have been completely restructured for better clarity and maintenance
- Tons of documentation improvements
- Configuration examples in the documentation were updated to `v1alpha2`
- Added built-in bindings reference documentation
- Links to easily navigate from one section to another were added to the home page
## 🎸 Misc 🎸
- Social cards are now enabled and configured for all social networks/apps

27
.release-notes/v0.2.4.md Normal file
View File

@ -0,0 +1,27 @@
# Release notes
Release notes for `v0.2.4`.
## ‼️ Breaking changes ‼️
- Directly specifying resource name was dropped, only `apiVersion` / `kind` is supported now
## 💫 New features 💫
- Added test metadata built-in binding
- Added file support to `delete` operation
- Added `--remarshal` flag to improve anchors support in test resources
- Added support for `describe`, `events`, `get` and `podLogs` operations in try blocks
## 🔧 Fixes 🔧
- Fixed incorrect path reported when validation failed for a patch operation
- Improved the way default values for configuration options are managed in configuration v1alpha2
## 📚 Docs 📚
- Removed code markers on titles in API reference documentation
## 🎸 Misc 🎸
- Bumped kyverno-json to v0.0.3

15
.release-notes/v0.2.5.md Normal file
View File

@ -0,0 +1,15 @@
# Release notes
Release notes for `v0.2.5`.
## 💫 New features 💫
- Add test scenarios support
## 🔧 Fixes 🔧
- Fixed a potential issue with configuration defaults and marshaling
## 🎸 Misc 🎸
- Improved all Python-based build operations

9
.release-notes/v0.2.6.md Normal file
View File

@ -0,0 +1,9 @@
# Release notes
Release notes for `v0.2.6`.
## 💫 New features 💫
- Added a `proxy` action to allow HTTP calls to in-cluster services and pods
- Added `as_string` JMESPath function to convert types based on strings to bare strings
- Added `x_metrics_decode` JMESPath function to decode Prometheus metrics

18
.release-notes/v0.2.7.md Normal file
View File

@ -0,0 +1,18 @@
# Release notes
Release notes for `v0.2.7`.
## 💫 New features 💫
- Added initial `TestTemplate` support to allow defining steps in separate files and reusing them across tests
- Replaced programmatic validation with schema-based validation
- Better generated JSON schemas based on OpenAPI v3 instead of v2
## 🔧 Fixes 🔧
- Fixed incorrect `null` vs empty object comparison in assertion operations
## 📚 Docs 📚
- Added detailed community pages to the website website
- Added a CODE_OF_CONDUCT.md file in the repo

21
.release-notes/v0.2.8.md Normal file
View File

@ -0,0 +1,21 @@
# Release notes
Release notes for `v0.2.8`.
## 💫 New features 💫
- Added `chainsaw renovate config` to upgrade configuration manifests to `v1alpha2`
- Changed `cluster` in test step and actions to a pointer
- `null` means inherit the current cluster
- an empty string means the default cluster
- Made default timeouts part of the schemas
- Added support to fail fast at the test level (test will be skipped if a previous error was already reported)
- Delay operation loading until operation execution
- Generate strict JSON schemas
## 🔧 Fixes 🔧
- Fixed incorrect bindings when operations are run against different clusters
- Fixed operation info built-in bindings not registered before other bindings
- Fixed incorrect cluster client used when applying the test namespace to resources
- Detect accessing nodes not present in the payload when traversing an assertion tree

19
.release-notes/v0.2.9.md Normal file
View File

@ -0,0 +1,19 @@
# Release notes
Release notes for `v0.2.9`.
## 💫 New features 💫
- Added support for templating filenames used in operations
- Added `ppc64le` and `s390x` binaries in release artifacts
- Added support for Kubernetes 1.31
- Added server side validation to validate the submitted resource
- Added support for overriding the working directory in `command` and `script` operations
- Compile string expressions at loading time
- Made json path value optional in `wait` operation
- Improved logging with `begin`, `end` and `warning` statuses
- Added golang 1.23 support
## 🔧 Fixes 🔧
- Fixed configuration `v1alpha2` lint command

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

27
.vscode/launch.json vendored
View File

@ -5,17 +5,34 @@
"version": "0.2.0",
"configurations": [
{
"name": "chainsaw test",
"name": "test",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd",
"program": "${workspaceFolder}",
"cwd": "${workspaceFolder}",
"args": [
"test",
"--test-dir",
"./quick-start",
"./testdata/e2e/examples",
"--config",
"./testdata/e2e/config.yaml",
"--remarshal",
]
}
},
{
"name": "assert",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"cwd": "${workspaceFolder}",
"args": [
"assert",
"-r",
"./resource.yaml",
"-f",
"./assert.yaml",
]
},
]
}

29
ADOPTERS.md Normal file
View File

@ -0,0 +1,29 @@
# Chainsaw Adopters
This is the list of organizations and users that have publicly shared how they are using Chainsaw.
Note: There are several other organizations and users that are unable to publicly share their stories but are active in the Chainsaw community. We appreciate all our users and their contributions to making Chainsaw a successful project.
The list of organizations that have publicly shared the usage of Chainsaw:
| Organization | Success Story |
|:--|:--|
| [Keptn](https://github.com/keptn/lifecycle-toolkit)| Chainsaw replaced Kuttl, and helped us get rid of many unreadable bash scripts |
| [OpenFeature](https://github.com/open-feature/open-feature-operator)| Chainsaw replaced Kuttl, helped us improve logging and remove native kubectl calls |
| [Kyverno](https://kyverno.io) | Running all end to end tests for both Kyverno and the policies catalog |
| [Nirmata](https://nirmata.com/) | Using Chainsaw extensively to test curated Kyverno policies, Kyverno Operator and other e2e internal testing |
| [Redis-operator](https://github.com/OT-CONTAINER-KIT/redis-operator) | Chainsaw helped a lot for declarative assertion of Redis Cluster state against various e2e test |
| [rbac-manager](https://github.com/fairwindsops/rbac-manager) | Chainsaw replaced and improved upon our bash test framework for testing the RbacDefinition CRD |
| [skiperator](https://github.com/kartverket/skiperator) (Norwegian Mapping Authority) | Chainsaw replaced kuttl and made our tests more reliable |
| [Grafana-operator](https://github.com/grafana/grafana-operator) | Chainsaw enabled easier e2e testing and CI debugging after replacing kuttl |
| [Opentelemetry-operator](https://github.com/open-telemetry/opentelemetry-operator) | Chainsaw cut down on hacks, improved code-reuse and enhanced test debugging |
| [Tempo-operator](https://github.com/grafana/tempo-operator) | Chainsaw cranked up the tempo, making our e2e tests dance to a rhythm of reliability and efficiency |
| [Provider-ceph](https://github.com/linode/provider-ceph) | Chainsaw replaced Kuttl and made our e2e tests much more readable and easier to debug |
| [Linode CAPI provider](https://github.com/linode/cluster-api-provider-linode) | Chainsaw replaced Kuttl and made our e2e tests much more readable and easier to debug. 🙏 @eddycharly |
| [Linode COSI driver](https://github.com/linode/linode-cosi-driver) | Running all end to end tests for object store driver |
| [Odigos](https://github.com/odigos-io/odigos) | Chainsaw helps us run complex e2e tests confidently, ensuring project reliability. |
<!-- append the line below to the table
| [name](URL) | brief description of how you are using Chainsaw |
-->

1
CODEOWNERS Normal file
View File

@ -0,0 +1 @@
* @kyverno/chainsaw-maintainers

74
CODE_OF_CONDUCT.md Normal file
View File

@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for our community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, or to ban temporarily or permanently any
contributor for other behaviors that they deem inappropriate, threatening,
offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team privately at hello@squidfunk.com. The
project team will review and investigate all complaints, and will respond in a
way that it deems appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an
incident. Further details of specific enforcement policies may be posted
separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

10
MAINTAINERS.md Normal file
View File

@ -0,0 +1,10 @@
## Maintainers
Maintainers are approvers who have shown good technical judgment in guiding feature design & development, have displayed overall knowledge of the project and features in the project, and are nurturing and receptive to everyone in the community.
| Maintainer | GitHub ID | Affiliation |
|--------------------------|--------------------------------------------------------|---------------------------|
| Charles-Edouard Brétéché | [@eddycharly](https://github.com/eddycharly) | Nirmata |
| Shubham Gupta | [@shubham-cmyk](https://github.com/shubham-cmyk) | - |
**Note**: Please refer to the [Project Governance](https://kyverno.io/community/#project-governance) for more information on the responsibilities and privileges of a maintainer in `kyverno/chainsaw`.

258
Makefile
View File

@ -1,20 +1,42 @@
.DEFAULT_GOAL := build
#############
# VARIABLES #
#############
GIT_SHA := $(shell git rev-parse HEAD)
ORG ?= kyverno
PACKAGE ?= github.com/$(ORG)/chainsaw
CRDS_PATH := ${PWD}/.crds
CLI_BIN := chainsaw
CGO_ENABLED ?= 0
GOOS ?= $(shell go env GOOS)
ifdef VERSION
LD_FLAGS := "-s -w -X $(PACKAGE)/pkg/version.BuildVersion=$(VERSION)"
else
LD_FLAGS := "-s -w"
endif
KO_REGISTRY := ko.local
KO_TAGS := $(GIT_SHA)
KIND_IMAGE ?= kindest/node:v1.33.2
#########
# TOOLS #
#########
TOOLS_DIR := $(PWD)/.tools
CONTROLLER_GEN := $(TOOLS_DIR)/controller-gen
CONTROLLER_GEN_VERSION := v0.12.0
REGISTER_GEN := $(TOOLS_DIR)/register-gen
DEEPCOPY_GEN := $(TOOLS_DIR)/deepcopy-gen
CODE_GEN_VERSION := v0.28.0
CONVERSION_GEN := $(TOOLS_DIR)/conversion-gen
CODE_GEN_VERSION := v0.33.3
REFERENCE_DOCS := $(TOOLS_DIR)/genref
REFERENCE_DOCS_VERSION := latest
KIND := $(TOOLS_DIR)/kind
KIND_VERSION := v0.20.0
TOOLS := $(CONTROLLER_GEN) $(REGISTER_GEN) $(DEEPCOPY_GEN) $(REFERENCE_DOCS) $(KIND)
KIND_VERSION := v0.29.0
KO ?= $(TOOLS_DIR)/ko
KO_VERSION ?= v0.18.0
TOOLS := $(CONTROLLER_GEN) $(REGISTER_GEN) $(DEEPCOPY_GEN) $(CONVERSION_GEN) $(REFERENCE_DOCS) $(KIND) $(KO)
PIP ?= "pip"
ifeq ($(GOOS), darwin)
SED := gsed
@ -25,7 +47,7 @@ COMMA := ,
$(CONTROLLER_GEN):
@echo Install controller-gen... >&2
@GOBIN=$(TOOLS_DIR) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_VERSION)
@cd ./hack/controller-gen && GOBIN=$(TOOLS_DIR) go install -buildvcs=false
$(REGISTER_GEN):
@echo Install register-gen... >&2
@ -35,6 +57,10 @@ $(DEEPCOPY_GEN):
@echo Install deepcopy-gen... >&2
@GOBIN=$(TOOLS_DIR) go install k8s.io/code-generator/cmd/deepcopy-gen@$(CODE_GEN_VERSION)
$(CONVERSION_GEN):
@echo Install conversion-gen... >&2
@GOBIN=$(TOOLS_DIR) go install k8s.io/code-generator/cmd/conversion-gen@$(CODE_GEN_VERSION)
$(REFERENCE_DOCS):
@echo Install genref... >&2
@GOBIN=$(TOOLS_DIR) go install github.com/kubernetes-sigs/reference-docs/genref@$(REFERENCE_DOCS_VERSION)
@ -43,8 +69,13 @@ $(KIND):
@echo Install kind... >&2
@GOBIN=$(TOOLS_DIR) go install sigs.k8s.io/kind@$(KIND_VERSION)
$(KO):
@echo Install ko... >&2
@GOBIN=$(TOOLS_DIR) go install github.com/google/ko@$(KO_VERSION)
.PHONY: install-tools
install-tools: $(TOOLS) ## Install tools
install-tools: ## Install tools
install-tools: $(TOOLS)
.PHONY: clean-tools
clean-tools: ## Remove installed tools
@ -55,71 +86,134 @@ clean-tools: ## Remove installed tools
# CODEGEN #
###########
ORG ?= kyverno
PACKAGE ?= github.com/$(ORG)/chainsaw
GOPATH_SHIM := ${PWD}/.gopath
PACKAGE_SHIM := $(GOPATH_SHIM)/src/$(PACKAGE)
INPUT_DIRS := $(PACKAGE)/pkg/apis/v1alpha1
CRDS_PATH := ${PWD}/.crds
$(GOPATH_SHIM):
@echo Create gopath shim... >&2
@mkdir -p $(GOPATH_SHIM)
.INTERMEDIATE: $(PACKAGE_SHIM)
$(PACKAGE_SHIM): $(GOPATH_SHIM)
@echo Create package shim... >&2
@mkdir -p $(GOPATH_SHIM)/src/github.com/$(ORG) && ln -s -f ${PWD} $(PACKAGE_SHIM)
.PHONY: codegen-register
codegen-register: $(PACKAGE_SHIM) $(REGISTER_GEN) ## Generate types registrations
codegen-register: ## Generate types registrations
codegen-register: $(REGISTER_GEN)
@echo Generate registration... >&2
@GOPATH=$(GOPATH_SHIM) $(REGISTER_GEN) \
@$(REGISTER_GEN) \
--go-header-file=./hack/boilerplate.go.txt \
--input-dirs=$(INPUT_DIRS)
--output-file zz_generated.register.go \
./pkg/apis/...
.PHONY: codegen-deepcopy
codegen-deepcopy: $(PACKAGE_SHIM) $(DEEPCOPY_GEN) ## Generate deep copy functions
codegen-deepcopy: ## Generate deep copy functions
codegen-deepcopy: $(DEEPCOPY_GEN)
@echo Generate deep copy functions... >&2
@GOPATH=$(GOPATH_SHIM) $(DEEPCOPY_GEN) \
@$(DEEPCOPY_GEN) \
--go-header-file=./hack/boilerplate.go.txt \
--input-dirs=$(INPUT_DIRS) \
--output-file-base=zz_generated.deepcopy
--output-file=zz_generated.deepcopy.go \
./pkg/apis/...
.PHONY: codegen-conversion
codegen-conversion: ## Generate conversion functions
codegen-conversion: $(CONVERSION_GEN)
@echo Generate conversion functions... >&2
@$(CONVERSION_GEN) \
--go-header-file=./hack/boilerplate.go.txt \
--output-file=zz_generated.conversion.go \
./pkg/apis/...
.PHONY: codegen-crds
codegen-crds: $(CONTROLLER_GEN) ## Generate CRDs
codegen-crds: ## Generate CRDs
codegen-crds: $(CONTROLLER_GEN)
codegen-crds: codegen-deepcopy
codegen-crds: codegen-register
codegen-crds: codegen-conversion
@echo Generate crds... >&2
@rm -rf $(CRDS_PATH)
@$(CONTROLLER_GEN) crd paths=./pkg/apis/... crd:crdVersions=v1 output:dir=$(CRDS_PATH)
@$(CONTROLLER_GEN) paths=./pkg/apis/... crd:crdVersions=v1,ignoreUnexportedFields=true,generateEmbeddedObjectMeta=false output:dir=$(CRDS_PATH)
@echo Copy generated CRDs to embed in the CLI... >&2
@rm -rf pkg/data/crds && mkdir -p pkg/data/crds
@cp $(CRDS_PATH)/* pkg/data/crds
.PHONY: codegen-cli-docs
codegen-cli-docs: $(CLI_BIN) ## Generate CLI docs
codegen-cli-docs: ## Generate CLI docs
codegen-cli-docs: build
@echo Generate cli docs... >&2
@rm -rf website/docs/commands
@go run ./hack/docs/cmd/main.go
@rm -rf website/docs/reference/commands && mkdir -p website/docs/reference/commands
@./$(CLI_BIN) docs -o website/docs/reference/commands --autogenTag=false
.PHONY: codegen-api-docs
codegen-api-docs: $(REFERENCE_DOCS) ## Generate markdown API docs
codegen-api-docs: ## Generate markdown API docs
codegen-api-docs: $(REFERENCE_DOCS)
codegen-api-docs: codegen-deepcopy
codegen-api-docs: codegen-register
codegen-api-docs: codegen-conversion
@echo Generate api docs... >&2
@rm -rf ./website/docs/apis
@cd ./website/apis && $(REFERENCE_DOCS) -c config.yaml -f markdown -o ../docs/apis
@rm -rf ./website/docs/reference/apis
@cd ./website/apis && $(REFERENCE_DOCS) -c config.yaml -f markdown -o ../docs/reference/apis
.PHONY: codegen-jp-docs
codegen-jp-docs: ## Generate JP docs
@echo Generate jp docs... >&2
@mkdir -p ./website/docs/reference/jp
@go run ./website/jp/main.go > ./website/docs/reference/jp/functions.md
.PHONY: codegen-mkdocs
codegen-mkdocs: codegen-cli-docs codegen-api-docs ## Generate mkdocs website
codegen-mkdocs: ## Generate mkdocs website
codegen-mkdocs: codegen-cli-docs
codegen-mkdocs: codegen-api-docs
codegen-mkdocs: codegen-jp-docs
@echo Generate mkdocs website... >&2
@$(PIP) install mkdocs
@$(PIP) install --upgrade pip
@$(PIP) install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
@$(PIP) install -r requirements.txt
@mkdocs build -f ./website/mkdocs.yaml
.PHONY: codegen-schemas-openapi
codegen-schemas-openapi: ## Generate openapi schemas (v2 and v3)
codegen-schemas-openapi: CURRENT_CONTEXT = $(shell kubectl config current-context)
codegen-schemas-openapi: codegen-crds
codegen-schemas-openapi: $(KIND)
@echo Generate openapi schema... >&2
@rm -rf ./.temp/.schemas
@mkdir -p ./.temp/.schemas/openapi/v2
@mkdir -p ./.temp/.schemas/openapi/v3/apis/chainsaw.kyverno.io
@$(KIND) create cluster --name schema --image $(KIND_IMAGE)
@kubectl create -f $(CRDS_PATH)
@sleep 15
@kubectl get --raw /openapi/v2 > ./.temp/.schemas/openapi/v2/schema.json
@kubectl get --raw /openapi/v3/apis/chainsaw.kyverno.io/v1alpha1 > ./.temp/.schemas/openapi/v3/apis/chainsaw.kyverno.io/v1alpha1.json
@kubectl get --raw /openapi/v3/apis/chainsaw.kyverno.io/v1alpha2 > ./.temp/.schemas/openapi/v3/apis/chainsaw.kyverno.io/v1alpha2.json
@$(KIND) delete cluster --name schema
@kubectl config use-context $(CURRENT_CONTEXT) || true
.PHONY: codegen-schemas-json
codegen-schemas-json: ## Generate json schemas
codegen-schemas-json: codegen-schemas-openapi
@echo Generate json schema... >&2
@$(PIP) install -r requirements.txt
@rm -rf ./.temp/.schemas/json
@rm -rf ./.schemas/json
@openapi2jsonschema .temp/.schemas/openapi/v3/apis/chainsaw.kyverno.io/v1alpha1.json --kubernetes --strict --stand-alone --expanded -o ./.temp/.schemas/json
@openapi2jsonschema .temp/.schemas/openapi/v3/apis/chainsaw.kyverno.io/v1alpha2.json --kubernetes --strict --stand-alone --expanded -o ./.temp/.schemas/json
@mkdir -p ./.schemas/json
@cp ./.temp/.schemas/json/configuration-chainsaw-*.json ./.schemas/json
@cp ./.temp/.schemas/json/steptemplate-chainsaw-*.json ./.schemas/json
@cp ./.temp/.schemas/json/test-chainsaw-*.json ./.schemas/json
@echo Copy generated schemas to embed in the CLI... >&2
@rm -rf pkg/data/schemas/json && mkdir -p pkg/data/schemas/json
@cp ./.schemas/json/* pkg/data/schemas/json
.PHONY: codegen-tests-catalog
codegen-tests-catalog: ## Generate tests catalog files
codegen-tests-catalog: $(CLI_BIN)
@echo Generate tests catalog... >&2
@./$(CLI_BIN) build docs --test-dir ./testdata/e2e --catalog ./testdata/e2e/examples/CATALOG.md
.PHONY: codegen
codegen: codegen-crds codegen-deepcopy codegen-register codegen-mkdocs codegen-cli-docs codegen-api-docs ## Rebuild all generated code and docs
codegen: ## Rebuild all generated code and docs
codegen: codegen-api-docs
codegen: codegen-cli-docs
codegen: codegen-crds
codegen: codegen-deepcopy
codegen: codegen-mkdocs
codegen: codegen-register
codegen: codegen-schemas-json
codegen: codegen-tests-catalog
codegen: codegen-conversion
.PHONY: verify-codegen
verify-codegen: codegen ## Verify all generated code and docs are up to date
verify-codegen: ## Verify all generated code and docs are up to date
verify-codegen: codegen
@echo Checking codegen is up to date... >&2
@git --no-pager diff -- .
@echo 'If this test fails, it is because the git diff is non-empty after running "make codegen".' >&2
@ -132,28 +226,18 @@ verify-codegen: codegen ## Verify all generated code and docs are up to date
.PHONY: mkdocs-serve
mkdocs-serve: ## Generate and serve mkdocs website
@echo Generate and servemkdocs website... >&2
@$(PIP) install mkdocs
@$(PIP) install --upgrade pip
@$(PIP) install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
@echo Generate and serve mkdocs website... >&2
@$(PIP) install -r requirements.txt
@mkdocs serve -f ./website/mkdocs.yaml
#########
# BUILD #
#########
CMD_FOLDER := cmd
CLI_BIN := chainsaw
CGO_ENABLED ?= 0
GOOS ?= $(shell go env GOOS)
ifdef VERSION
LD_FLAGS := "-s -w -X $(PACKAGE)/pkg/version.BuildVersion=$(VERSION)"
else
LD_FLAGS := "-s -w"
endif
.PHONY: fmt
fmt: ## Run go fmt
fmt: codegen-register
fmt: codegen-deepcopy
@echo Go fmt... >&2
@go fmt ./...
@ -162,31 +246,75 @@ vet: ## Run go vet
@echo Go vet... >&2
@go vet ./...
$(CLI_BIN): fmt vet
.PHONY: $(CLI_BIN)
$(CLI_BIN): fmt
$(CLI_BIN): vet
$(CLI_BIN): codegen-crds
@echo Build cli binary... >&2
@CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) go build -o ./$(CLI_BIN) -ldflags=$(LD_FLAGS) ./$(CMD_FOLDER)
@CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) go build -o ./$(CLI_BIN) -ldflags=$(LD_FLAGS) .
build: $(CLI_BIN) ## Build
##############
# BUILD (KO) #
##############
.PHONY: build-ko
build-ko: ## Build Docker image with ko
build-ko: fmt
build-ko: vet
build-ko: $(KO)
@echo "Build Docker image with ko..." >&2
@LD_FLAGS=$(LD_FLAGS) KO_DOCKER_REPO=$(KO_REGISTRY) \
$(KO) build . --preserve-import-paths --tags=$(KO_TAGS)
########
# TEST #
########
.PHONY: tests
tests: $(CLI_BIN) ## Run tests
tests: ## Run tests
tests: $(CLI_BIN)
@echo Running tests... >&2
@go test ./... -race -coverprofile=coverage.out -covermode=atomic
@go tool cover -html=coverage.out
########
.PHONY: e2e-tests
e2e-tests: ## Run e2e tests
e2e-tests: $(CLI_BIN)
@echo Running e2e tests... >&2
@./$(CLI_BIN) test ./testdata/e2e --remarshal --config ./testdata/e2e/config.yaml --values ./testdata/e2e/values.yaml
.PHONY: e2e-tests-no-cluster
e2e-tests-no-cluster: ## Run e2e tests with --no-cluster
e2e-tests-no-cluster: $(CLI_BIN)
@echo Running e2e tests with --no-cluster... >&2
@./$(CLI_BIN) test testdata/e2e/examples/script-env --no-cluster --remarshal --config ./testdata/e2e/config.yaml --values ./testdata/e2e/values.yaml
@./$(CLI_BIN) test testdata/e2e/examples/dynamic-clusters --no-cluster --remarshal --config ./testdata/e2e/config.yaml --values ./testdata/e2e/values.yaml
.PHONY: e2e-tests-ko
e2e-tests-ko: ## Run e2e tests from a docker container
e2e-tests-ko: build-ko
@echo Running e2e tests in docker... >&2
@docker run \
-v ./testdata/e2e/:/chainsaw/ \
-v ${HOME}/.kube/:/etc/kubeconfig/ \
-e KUBECONFIG=/etc/kubeconfig/config \
--network=host \
--user $(id -u):$(id -g) \
--name chainsaw \
--rm \
ko.local/github.com/kyverno/chainsaw:$(KO_TAGS) test /chainsaw --remarshal --config /chainsaw/config.yaml --values /chainsaw/values.yaml --selector !no-ko-test
########
# KIND #
########
KIND_IMAGE ?= kindest/node:v1.28.0
.PHONY: kind-cluster
kind-cluster: $(KIND) ## Create kind cluster
kind-cluster: ## Create kind cluster
kind-cluster: $(KIND)
@echo Create kind cluster... >&2
@$(KIND) create cluster --image $(KIND_IMAGE)
@$(KIND) create cluster --image $(KIND_IMAGE) --wait 1m
########
# HELP #

View File

@ -3,34 +3,62 @@
[![Lint](https://github.com/kyverno/chainsaw/actions/workflows/lint.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/lint.yaml)
[![Tests](https://github.com/kyverno/chainsaw/actions/workflows/tests.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/tests.yaml)
[![Code QL](https://github.com/kyverno/chainsaw/actions/workflows/codeql.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/codeql.yaml)
[![Deploy](https://github.com/kyverno/chainsaw/actions/workflows/deploy.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/deploy.yaml)
[![Dev docs](https://github.com/kyverno/chainsaw/actions/workflows/docs-main.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/docs-main.yaml)
[![Release](https://github.com/kyverno/chainsaw/actions/workflows/release.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/release.yaml)
[![Release docs](https://github.com/kyverno/chainsaw/actions/workflows/docs-release.yaml/badge.svg)](https://github.com/kyverno/chainsaw/actions/workflows/docs-release.yaml)
[![Go Report Card](https://goreportcard.com/badge/github.com/kyverno/chainsaw)](https://goreportcard.com/report/github.com/kyverno/chainsaw)
[![License: Apache-2.0](https://img.shields.io/github/license/kyverno/chainsaw?color=blue)](https://github.com/kyverno/chainsaw/blob/main/LICENSE)
[![codecov](https://codecov.io/gh/kyverno/chainsaw/branch/main/graph/badge.svg)](https://app.codecov.io/gh/kyverno/chainsaw/branch/main)
[![Codecov](https://codecov.io/gh/kyverno/chainsaw/branch/main/graph/badge.svg)](https://app.codecov.io/gh/kyverno/chainsaw/branch/main)
<a href="https://kyverno.github.io/chainsaw" rel="https://kyverno.github.io/chainsaw">![logo](.assets/kyverno-chainsaw-horizontal.png)</a>
## Overview
Chainsaw provides a declarative approach to test [Kubernetes](https://kubernetes.io) operators and controllers.
While Chainsaw is designed for testing operators and controllers, it can declaratively test any kubernetes objects.
While Chainsaw is designed for testing operators and controllers, it can declaratively test any Kubernetes objects.
Chainsaw is an **open source** tool that was initially developped for defining and running [Kyverno](https://kyverno.io) end to end tests.
Chainsaw is an open-source tool that was initially developed for defining and running [Kyverno](https://kyverno.io) end-to-end tests.
## Resources
Built under the Kyverno umbrella, you can use the Kyverno **Slack channels** to discuss anything related to Chainsaw.
Built under the Kyverno umbrella, you can use the Kyverno Chainsaw **Slack channels** to discuss anything related to Chainsaw.
### Slack channels
- [#kyverno](https://kubernetes.slack.com/archives/CLGR9BJU9)
- [#kyverno-dev](https://kubernetes.slack.com/archives/C032MM2CH7X)
- [#kyverno-chainsaw](https://kubernetes.slack.com/archives/C067LUFL43U)
### More resources
- [Kyverno Chainsaw - The ultimate end-to-end testing tool!](https://kyverno.io/blog/2023/12/12/kyverno-chainsaw-the-ultimate-end-to-end-testing-tool/)
- [Kyverno Chainsaw - Exploring the Power of Assertion Trees!](https://kyverno.io/blog/2023/12/13/kyverno-chainsaw-exploring-the-power-of-assertion-trees/)
- [Nirmata Office Hours for Kyverno- Episode 9- Demonstrate Kyverno Chainsaw](https://www.youtube.com/watch?v=IrIteTTjlbU)
- [Kubebuilder Community Meeting - February 1, 2024](https://www.youtube.com/watch?v=Ejof-wtAdQM)
- [Kyverno Chainsaw 0.1.4 - Awesome new features!](https://kyverno.io/blog/2024/02/15/kyverno-chainsaw-0.1.4-awesome-new-features/)
- [Mastering Kubernetes Testing with Kyverno Chainsaw!](https://youtu.be/hQJWGzogIiI)
## Getting Started
Please refer to the [Getting Started](https://kyverno.github.io/chainsaw/intro/) documentation.
Please refer to the [Getting Started](https://kyverno.github.io/chainsaw/latest/quick-start/) documentation.
## Community, Events, Discussion, Contribution, and Support
## RoadMap
Learn more on how to engage with the [Kyverno](https://kyverno.io) community on our [community page](https://kyverno.io/community/).
For detailed information on our planned features and upcoming updates, please [view our Roadmap](./ROADMAP.md).
## Community Meetings
To attend our community meetings, join the [Chainsaw group](https://groups.google.com/g/kyverno-chainsaw).
You will then be sent a meeting invite and will have access to the agenda and meeting notes.
Any member may suggest topics for discussion.
This is a public, weekly meeting for Kyverno-Chainsaw maintainers to make announcements and provide project updates, and request input and feedback.
This forum allows community members to raise agenda items of any sort, including but not limited to any PRs or issues on which they are working.
Weekly every Thursday at 2:00 PM UTC
- [Chainsaw group](https://groups.google.com/g/kyverno-chainsaw)
- [Zoom Meeting](https://zoom.us/j/99815137900)
- [Agenda and meeting notes](https://docs.google.com/document/d/1csszreCpCyPsls4S_GuM0o_D1W-N7vQqQcyd4lxSkJk)
## Contributions

21
ROADMAP.md Normal file
View File

@ -0,0 +1,21 @@
# 🗺️ RoadMap
## 🚀 Version 0.1.0
- **Achieve a Stable API for Chainsaw:**
- Focus on developing and finalizing a stable API for Chainsaw, ensuring robustness and reliability.
- **Enhance Chainsaw Capabilities:**
- Implement the ability for Chainsaw to register custom JMESPath functions. This involves making modifications to the kyverno-json library to accommodate these new features.
## 🌟 Version 0.2.0
- **Integrate Chainsaw into Operator SDK Testing Documentation:**
- Plan a demo to showcase the capabilities of Chainsaw and how it can be used to test operators.
- Work on adding documentation and guides to incorporate Chainsaw into the Operator SDK's testing framework.
- **Establish Community Engagement:**
- Set up regular community meetings, either weekly or bi-weekly, for open discussions and collaborations.
- **Develop Chainsaw Test Templates:**
- Explore the possibility of creating template extensions to simplify the process of writing tests for Chainsaw.

51
chainsaw.rb Normal file
View File

@ -0,0 +1,51 @@
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Chainsaw < Formula
desc "Declarative Kubernetes end-to-end testing."
homepage "https://kyverno.github.io/chainsaw"
version "0.2.12"
on_macos do
on_intel do
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.12/chainsaw_darwin_amd64.tar.gz"
sha256 "b49dba1214b32024567b1edc7653498a644fbef18111bcc3e1c46dc52e1d194e"
def install
bin.install "chainsaw"
end
end
on_arm do
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.12/chainsaw_darwin_arm64.tar.gz"
sha256 "717a07fcc4d781fff967b287880fed1d8b1e6af9fbecc7650a714c467f296d33"
def install
bin.install "chainsaw"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.12/chainsaw_linux_amd64.tar.gz"
sha256 "d6bfb17ba47af2db85edc0365288f92b5e1a4566f7ff130ec9b326f96856e209"
def install
bin.install "chainsaw"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.12/chainsaw_linux_arm64.tar.gz"
sha256 "72a6273d6da16a04e29e0fae232631b084852d21ddf25f88ed3d3de480125d30"
def install
bin.install "chainsaw"
end
end
end
end
end

6
codecov.yml Normal file
View File

@ -0,0 +1,6 @@
ignore:
- 'hack/**/*.go'
- 'website/**/*.go'
- 'pkg/apis/**/zz_*.go'
- 'pkg/testing/*.go'
- '**/*_test.go'

221
go.mod
View File

@ -1,108 +1,169 @@
module github.com/kyverno/chainsaw
go 1.21.1
go 1.24.2
require (
github.com/dustinkirkland/golang-petname v0.0.0-20231002161417-6a283f1aaaf2
github.com/pmezard/go-difflib v1.0.0
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.4
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0
github.com/evanphx/json-patch v5.9.11+incompatible
github.com/fatih/color v1.18.0
github.com/go-logr/logr v1.4.3
github.com/google/cel-go v0.23.2
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/hashicorp/go-getter v1.7.8
github.com/jmespath-community/go-jmespath v1.1.2-0.20240930152130-6eb5a346873f
github.com/jstemmer/go-junit-report/v2 v2.1.0
github.com/kudobuilder/kuttl v0.20.0
github.com/kyverno/kyverno-json v0.0.4-0.20241008103124-b294ee72a2bf
github.com/kyverno/pkg/ext v0.0.0-20240418121121-df8add26c55c
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/prometheus/common v0.65.0
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.7
github.com/stretchr/testify v1.10.0
github.com/xeipuuv/gojsonschema v1.2.0
go.uber.org/multierr v1.11.0
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
sigs.k8s.io/controller-runtime v0.16.3
sigs.k8s.io/kubectl-validate v0.0.1
sigs.k8s.io/yaml v1.3.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.33.3
k8s.io/apimachinery v0.33.3
k8s.io/apiserver v0.33.3
k8s.io/client-go v0.33.3
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
sigs.k8s.io/controller-runtime v0.21.0
sigs.k8s.io/kubectl-validate v0.0.5-0.20241223122011-eb064d2f92d5
sigs.k8s.io/yaml v1.6.0
)
require (
cel.dev/expr v0.19.1 // indirect
cloud.google.com/go v0.115.1 // indirect
cloud.google.com/go/auth v0.9.7 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
cloud.google.com/go/compute/metadata v0.5.2 // indirect
cloud.google.com/go/iam v1.2.1 // indirect
cloud.google.com/go/monitoring v1.21.1 // indirect
cloud.google.com/go/storage v1.44.0 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.1 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
github.com/IGLOU-EU/go-wildcard v1.0.3 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
github.com/aquilax/truncate v1.0.1 // indirect
github.com/aws/aws-sdk-go v1.55.6 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cncf/xds/go v0.0.0-20250121191232-2f005788dc42 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/envoyproxy/go-control-plane/envoy v1.32.3 // indirect
github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 // indirect
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/cel-go v0.16.1 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.17.1 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/huandu/xstrings v1.5.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
go.etcd.io/etcd/api/v3 v3.5.9 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.9 // indirect
go.etcd.io/etcd/client/v3 v3.5.9 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.43.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0 // indirect
go.opentelemetry.io/otel v1.18.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.17.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.17.0 // indirect
go.opentelemetry.io/otel/metric v1.18.0 // indirect
go.opentelemetry.io/otel/sdk v1.17.0 // indirect
go.opentelemetry.io/otel/trace v1.18.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/zap v1.25.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/grpc v1.57.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
github.com/ulikunitz/xz v0.5.12 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/zach-klippenstein/goregen v0.0.0-20160303162051-795b5e3961ea // indirect
go.etcd.io/etcd/api/v3 v3.5.21 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.21 // indirect
go.etcd.io/etcd/client/v3 v3.5.21 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/detectors/gcp v1.29.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
go.opentelemetry.io/otel v1.33.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 // indirect
go.opentelemetry.io/otel/metric v1.33.0 // indirect
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.33.0 // indirect
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
golang.org/x/crypto v0.38.0 // indirect
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
golang.org/x/net v0.40.0 // indirect
golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/sync v0.14.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/term v0.32.0 // indirect
golang.org/x/text v0.25.0 // indirect
golang.org/x/time v0.11.0 // indirect
google.golang.org/api v0.199.0 // indirect
google.golang.org/genproto v0.0.0-20241007155032-5fefd90f89a9 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/grpc v1.68.1 // indirect
google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a // indirect
google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.28.3 // indirect
k8s.io/apiserver v0.28.3 // indirect
k8s.io/component-base v0.28.3 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230816210353-14e408962443 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.4 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
k8s.io/apiextensions-apiserver v0.33.0 // indirect
k8s.io/component-base v0.33.3 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
)

2049
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,39 @@
module github.com/kyverno/chainsaw/hack/controller-gen
go 1.24.0
require (
github.com/spf13/cobra v1.9.1
k8s.io/apiextensions-apiserver v0.33.3
sigs.k8s.io/controller-tools v0.17.2
)
require (
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/gobuffalo/flect v1.0.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/rogpeppe/go-internal v1.14.1 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/x448/float16 v0.8.4 // indirect
golang.org/x/mod v0.24.0 // indirect
golang.org/x/net v0.38.0 // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/text v0.23.0 // indirect
golang.org/x/tools v0.31.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/apimachinery v0.33.3 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

135
hack/controller-gen/go.sum Normal file
View File

@ -0,0 +1,135 @@
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/gobuffalo/flect v1.0.3 h1:xeWBM2nui+qnVvNM4S3foBhCAL2XgPU+a7FdpelbTq4=
github.com/gobuffalo/flect v1.0.3/go.mod h1:A5msMlrHtLqh9umBSnvabjsMrCcCpAyzglnDvkbYKHs=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8=
github.com/onsi/gomega v1.36.2/go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.31.0 h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU=
golang.org/x/tools v0.31.0/go.mod h1:naFTU+Cev749tSJRXJlna0T3WxKvb1kWEx15xA4SdmQ=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/apiextensions-apiserver v0.33.3 h1:qmOcAHN6DjfD0v9kxL5udB27SRP6SG/MTopmge3MwEs=
k8s.io/apiextensions-apiserver v0.33.3/go.mod h1:oROuctgo27mUsyp9+Obahos6CWcMISSAPzQ77CAQGz8=
k8s.io/apimachinery v0.33.3 h1:4ZSrmNa0c/ZpZJhAgRdcsFcZOw1PQU1bALVQ0B3I5LA=
k8s.io/apimachinery v0.33.3/go.mod h1:BHW0YOu7n22fFv/JkYOEfkUYNRN0fj0BlvMFWA7b+SM=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e h1:KqK5c/ghOm8xkHYhlodbp6i6+r+ChV2vuAuVRdFbLro=
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/controller-tools v0.17.2 h1:jNFOKps8WnaRKZU2R+4vRCHnXyJanVmXBWqkuUPFyFg=
sigs.k8s.io/controller-tools v0.17.2/go.mod h1:4q5tZG2JniS5M5bkiXY2/potOiXyhoZVw/U48vLkXk0=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc=
sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps=
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=

116
hack/controller-gen/main.go Normal file
View File

@ -0,0 +1,116 @@
package main
import (
"fmt"
"os"
"strings"
"github.com/spf13/cobra"
"sigs.k8s.io/controller-tools/pkg/crd"
"sigs.k8s.io/controller-tools/pkg/genall"
"sigs.k8s.io/controller-tools/pkg/markers"
)
var (
allGenerators = map[string]genall.Generator{
"crd": crd.Generator{},
}
allOutputRules = map[string]genall.OutputRule{
"dir": genall.OutputToDirectory(""),
"none": genall.OutputToNothing,
"stdout": genall.OutputToStdout,
"artifacts": genall.OutputArtifacts{},
}
optionsRegistry = &markers.Registry{}
)
func init() { //nolint:gochecknoinits
for genName, gen := range allGenerators {
// make the generator options marker itself
defn := markers.Must(markers.MakeDefinition(genName, markers.DescribesPackage, gen))
if err := optionsRegistry.Register(defn); err != nil {
panic(err)
}
if helpGiver, hasHelp := gen.(genall.HasHelp); hasHelp {
if help := helpGiver.Help(); help != nil {
optionsRegistry.AddHelp(defn, help)
}
}
// make per-generation output rule markers
for ruleName, rule := range allOutputRules {
ruleMarker := markers.Must(markers.MakeDefinition(fmt.Sprintf("output:%s:%s", genName, ruleName), markers.DescribesPackage, rule))
if err := optionsRegistry.Register(ruleMarker); err != nil {
panic(err)
}
if helpGiver, hasHelp := rule.(genall.HasHelp); hasHelp {
if help := helpGiver.Help(); help != nil {
optionsRegistry.AddHelp(ruleMarker, help)
}
}
}
}
// make "default output" output rule markers
for ruleName, rule := range allOutputRules {
ruleMarker := markers.Must(markers.MakeDefinition("output:"+ruleName, markers.DescribesPackage, rule))
if err := optionsRegistry.Register(ruleMarker); err != nil {
panic(err)
}
if helpGiver, hasHelp := rule.(genall.HasHelp); hasHelp {
if help := helpGiver.Help(); help != nil {
optionsRegistry.AddHelp(ruleMarker, help)
}
}
}
// add in the common options markers
if err := genall.RegisterOptionsMarkers(optionsRegistry); err != nil {
panic(err)
}
}
type noUsageError struct{ error }
func main() {
cmd := &cobra.Command{
Use: "controller-gen",
RunE: func(c *cobra.Command, rawOpts []string) error {
oneOf, err := markers.MakeAnyTypeDefinition("kubebuilder:oneOf", markers.DescribesType, OneOf{})
if err != nil {
return err
}
not, err := markers.MakeAnyTypeDefinition("kubebuilder:not", markers.DescribesType, Not{})
if err != nil {
return err
}
// otherwise, set up the runtime for actually running the generators
rt, err := genall.FromOptions(optionsRegistry, rawOpts)
if err != nil {
return err
}
if err := rt.Collector.Registry.Register(oneOf); err != nil {
return err
}
if err := rt.Collector.Registry.Register(not); err != nil {
return err
}
if len(rt.Generators) == 0 {
return fmt.Errorf("no generators specified")
}
if hadErrs := rt.Run(); hadErrs {
// don't obscure the actual error with a bunch of usage
return noUsageError{fmt.Errorf("not all generators ran successfully")}
}
return nil
},
SilenceUsage: true, // silence the usage, then print it out ourselves if it wasn't suppressed
}
if err := cmd.Execute(); err != nil {
if _, noUsage := err.(noUsageError); !noUsage {
// print the usage unless we suppressed it
if err := cmd.Usage(); err != nil {
panic(err)
}
}
fmt.Fprintf(cmd.OutOrStderr(), "run `%[1]s %[2]s -w` to see all available markers, or `%[1]s %[2]s -h` for usage\n", cmd.CalledAs(), strings.Join(os.Args[1:], " "))
os.Exit(1)
}
}

View File

@ -0,0 +1,37 @@
package main
import (
"encoding/json"
apiext "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
)
type OneOf struct {
Value any
}
func (m OneOf) ApplyToSchema(schema *apiext.JSONSchemaProps) error {
var props apiext.JSONSchemaProps
if data, err := json.Marshal(m.Value); err != nil {
return err
} else if err := json.Unmarshal(data, &props); err != nil {
return err
}
schema.OneOf = append(schema.OneOf, props)
return nil
}
type Not struct {
Value any
}
func (m Not) ApplyToSchema(schema *apiext.JSONSchemaProps) error {
var props apiext.JSONSchemaProps
if data, err := json.Marshal(m.Value); err != nil {
return err
} else if err := json.Unmarshal(data, &props); err != nil {
return err
}
schema.Not = &props
return nil
}

View File

@ -1,34 +0,0 @@
package main
import (
"errors"
"os"
"github.com/kyverno/chainsaw/pkg/commands"
"github.com/spf13/cobra/doc"
)
const path = "./website/docs/commands"
func identity(s string) string {
return s
}
func empty(s string) string {
return ""
}
func main() {
root := commands.RootCommand()
prepender := empty
linkHandler := identity
if _, err := os.Stat(path); errors.Is(err, os.ErrNotExist) {
if err := os.MkdirAll(path, os.ModeDir|os.ModePerm); err != nil {
panic(err)
}
}
root.DisableAutoGenTag = true
if err := doc.GenMarkdownTreeCustom(root, path, prepender, linkHandler); err != nil {
panic(err)
}
}

View File

@ -3,10 +3,13 @@ package main
import (
"os"
"github.com/go-logr/logr"
"github.com/kyverno/chainsaw/pkg/commands"
"sigs.k8s.io/controller-runtime/pkg/log"
)
func main() {
log.SetLogger(logr.Discard())
root := commands.RootCommand()
if err := root.Execute(); err != nil {
os.Exit(1)

45
pkg/apis/compiler.go Normal file
View File

@ -0,0 +1,45 @@
package apis
import (
"sync"
gocel "github.com/google/cel-go/cel"
"github.com/jmespath-community/go-jmespath/pkg/binding"
"github.com/kyverno/chainsaw/pkg/engine/functions"
"github.com/kyverno/kyverno-json/pkg/core/compilers"
"github.com/kyverno/kyverno-json/pkg/core/compilers/cel"
"github.com/kyverno/kyverno-json/pkg/core/compilers/jp"
"k8s.io/apiserver/pkg/cel/library"
)
var (
env = sync.OnceValues(func() (*gocel.Env, error) {
env, err := cel.DefaultEnv()
if err != nil {
return nil, err
}
return env.Extend(
library.URLs(),
library.Regex(),
library.Lists(),
library.Authz(),
library.Quantity(),
library.IP(),
library.CIDR(),
library.Format(),
library.AuthzSelectors(),
)
})
defaultCompilers = compilers.Compilers{
Jp: jp.NewCompiler(jp.WithFunctionCaller(functions.Caller())),
Cel: cel.NewCompiler(env),
}
DefaultCompilers = defaultCompilers.WithDefaultCompiler(compilers.CompilerJP)
)
type Bindings = binding.Bindings
var (
NewBinding = binding.NewBinding
NewBindings = binding.NewBindings
)

View File

@ -0,0 +1,103 @@
package conversion
import (
"github.com/kyverno/chainsaw/pkg/apis/v1alpha1"
"github.com/kyverno/chainsaw/pkg/apis/v1alpha2"
"k8s.io/apimachinery/pkg/conversion"
)
func Convert_v1alpha2_ConfigurationSpec_To_v1alpha1_ConfigurationSpec(in *v1alpha2.ConfigurationSpec, out *v1alpha1.ConfigurationSpec, _ conversion.Scope) error {
out.SkipDelete = in.Cleanup.SkipDelete
out.DelayBeforeCleanup = in.Cleanup.DelayBeforeCleanup
out.Clusters = in.Clusters
out.DeletionPropagationPolicy = in.Deletion.Propagation
out.ExcludeTestRegex = in.Discovery.ExcludeTestRegex
out.IncludeTestRegex = in.Discovery.IncludeTestRegex
out.TestFile = in.Discovery.TestFile
out.FullName = in.Discovery.FullName
out.Catch = in.Error.Catch
out.FailFast = in.Execution.FailFast
out.Parallel = in.Execution.Parallel
out.RepeatCount = in.Execution.RepeatCount
out.ForceTerminationGracePeriod = in.Execution.ForceTerminationGracePeriod
out.Namespace = in.Namespace.Name
out.NamespaceTemplate = in.Namespace.Template
out.NamespaceTemplateCompiler = in.Namespace.Compiler
if in := in.Report; in != nil {
out.ReportFormat = v1alpha1.ReportFormatType(in.Format)
out.ReportPath = in.Path
out.ReportName = in.Name
}
out.Template = in.Templating.Enabled
out.Compiler = in.Templating.Compiler
out.Timeouts = in.Timeouts
return nil
}
func Convert_v1alpha1_ConfigurationSpec_To_v1alpha2_ConfigurationSpec(in *v1alpha1.ConfigurationSpec, out *v1alpha2.ConfigurationSpec, _ conversion.Scope) error {
out.Cleanup = v1alpha2.CleanupOptions{
SkipDelete: in.SkipDelete,
DelayBeforeCleanup: in.DelayBeforeCleanup,
}
out.Clusters = in.Clusters
out.Deletion = v1alpha2.DeletionOptions{
Propagation: in.DeletionPropagationPolicy,
}
out.Discovery = v1alpha2.DiscoveryOptions{
ExcludeTestRegex: in.ExcludeTestRegex,
IncludeTestRegex: in.IncludeTestRegex,
TestFile: in.TestFile,
FullName: in.FullName,
}
out.Error = v1alpha2.ErrorOptions{
Catch: in.Catch,
}
out.Execution = v1alpha2.ExecutionOptions{
FailFast: in.FailFast,
Parallel: in.Parallel,
RepeatCount: in.RepeatCount,
ForceTerminationGracePeriod: in.ForceTerminationGracePeriod,
}
out.Namespace = v1alpha2.NamespaceOptions{
Name: in.Namespace,
Compiler: in.NamespaceTemplateCompiler,
Template: in.NamespaceTemplate,
}
out.Report = &v1alpha2.ReportOptions{
Format: v1alpha2.ReportFormatType(in.ReportFormat),
Path: in.ReportPath,
Name: in.ReportName,
}
out.Templating = v1alpha2.TemplatingOptions{
Enabled: in.Template,
Compiler: in.Compiler,
}
out.Timeouts = in.Timeouts
return nil
}
func autoConvert_v1alpha2_Configuration_To_v1alpha1_Configuration(in *v1alpha2.Configuration, out *v1alpha1.Configuration, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1alpha2_ConfigurationSpec_To_v1alpha1_ConfigurationSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
return nil
}
// Convert_v1alpha2_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.
func Convert_v1alpha2_Configuration_To_v1alpha1_Configuration(in *v1alpha2.Configuration, out *v1alpha1.Configuration, s conversion.Scope) error {
return autoConvert_v1alpha2_Configuration_To_v1alpha1_Configuration(in, out, s)
}
func autoConvert_v1alpha1_Configuration_To_v1alpha2_Configuration(in *v1alpha1.Configuration, out *v1alpha2.Configuration, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1alpha1_ConfigurationSpec_To_v1alpha2_ConfigurationSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
return nil
}
// Convert_v1alpha1_Configuration_To_v1alpha2_Configuration is an autogenerated conversion function.
func Convert_v1alpha1_Configuration_To_v1alpha2_Configuration(in *v1alpha1.Configuration, out *v1alpha2.Configuration, s conversion.Scope) error {
return autoConvert_v1alpha1_Configuration_To_v1alpha2_Configuration(in, out, s)
}

View File

@ -0,0 +1,22 @@
package conversion
import (
"github.com/kyverno/chainsaw/pkg/apis/v1alpha1"
"github.com/kyverno/chainsaw/pkg/apis/v1alpha2"
"k8s.io/apimachinery/pkg/conversion"
"k8s.io/apimachinery/pkg/runtime"
)
func RegisterConversions(s *runtime.Scheme) error {
if err := s.AddGeneratedConversionFunc((*v1alpha2.Configuration)(nil), (*v1alpha1.Configuration)(nil), func(a, b interface{}, scope conversion.Scope) error {
return Convert_v1alpha2_Configuration_To_v1alpha1_Configuration(a.(*v1alpha2.Configuration), b.(*v1alpha1.Configuration), scope)
}); err != nil {
return err
}
if err := s.AddGeneratedConversionFunc((*v1alpha1.Configuration)(nil), (*v1alpha2.Configuration)(nil), func(a, b interface{}, scope conversion.Scope) error {
return Convert_v1alpha1_Configuration_To_v1alpha2_Configuration(a.(*v1alpha1.Configuration), b.(*v1alpha2.Configuration), scope)
}); err != nil {
return err
}
return nil
}

394
pkg/apis/v1alpha1/action.go Normal file
View File

@ -0,0 +1,394 @@
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
)
// ActionBindings contains bindings options for an action.
type ActionBindings struct {
// Bindings defines additional binding key/values.
// +optional
Bindings []Binding `json:"bindings,omitempty"`
}
// ActionCheck contains check for an action.
type ActionCheck struct {
// Check is an assertion tree to validate the operation outcome.
// +optional
Check *Check `json:"check,omitempty"`
}
// ActionCheckRef contains check reference options for an action.
// +kubebuilder:not:={required:{file,resource}}
type ActionCheckRef struct {
FileRef `json:",inline"`
// Check provides a check used in assertions.
// +optional
Check *Projection `json:"resource,omitempty"`
// Template determines whether resources should be considered for templating.
// +optional
Template *bool `json:"template,omitempty"`
}
// ActionClusters contains clusters options for an action.
type ActionClusters struct {
// Cluster defines the target cluster (will be inherited if not specified).
// +optional
Cluster *string `json:"cluster,omitempty"`
// Clusters holds a registry to clusters to support multi-cluster tests.
// +optional
Clusters Clusters `json:"clusters,omitempty"`
}
// ActionDryRun contains dry run options for an action.
type ActionDryRun struct {
// DryRun determines whether the file should be applied in dry run mode.
// +optional
DryRun *bool `json:"dryRun,omitempty"`
}
// ActionEnv contains environment options for an action.
type ActionEnv struct {
// Env defines additional environment variables.
// +optional
Env []Binding `json:"env,omitempty"`
// SkipLogOutput removes the output from the command. Useful for sensitive logs or to reduce noise.
// +optional
SkipLogOutput bool `json:"skipLogOutput,omitempty"`
// SkipCommandOutput removes the command from the output logs.
// +optional
SkipCommandOutput bool `json:"skipCommandOutput,omitempty"`
}
// ActionExpectations contains expectations for an action.
type ActionExpectations struct {
// Expect defines a list of matched checks to validate the operation outcome.
// +optional
Expect []Expectation `json:"expect,omitempty"`
}
// ActionFormat contains format for an action.
type ActionFormat struct {
// Format determines the output format (json or yaml).
// +optional
Format Format `json:"format,omitempty"`
}
type ActionInlineResource struct {
// Resource provides a resource to be applied.
// +kubebuilder:validation:XEmbeddedResource
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Resource *unstructured.Unstructured `json:"resource,omitempty"`
}
// ActionObject contains object selector options for an action.
type ActionObject struct {
ObjectType `json:",inline"`
ActionObjectSelector `json:",inline"`
}
// ActionObjectSelector contains object selector options for an action.
// +kubebuilder:not:={required:{name,selector}}
type ActionObjectSelector struct {
ObjectName `json:",inline"`
// Selector defines labels selector.
// +optional
Selector Expression `json:"selector,omitempty"`
}
// ActionOutputs contains outputs options for an action.
type ActionOutputs struct {
// Outputs defines output bindings.
// +optional
Outputs []Output `json:"outputs,omitempty"`
}
// FileRef represents a file reference.
type FileRef struct {
// File is the path to the referenced file. This can be a direct path to a file
// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML
// files within the "manifest" directory.
File Expression `json:"file,omitempty"`
}
// ActionResourceRef contains resource reference options for an action.
// +kubebuilder:not:={required:{file,resource}}
type ActionResourceRef struct {
FileRef `json:",inline"`
// Resource provides a resource to be applied.
// +kubebuilder:validation:XEmbeddedResource
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Resource *unstructured.Unstructured `json:"resource,omitempty"`
// ActionInlineResource `json:",inline"`
// Template determines whether resources should be considered for templating.
// +optional
Template *bool `json:"template,omitempty"`
}
// ActionTimeout contains timeout options for an action.
type ActionTimeout struct {
// Timeout for the operation. Overrides the global timeout set in the Configuration.
// +optional
Timeout *metav1.Duration `json:"timeout,omitempty"`
}
// Apply represents a set of configurations or resources that
// should be applied during testing.
type Apply struct {
ActionBindings `json:",inline"`
ActionClusters `json:",inline"`
ActionDryRun `json:",inline"`
ActionExpectations `json:",inline"`
ActionOutputs `json:",inline"`
ActionResourceRef `json:",inline"`
ActionTimeout `json:",inline"`
}
// Assert represents a test condition that is expected to hold true
// during the testing process.
type Assert struct {
ActionBindings `json:",inline"`
ActionCheckRef `json:",inline"`
ActionClusters `json:",inline"`
ActionTimeout `json:",inline"`
}
// Command describes a command to run as a part of a test step.
type Command struct {
ActionBindings `json:",inline"`
ActionCheck `json:",inline"`
ActionClusters `json:",inline"`
ActionEnv `json:",inline"`
ActionOutputs `json:",inline"`
ActionTimeout `json:",inline"`
// Entrypoint is the command entry point to run.
Entrypoint string `json:"entrypoint"`
// Args is the command arguments.
// +optional
Args []string `json:"args,omitempty"`
// WorkDir is the working directory for command.
// +optional
WorkDir *string `json:"workDir,omitempty"`
}
// Create represents a set of resources that should be created.
// If a resource already exists in the cluster it will fail.
type Create struct {
ActionBindings `json:",inline"`
ActionClusters `json:",inline"`
ActionDryRun `json:",inline"`
ActionExpectations `json:",inline"`
ActionOutputs `json:",inline"`
ActionResourceRef `json:",inline"`
ActionTimeout `json:",inline"`
}
// Delete is a reference to an object that should be deleted
// +kubebuilder:not:={required:{file,ref}}
type Delete struct {
ActionBindings `json:",inline"`
ActionClusters `json:",inline"`
ActionExpectations `json:",inline"`
ActionTimeout `json:",inline"`
// Template determines whether resources should be considered for templating.
// +optional
Template *bool `json:"template,omitempty"`
// File is the path to the referenced file. This can be a direct path to a file
// or an expression that matches multiple files, such as "manifest/*.yaml" for all YAML
// files within the "manifest" directory.
// +optional
File Expression `json:"file,omitempty"`
// Ref determines objects to be deleted.
// +optional
Ref *ObjectReference `json:"ref,omitempty"`
// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of
// the object, and how the garbage collector will handle the propagation.
// Overrides the deletion propagation policy set in the Configuration, the Test and the TestStep.
// +optional
// +kubebuilder:validation:Enum:=Orphan;Background;Foreground
DeletionPropagationPolicy *metav1.DeletionPropagation `json:"deletionPropagationPolicy,omitempty"`
}
// Describe defines how to describe resources.
type Describe struct {
ActionClusters `json:",inline"`
ActionObject `json:",inline"`
ActionTimeout `json:",inline"`
// Show Events indicates whether to include related events.
// +optional
ShowEvents *bool `json:"showEvents,omitempty"`
}
// Error represents an anticipated error condition that may arise during testing.
// Instead of treating such an error as a test failure, it acknowledges it as expected.
type Error struct {
ActionBindings `json:",inline"`
ActionCheckRef `json:",inline"`
ActionClusters `json:",inline"`
ActionTimeout `json:",inline"`
}
// Events defines how to collect events.
type Events struct {
ActionClusters `json:",inline"`
ActionFormat `json:",inline"`
ActionObjectSelector `json:",inline"`
ActionTimeout `json:",inline"`
}
// Get defines how to get resources.
type Get struct {
ActionClusters `json:",inline"`
ActionFormat `json:",inline"`
ActionObject `json:",inline"`
ActionTimeout `json:",inline"`
}
// Patch represents a set of resources that should be patched.
// If a resource doesn't exist yet in the cluster it will fail.
type Patch struct {
ActionBindings `json:",inline"`
ActionClusters `json:",inline"`
ActionDryRun `json:",inline"`
ActionExpectations `json:",inline"`
ActionOutputs `json:",inline"`
ActionResourceRef `json:",inline"`
ActionTimeout `json:",inline"`
}
// PodLogs defines how to collect pod logs.
type PodLogs struct {
ActionClusters `json:",inline"`
ActionObjectSelector `json:",inline"`
ActionTimeout `json:",inline"`
// Container in pod to get logs from else --all-containers is used.
// +optional
Container Expression `json:"container,omitempty"`
// Tail is the number of last lines to collect from pods. If omitted or zero,
// then the default is 10 if you use a selector, or -1 (all) if you use a pod name.
// This matches default behavior of `kubectl logs`.
// +optional
Tail *int `json:"tail,omitempty"`
}
// Proxy defines how to get resources.
type Proxy struct {
ActionClusters `json:",inline"`
ActionOutputs `json:",inline"`
ActionTimeout `json:",inline"`
ObjectName `json:",inline"`
ObjectType `json:",inline"`
// TargetPort defines the target port to proxy the request.
// +optional
TargetPort Expression `json:"port,omitempty"`
// TargetPath defines the target path to proxy the request.
// +optional
TargetPath Expression `json:"path,omitempty"`
}
// Script describes a script to run as a part of a test step.
type Script struct {
ActionBindings `json:",inline"`
ActionCheck `json:",inline"`
ActionClusters `json:",inline"`
ActionEnv `json:",inline"`
ActionOutputs `json:",inline"`
ActionTimeout `json:",inline"`
// Content defines a shell script (run with "sh -c ...").
// +optional
Content string `json:"content,omitempty"`
// WorkDir is the working directory for script.
// +optional
WorkDir *string `json:"workDir,omitempty"`
}
// Sleep represents a duration while nothing happens.
type Sleep struct {
// Duration is the delay used for sleeping.
Duration metav1.Duration `json:"duration"`
}
// Update represents a set of resources that should be updated.
// If a resource does not exist in the cluster it will fail.
type Update struct {
ActionBindings `json:",inline"`
ActionClusters `json:",inline"`
ActionDryRun `json:",inline"`
ActionExpectations `json:",inline"`
ActionOutputs `json:",inline"`
ActionResourceRef `json:",inline"`
ActionTimeout `json:",inline"`
}
// Wait specifies how to perform wait operations on resources.
type Wait struct {
ActionTimeout `json:",inline"`
ActionFormat `json:",inline"`
ActionClusters `json:",inline"`
ActionObject `json:",inline"`
// WaitFor specifies the condition to wait for.
WaitFor `json:"for"`
}
// WaitFor specifies the condition to wait for.
type WaitFor struct {
// Deletion specifies parameters for waiting on a resource's deletion.
// +optional
Deletion *WaitForDeletion `json:"deletion,omitempty"`
// Condition specifies the condition to wait for.
// +optional
Condition *WaitForCondition `json:"condition,omitempty"`
// JsonPath specifies the json path condition to wait for.
// +optional
JsonPath *WaitForJsonPath `json:"jsonPath,omitempty"`
}
// WaitForCondition represents parameters for waiting on a specific condition of a resource.
type WaitForCondition struct {
// Name defines the specific condition to wait for, e.g., "Available", "Ready".
Name Expression `json:"name"`
// Value defines the specific condition status to wait for, e.g., "True", "False".
// +optional
Value *Expression `json:"value,omitempty"`
}
// WaitForDeletion represents parameters for waiting on a resource's deletion.
type WaitForDeletion struct{}
// WaitForJsonPath represents parameters for waiting on a json path of a resource.
type WaitForJsonPath struct {
// Path defines the json path to wait for, e.g. '{.status.phase}'.
Path Expression `json:"path"`
// Value defines the expected value to wait for, e.g., "Running".
// +optional
Value *Expression `json:"value,omitempty"`
}

View File

@ -1,8 +0,0 @@
package v1alpha1
// Apply represents a set of configurations or resources that
// should be applied during testing.
type Apply struct {
// FileRef provides a reference to the file containing the
FileRef `json:",inline"`
}

View File

@ -1,8 +0,0 @@
package v1alpha1
// Assert represents a test condition that is expected to hold true
// during the testing process.
type Assert struct {
// FileRef provides a reference to the file containing the assertion.
FileRef `json:",inline"`
}

View File

@ -0,0 +1,105 @@
package v1alpha1
// CatchFinally defines actions to be executed in catch, finally and cleanup blocks.
// +kubebuilder:oneOf:={required:{command}}
// +kubebuilder:oneOf:={required:{delete}}
// +kubebuilder:oneOf:={required:{describe}}
// +kubebuilder:oneOf:={required:{events}}
// +kubebuilder:oneOf:={required:{get}}
// +kubebuilder:oneOf:={required:{podLogs}}
// +kubebuilder:oneOf:={required:{script}}
// +kubebuilder:oneOf:={required:{sleep}}
// +kubebuilder:oneOf:={required:{wait}}
type CatchFinally struct {
// Description contains a description of the operation.
// +optional
Description string `json:"description,omitempty"`
// Compiler defines the default compiler to use when evaluating expressions.
// +optional
Compiler *Compiler `json:"compiler,omitempty"`
// PodLogs determines the pod logs collector to execute.
// +optional
PodLogs *PodLogs `json:"podLogs,omitempty"`
// Events determines the events collector to execute.
// +optional
Events *Events `json:"events,omitempty"`
// Describe determines the resource describe collector to execute.
// +optional
Describe *Describe `json:"describe,omitempty"`
// Wait determines the resource wait collector to execute.
// +optional
Wait *Wait `json:"wait,omitempty"`
// Get determines the resource get collector to execute.
// +optional
Get *Get `json:"get,omitempty"`
// Delete represents a deletion operation.
// +optional
Delete *Delete `json:"delete,omitempty"`
// Command defines a command to run.
// +optional
Command *Command `json:"command,omitempty"`
// Script defines a script to run.
// +optional
Script *Script `json:"script,omitempty"`
// Sleep defines zzzz.
// +optional
Sleep *Sleep `json:"sleep,omitempty"`
}
func (f *CatchFinally) Bindings() []Binding {
switch {
case f.Command != nil:
return f.Command.Bindings
case f.Delete != nil:
return f.Delete.Bindings
case f.Describe != nil:
return nil
case f.Events != nil:
return nil
case f.Get != nil:
return nil
case f.PodLogs != nil:
return nil
case f.Script != nil:
return f.Script.Bindings
case f.Sleep != nil:
return nil
case f.Wait != nil:
return nil
}
panic("missing binding operation type handler")
}
func (f *CatchFinally) Outputs() []Output {
switch {
case f.Command != nil:
return f.Command.Outputs
case f.Delete != nil:
return nil
case f.Describe != nil:
return nil
case f.Events != nil:
return nil
case f.Get != nil:
return nil
case f.PodLogs != nil:
return nil
case f.Script != nil:
return f.Script.Outputs
case f.Sleep != nil:
return nil
case f.Wait != nil:
return nil
}
panic("missing output operation type handler")
}

View File

@ -0,0 +1,168 @@
package v1alpha1
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestFinally_Bindings(t *testing.T) {
type fields struct {
PodLogs *PodLogs
Events *Events
Describe *Describe
Wait *Wait
Get *Get
Delete *Delete
Command *Command
Script *Script
Sleep *Sleep
}
tests := []struct {
name string
fields fields
want int
}{{
fields: fields{
Command: &Command{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
fields: fields{
Delete: &Delete{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
fields: fields{
Describe: &Describe{},
},
}, {
fields: fields{
Events: &Events{},
},
}, {
fields: fields{
Get: &Get{},
},
}, {
fields: fields{
PodLogs: &PodLogs{},
},
}, {
fields: fields{
Script: &Script{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
fields: fields{
Sleep: &Sleep{},
},
}, {
fields: fields{
Wait: &Wait{},
},
}}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
c := &CatchFinally{
PodLogs: tt.fields.PodLogs,
Events: tt.fields.Events,
Describe: tt.fields.Describe,
Wait: tt.fields.Wait,
Get: tt.fields.Get,
Delete: tt.fields.Delete,
Command: tt.fields.Command,
Script: tt.fields.Script,
Sleep: tt.fields.Sleep,
}
got := c.Bindings()
assert.Equal(t, tt.want, len(got))
})
}
assert.Panics(t, func() { (&CatchFinally{}).Bindings() })
}
func TestFinally_Outputs(t *testing.T) {
type fields struct {
PodLogs *PodLogs
Events *Events
Describe *Describe
Wait *Wait
Get *Get
Delete *Delete
Command *Command
Script *Script
Sleep *Sleep
}
tests := []struct {
name string
fields fields
want int
}{{
fields: fields{
Command: &Command{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
fields: fields{
Delete: &Delete{},
},
}, {
fields: fields{
Describe: &Describe{},
},
}, {
fields: fields{
Events: &Events{},
},
}, {
fields: fields{
Get: &Get{},
},
}, {
fields: fields{
PodLogs: &PodLogs{},
},
}, {
fields: fields{
Script: &Script{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
fields: fields{
Sleep: &Sleep{},
},
}, {
fields: fields{
Wait: &Wait{},
},
}}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
c := &CatchFinally{
PodLogs: tt.fields.PodLogs,
Events: tt.fields.Events,
Describe: tt.fields.Describe,
Wait: tt.fields.Wait,
Get: tt.fields.Get,
Delete: tt.fields.Delete,
Command: tt.fields.Command,
Script: tt.fields.Script,
Sleep: tt.fields.Sleep,
}
got := c.Outputs()
assert.Equal(t, tt.want, len(got))
})
}
assert.Panics(t, func() { (&CatchFinally{}).Outputs() })
}

View File

@ -20,3 +20,122 @@ type Configuration struct {
// Configuration spec.
Spec ConfigurationSpec `json:"spec"`
}
// ConfigurationSpec contains the configuration used to run tests.
type ConfigurationSpec struct {
// Global timeouts configuration. Applies to all tests/test steps if not overridden.
// +optional
// +kubebuilder:default:={}
Timeouts DefaultTimeouts `json:"timeouts"`
// If set, do not delete the resources after running the tests (implies SkipClusterDelete).
// +optional
SkipDelete bool `json:"skipDelete,omitempty"`
// Template determines whether resources should be considered for templating.
// +optional
// +kubebuilder:default:=true
Template bool `json:"template"`
// Compiler defines the default compiler to use when evaluating expressions.
// +optional
Compiler *Compiler `json:"compiler,omitempty"`
// FailFast determines whether the test should stop upon encountering the first failure.
// +optional
FailFast bool `json:"failFast,omitempty"`
// The maximum number of tests to run at once.
// +kubebuilder:validation:Format:=int
// +kubebuilder:validation:Minimum:=1
// +optional
Parallel *int `json:"parallel,omitempty"`
// DeletionPropagationPolicy decides if a deletion will propagate to the dependents of
// the object, and how the garbage collector will handle the propagation.
// +optional
// +kubebuilder:validation:Enum:=Orphan;Background;Foreground
// +kubebuilder:default:=Background
DeletionPropagationPolicy metav1.DeletionPropagation `json:"deletionPropagationPolicy,omitempty"`
// ReportFormat determines test report format (JSON, XML, JUNIT-TEST, JUNIT-STEP, JUNIT-OPERATION, nil) nil == no report.
// maps to report.Type, however we don't want generated.deepcopy to have reference to it.
// +optional
// +kubebuilder:validation:Enum:=JSON;XML;JUNIT-TEST;JUNIT-STEP;JUNIT-OPERATION;
ReportFormat ReportFormatType `json:"reportFormat,omitempty"`
// ReportPath defines the path.
// +optional
ReportPath string `json:"reportPath,omitempty"`
// ReportName defines the name of report to create. It defaults to "chainsaw-report".
// +optional
// +kubebuilder:default:="chainsaw-report"
ReportName string `json:"reportName,omitempty"`
// Namespace defines the namespace to use for tests.
// If not specified, every test will execute in a random ephemeral namespace
// unless the namespace is overridden in a the test spec.
// +optional
Namespace string `json:"namespace,omitempty"`
// NamespaceTemplateCompiler defines the default compiler to use when evaluating expressions.
// +optional
NamespaceTemplateCompiler *Compiler `json:"namespaceTemplateCompiler,omitempty"`
// NamespaceTemplate defines a template to create the test namespace.
// +optional
NamespaceTemplate *Projection `json:"namespaceTemplate,omitempty"`
// FullName makes use of the full test case folder path instead of the folder name.
// +optional
FullName bool `json:"fullName,omitempty"`
// ExcludeTestRegex is used to exclude tests based on a regular expression.
// +optional
ExcludeTestRegex string `json:"excludeTestRegex,omitempty"`
// IncludeTestRegex is used to include tests based on a regular expression.
// +optional
IncludeTestRegex string `json:"includeTestRegex,omitempty"`
// RepeatCount indicates how many times the tests should be executed.
// +kubebuilder:validation:Format:=int
// +kubebuilder:validation:Minimum:=1
// +optional
RepeatCount *int `json:"repeatCount,omitempty"`
// TestFile is the name of the file containing the test to run.
// If no extension is provided, chainsaw will try with .yaml first and .yml if needed.
// +kubebuilder:default:="chainsaw-test"
// +optional
TestFile string `json:"testFile,omitempty"`
// ForceTerminationGracePeriod forces the termination grace period on pods, statefulsets, daemonsets and deployments.
// +optional
ForceTerminationGracePeriod *metav1.Duration `json:"forceTerminationGracePeriod,omitempty"`
// DelayBeforeCleanup adds a delay between the time a test ends and the time cleanup starts.
// +optional
DelayBeforeCleanup *metav1.Duration `json:"delayBeforeCleanup,omitempty"`
// Clusters holds a registry to clusters to support multi-cluster tests.
// +optional
Clusters Clusters `json:"clusters,omitempty"`
// Catch defines what the tests steps will execute when an error happens.
// This will be combined with catch handlers defined at the test and step levels.
// +optional
Catch []CatchFinally `json:"catch,omitempty"`
}
type ReportFormatType string
const (
JSONFormat ReportFormatType = "JSON"
XMLFormat ReportFormatType = "XML"
JUnitTestFormat ReportFormatType = "JUNIT-TEST"
JUnitStepFormat ReportFormatType = "JUNIT-STEP"
JUnitOperationFormat ReportFormatType = "JUNIT-OPERATION"
NoReport ReportFormatType = ""
)

View File

@ -1,71 +0,0 @@
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
type ReportFormatType string
const (
JSONFormat ReportFormatType = "JSON"
XMLFormat ReportFormatType = "XML"
NoReport ReportFormatType = ""
)
// ConfigurationSpec contains the configuration used to run tests.
type ConfigurationSpec struct {
// Global timeout configuration. Applies to all tests/test steps if not overridden.
// +optional
// +kubebuilder:default:="30s"
Timeout *metav1.Duration `json:"timeout,omitempty"`
// Directories containing test cases to run.
// +optional
TestDirs []string `json:"testDirs,omitempty"`
// If set, do not delete the resources after running the tests (implies SkipClusterDelete).
// +optional
SkipDelete bool `json:"skipDelete,omitempty"`
// FailFast determines whether the test should stop upon encountering the first failure.
// +optional
FailFast bool `json:"failFast,omitempty"`
// The maximum number of tests to run at once.
// +kubebuilder:default:=8
// +kubebuilder:validation:Format:=int
Parallel int `json:"parallel,omitempty"`
// ReportFormat determines test report format (JSON|XML|nil) nil == no report.
// maps to report.Type, however we don't want generated.deepcopy to have reference to it.
// +optional
// +kubebuilder:validation:Enum=JSON;XML;
ReportFormat ReportFormatType `json:"reportFormat,omitempty"`
// ReportName defines the name of report to create. It defaults to "chainsaw-report".
// +optional
// +kubebuilder:default:="chainsaw-report"
ReportName string `json:"reportName,omitempty"`
// Namespace defines the namespace to use for tests.
// +optional
Namespace string `json:"namespace,omitempty"`
// FullName makes use of the full test case folder path instead of the folder name.
// +optional
FullName bool `json:"fullName,omitempty"`
// ExcludeTestRegex is used to exclude tests based on a regular expression.
// +optional
ExcludeTestRegex string `json:"excludeTestRegex,omitempty"`
// IncludeTestRegex is used to include tests based on a regular expression.
// +optional
IncludeTestRegex string `json:"includeTestRegex,omitempty"`
// RepeatCount indicates how many times the tests should be executed.
// +kubebuilder:validation:Format:=int
// +kubebuilder:validation:Minimum:=1
// +optional
RepeatCount *int `json:"repeatCount,omitempty"`
}

View File

@ -1,21 +0,0 @@
package v1alpha1
// Delete is a reference to an object that should be deleted
type Delete struct {
// API version of the referent.
APIVersion string `json:"apiVersion"`
// Kind of the referent.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind string `json:"kind"`
// Namespace of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
// +optional
Namespace string `json:"namespace,omitempty"`
// Name of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
Name string `json:"name,omitempty"`
// Label selector to match objects to delete
// +optional
Labels map[string]string `json:"labels,omitempty"`
}

View File

@ -1,8 +0,0 @@
package v1alpha1
// Error represents an anticipated error condition that may arise during testing.
// Instead of treating such an error as a test failure, it acknowledges it as expected.
type Error struct {
// FileRef provides a reference to the file containing the expected error.
FileRef `json:",inline"`
}

View File

@ -1,7 +0,0 @@
package v1alpha1
// FileRef represents a file reference.
type FileRef struct {
// File is the path to the referenced file.
File string `json:"file"`
}

View File

@ -0,0 +1,181 @@
package v1alpha1
// OperationBase defines common elements to all operations.
type OperationBase struct {
// Description contains a description of the operation.
// +optional
Description string `json:"description,omitempty"`
// ContinueOnError determines whether a test should continue or not in case the operation was not successful.
// Even if the test continues executing, it will still be reported as failed.
// +optional
ContinueOnError *bool `json:"continueOnError,omitempty"`
// Compiler defines the default compiler to use when evaluating expressions.
// +optional
Compiler *Compiler `json:"compiler,omitempty"`
}
// Operation defines a single operation, only one action is permitted for a given operation.
// +kubebuilder:oneOf:={required:{apply}}
// +kubebuilder:oneOf:={required:{assert}}
// +kubebuilder:oneOf:={required:{command}}
// +kubebuilder:oneOf:={required:{create}}
// +kubebuilder:oneOf:={required:{delete}}
// +kubebuilder:oneOf:={required:{describe}}
// +kubebuilder:oneOf:={required:{error}}
// +kubebuilder:oneOf:={required:{events}}
// +kubebuilder:oneOf:={required:{patch}}
// +kubebuilder:oneOf:={required:{podLogs}}
// +kubebuilder:oneOf:={required:{proxy}}
// +kubebuilder:oneOf:={required:{script}}
// +kubebuilder:oneOf:={required:{sleep}}
// +kubebuilder:oneOf:={required:{update}}
// +kubebuilder:oneOf:={required:{wait}}
type Operation struct {
// OperationBase defines common elements to all operations.
// +optional
OperationBase `json:",inline"`
// Apply represents resources that should be applied for this test step. This can include things
// like configuration settings or any other resources that need to be available during the test.
// +optional
Apply *Apply `json:"apply,omitempty"`
// Assert represents an assertion to be made. It checks whether the conditions specified in the assertion hold true.
// +optional
Assert *Assert `json:"assert,omitempty"`
// Command defines a command to run.
// +optional
Command *Command `json:"command,omitempty"`
// Create represents a creation operation.
// +optional
Create *Create `json:"create,omitempty"`
// Delete represents a deletion operation.
// +optional
Delete *Delete `json:"delete,omitempty"`
// Describe determines the resource describe collector to execute.
// +optional
Describe *Describe `json:"describe,omitempty"`
// Error represents the expected errors for this test step. If any of these errors occur, the test
// will consider them as expected; otherwise, they will be treated as test failures.
// +optional
Error *Error `json:"error,omitempty"`
// Events determines the events collector to execute.
// +optional
Events *Events `json:"events,omitempty"`
// Get determines the resource get collector to execute.
// +optional
Get *Get `json:"get,omitempty"`
// Patch represents a patch operation.
// +optional
Patch *Patch `json:"patch,omitempty"`
// PodLogs determines the pod logs collector to execute.
// +optional
PodLogs *PodLogs `json:"podLogs,omitempty"`
// Proxy runs a proxy request.
// +optional
Proxy *Proxy `json:"proxy,omitempty"`
// Script defines a script to run.
// +optional
Script *Script `json:"script,omitempty"`
// Sleep defines zzzz.
// +optional
Sleep *Sleep `json:"sleep,omitempty"`
// Update represents an update operation.
// +optional
Update *Update `json:"update,omitempty"`
// Wait determines the resource wait collector to execute.
// +optional
Wait *Wait `json:"wait,omitempty"`
}
func (o *Operation) Bindings() []Binding {
switch {
case o.Apply != nil:
return o.Apply.Bindings
case o.Assert != nil:
return o.Assert.Bindings
case o.Command != nil:
return o.Command.Bindings
case o.Create != nil:
return o.Create.Bindings
case o.Delete != nil:
return o.Delete.Bindings
case o.Describe != nil:
return nil
case o.Error != nil:
return o.Error.Bindings
case o.Events != nil:
return nil
case o.Get != nil:
return nil
case o.Patch != nil:
return o.Patch.Bindings
case o.PodLogs != nil:
return nil
case o.Proxy != nil:
return nil
case o.Script != nil:
return o.Script.Bindings
case o.Sleep != nil:
return nil
case o.Update != nil:
return o.Update.Bindings
case o.Wait != nil:
return nil
}
panic("missing binding operation type handler")
}
func (o *Operation) Outputs() []Output {
switch {
case o.Apply != nil:
return o.Apply.Outputs
case o.Assert != nil:
return nil
case o.Command != nil:
return o.Command.Outputs
case o.Create != nil:
return o.Create.Outputs
case o.Delete != nil:
return nil
case o.Describe != nil:
return nil
case o.Error != nil:
return nil
case o.Events != nil:
return nil
case o.Get != nil:
return nil
case o.Patch != nil:
return o.Patch.Outputs
case o.PodLogs != nil:
return nil
case o.Proxy != nil:
return o.Proxy.Outputs
case o.Script != nil:
return o.Script.Outputs
case o.Sleep != nil:
return nil
case o.Update != nil:
return o.Update.Outputs
case o.Wait != nil:
return nil
}
panic("missing output operation type handler")
}

View File

@ -0,0 +1,215 @@
package v1alpha1
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestOperation_Bindings(t *testing.T) {
tests := []struct {
name string
operation Operation
want int
}{{
operation: Operation{
Apply: &Apply{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Assert: &Assert{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Command: &Command{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Create: &Create{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Delete: &Delete{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Describe: &Describe{},
},
want: 0,
}, {
operation: Operation{
Error: &Error{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Events: &Events{},
},
want: 0,
}, {
operation: Operation{
Get: &Get{},
},
want: 0,
}, {
operation: Operation{
Patch: &Patch{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
PodLogs: &PodLogs{},
},
want: 0,
}, {
operation: Operation{
Proxy: &Proxy{},
},
want: 0,
}, {
operation: Operation{
Script: &Script{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Sleep: &Sleep{},
},
}, {
operation: Operation{
Update: &Update{
ActionBindings: ActionBindings{Bindings: []Binding{{Name: "foo", Value: NewProjection("bar")}}},
},
},
want: 1,
}, {
operation: Operation{
Wait: &Wait{},
},
}}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := tt.operation.Bindings()
assert.Equal(t, tt.want, len(got))
})
}
assert.Panics(t, func() { (&Operation{}).Bindings() })
}
func TestOperation_Outputs(t *testing.T) {
tests := []struct {
name string
operation Operation
want int
}{{
operation: Operation{
Apply: &Apply{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
Assert: &Assert{},
},
}, {
operation: Operation{
Command: &Command{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
Create: &Create{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
Delete: &Delete{},
},
}, {
operation: Operation{
Describe: &Describe{},
},
}, {
operation: Operation{
Error: &Error{},
},
}, {
operation: Operation{
Events: &Events{},
},
}, {
operation: Operation{
Get: &Get{},
},
}, {
operation: Operation{
Patch: &Patch{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
PodLogs: &PodLogs{},
},
}, {
operation: Operation{
Proxy: &Proxy{},
},
}, {
operation: Operation{
Script: &Script{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
Sleep: &Sleep{},
},
}, {
operation: Operation{
Update: &Update{
ActionOutputs: ActionOutputs{Outputs: []Output{{Binding: Binding{Name: "foo", Value: NewProjection("bar")}}}},
},
},
want: 1,
}, {
operation: Operation{
Wait: &Wait{},
},
}}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := tt.operation.Outputs()
assert.Equal(t, tt.want, len(got))
})
}
assert.Panics(t, func() { (&Operation{}).Outputs() })
}

Some files were not shown because too many files have changed in this diff Show More