Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: validator-labs/validator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.2
Choose a base ref
...
head repository: validator-labs/validator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.3
Choose a head ref
  • 6 commits
  • 14 files changed
  • 3 contributors

Commits on Aug 8, 2024

  1. deps(deps): update golang.org/x/exp digest to 0cdaa3a (#376)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | golang.org/x/exp | require | digest | `8a7402a` -> `0cdaa3a` |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
    [repository job
    log](https://developer.mend.io/github/validator-labs/validator).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iLCJwaW4iXX0=-->
    
    Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    65e2c2f View commit details

Commits on Aug 9, 2024

  1. docs: update architecture diagram (#378)

    ## Issue
    N/A
    
    ## Description
    Update architecture diagram and remove license from README.
    
    ---------
    
    Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
    TylerGillson authored Aug 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8fd8c5d View commit details
  2. feat: add GroupResource consts; set TypeMeta in Build (#379)

    ## Issue
    Resolves #371
    
    ## Description
    Once plugins implement `ValidationRule`, `Build` will populate
    `TypeMeta` properly.
    
    ---------
    
    Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
    TylerGillson authored Aug 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c05a36e View commit details

Commits on Aug 10, 2024

  1. chore: bump oci plugin version (#381)

    ## Issue
    N/A
    
    ## Description
    Bump plugin versions to the latest released.
    ahmad-ibra authored Aug 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8e09f0b View commit details
  2. deps(deps): update module github.com/validator-labs/validator-plugin-…

    …oci to v0.2.0 (#380)
    
    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    |
    [github.com/validator-labs/validator-plugin-oci](https://togithub.com/validator-labs/validator-plugin-oci)
    | `v0.1.0` -> `v0.2.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvalidator-labs%2fvalidator-plugin-oci/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvalidator-labs%2fvalidator-plugin-oci/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvalidator-labs%2fvalidator-plugin-oci/v0.1.0/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvalidator-labs%2fvalidator-plugin-oci/v0.1.0/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>validator-labs/validator-plugin-oci
    (github.com/validator-labs/validator-plugin-oci)</summary>
    
    ###
    [`v0.2.0`](https://togithub.com/validator-labs/validator-plugin-oci/releases/tag/v0.2.0)
    
    [Compare
    Source](https://togithub.com/validator-labs/validator-plugin-oci/compare/v0.1.0...v0.2.0)
    
    ##### ⚠ BREAKING CHANGES
    
    - ensure we only pull artifacts when running full or fast layer
    validation
    ([#&#8203;256](https://togithub.com/validator-labs/validator-plugin-oci/issues/256))
    
    ##### Features
    
    - add GetKind to satisfy ValidationRule
    ([#&#8203;255](https://togithub.com/validator-labs/validator-plugin-oci/issues/255))
    ([c1942b7](https://togithub.com/validator-labs/validator-plugin-oci/commit/c1942b7a710406fe358424447d476b52ed43009f))
    - add support for basic and ecr auth for direct invocation
    ([#&#8203;250](https://togithub.com/validator-labs/validator-plugin-oci/issues/250))
    ([2b99278](https://togithub.com/validator-labs/validator-plugin-oci/commit/2b992780f1cf6da1395a3fe1fa64abab12e3111e))
    
    ##### Bug Fixes
    
    - ensure we only pull artifacts when running full or fast layer
    validation
    ([#&#8203;256](https://togithub.com/validator-labs/validator-plugin-oci/issues/256))
    ([d1a9c20](https://togithub.com/validator-labs/validator-plugin-oci/commit/d1a9c2047b53fb3993f7250f0ca1bad1134f9ad7))
    
    ##### Dependency Updates
    
    - **deps:** update
    github.com/awslabs/amazon-ecr-credential-helper/ecr-login digest to
    [`0ed0161`](https://togithub.com/validator-labs/validator-plugin-oci/commit/0ed0161)
    ([#&#8203;251](https://togithub.com/validator-labs/validator-plugin-oci/issues/251))
    ([92d0177](https://togithub.com/validator-labs/validator-plugin-oci/commit/92d0177e337a898e0b3ac2d60635a0b8cd9cef96))
    - **deps:** update
    github.com/awslabs/amazon-ecr-credential-helper/ecr-login digest to
    [`ac94a34`](https://togithub.com/validator-labs/validator-plugin-oci/commit/ac94a34)
    ([#&#8203;254](https://togithub.com/validator-labs/validator-plugin-oci/issues/254))
    ([79e44cc](https://togithub.com/validator-labs/validator-plugin-oci/commit/79e44cc469a0ba15753bf2d7f23bfc08fdee60f7))
    - **deps:** update
    github.com/awslabs/amazon-ecr-credential-helper/ecr-login digest to
    [`daddeb8`](https://togithub.com/validator-labs/validator-plugin-oci/commit/daddeb8)
    ([#&#8203;253](https://togithub.com/validator-labs/validator-plugin-oci/issues/253))
    ([0c599b5](https://togithub.com/validator-labs/validator-plugin-oci/commit/0c599b55c5250ce6218dbe3704687756ae85c889))
    - **deps:** update module github.com/validator-labs/validator to v0.1.2
    ([#&#8203;239](https://togithub.com/validator-labs/validator-plugin-oci/issues/239))
    ([80d23b0](https://togithub.com/validator-labs/validator-plugin-oci/commit/80d23b0a02b74b9da1d74b96cee20996da9a0cbd))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
    [repository job
    log](https://developer.mend.io/github/validator-labs/validator).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->
    
    Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4642c6c View commit details
  3. chore(main): release 0.1.3 (#377)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [0.1.3](v0.1.2...v0.1.3)
    (2024-08-10)
    
    
    ### Features
    
    * add GroupResource consts; set TypeMeta in Build
    ([#379](#379))
    ([c05a36e](c05a36e))
    
    
    ### Other
    
    * bump oci plugin version
    ([#381](#381))
    ([8e09f0b](8e09f0b))
    
    
    ### Docs
    
    * update architecture diagram
    ([#378](#378))
    ([8fd8c5d](8fd8c5d))
    
    
    ### Dependency Updates
    
    * **deps:** update golang.org/x/exp digest to 0cdaa3a
    ([#376](#376))
    ([65e2c2f](65e2c2f))
    * **deps:** update module github.com/validator-labs/validator-plugin-oci
    to v0.2.0
    ([#380](#380))
    ([4642c6c](4642c6c))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    TylerGillson authored Aug 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7dc101e View commit details
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"0.1.2"}
{".":"0.1.3"}
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## [0.1.3](https://github.com/validator-labs/validator/compare/v0.1.2...v0.1.3) (2024-08-10)


### Features

* add GroupResource consts; set TypeMeta in Build ([#379](https://github.com/validator-labs/validator/issues/379)) ([c05a36e](https://github.com/validator-labs/validator/commit/c05a36eebd3c6ce0398e9c3bd9946a22516d7966))


### Other

* bump oci plugin version ([#381](https://github.com/validator-labs/validator/issues/381)) ([8e09f0b](https://github.com/validator-labs/validator/commit/8e09f0b8c4c7851f9a9f7e3b648c375f324d3856))


### Docs

* update architecture diagram ([#378](https://github.com/validator-labs/validator/issues/378)) ([8fd8c5d](https://github.com/validator-labs/validator/commit/8fd8c5d5e7c5264ac8ddcf572992b628a0a72a22))


### Dependency Updates

* **deps:** update golang.org/x/exp digest to 0cdaa3a ([#376](https://github.com/validator-labs/validator/issues/376)) ([65e2c2f](https://github.com/validator-labs/validator/commit/65e2c2fde9ae01a6cc6867184174e56366e26122))
* **deps:** update module github.com/validator-labs/validator-plugin-oci to v0.2.0 ([#380](https://github.com/validator-labs/validator/issues/380)) ([4642c6c](https://github.com/validator-labs/validator/commit/4642c6c7a7d7954b50450612b2d322c0e6696fee))

## [0.1.2](https://github.com/validator-labs/validator/compare/v0.1.1...v0.1.2) (2024-08-08)


21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
[![codecov](https://codecov.io/gh/validator-labs/validator/graph/badge.svg?token=GVZ4LZ5SOY)](https://codecov.io/gh/validator-labs/validator)
[![Go Reference](https://pkg.go.dev/badge/github.com/validator-labs/validator.svg)](https://pkg.go.dev/github.com/validator-labs/validator)

validator (AKA Validation Controller) monitors ValidationResults created by one or more validator plugins and uploads them to a sink of your choosing, e.g., Slack or Spectro Cloud Palette.
validator (AKA Validation Controller) monitors ValidationResults created by one or more validator plugins and uploads them to a sink of your choosing, e.g., Slack or Alertmanager.

<img width="1364" alt="image" src="https://github.com/validator-labs/validator/assets/1795270/e68dfdf5-25bf-4336-ad87-f783c4825c7e">
![validator architecture](./docs/img/validator.png)

## Description
The validator repository is fairly minimal - all the heavy lifting is done by the validator plugins. Installation of validator and one or more plugins is accomplished via Helm.
@@ -264,20 +264,3 @@ make manifests
**NOTE:** Run `make --help` for more information on all potential `make` targets

More information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html)

## License

Copyright 2023.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

26 changes: 23 additions & 3 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -20,17 +20,37 @@ limitations under the License.
package v1alpha1

import (
"reflect"

"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "validation.spectrocloud.labs", Version: "v1alpha1"}
// APIVersion is the API version used to reference v1alpha1 objects.
APIVersion = GroupVersion.String()

// Group is the API group used to reference validator objects.
Group = "validation.spectrocloud.labs"

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
// GroupVersion is group version used to register these objects.
GroupVersion = schema.GroupVersion{Group: Group, Version: "v1alpha1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme

// ValidatorConfigKind is the kind of the ValidatorConfig object.
ValidatorConfigKind = reflect.TypeOf(ValidatorConfig{}).Name()

// ValidatorConfigGroupResource is the name of the ValidatorConfig resource.
ValidatorConfigGroupResource = schema.GroupResource{Group: Group, Resource: "validatorconfigs"}

// ValidationResultKind is the kind of the ValidationResult object.
ValidationResultKind = reflect.TypeOf(ValidationResult{}).Name()

// ValidationResultGroupResource is the name of the ValidationResult resource.
ValidationResultGroupResource = schema.GroupResource{Group: Group, Resource: "validationresults"}
)
2 changes: 1 addition & 1 deletion chart/validator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -4,5 +4,5 @@ description: >-
Monitor results created by validator plugins and upload them to a configurable
sink
type: application
version: 0.1.2
version: 0.1.3
appVersion: 0.0.27
Loading