-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from viccuad/main
ci: Add artifacthub-pkg.yaml, release-drafter, update readme label
- Loading branch information
Showing
3 changed files
with
126 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
categories: | ||
- title: "⚠️ Breaking changes" | ||
labels: | ||
- "kind/major" | ||
- "kind/breaking-change" | ||
- title: "🚀 Features" | ||
labels: | ||
- "kind/enhancement" | ||
- "kind/feature" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "kind/bug" | ||
- title: "🧰 Maintenance" | ||
labels: | ||
- "kind/chore" | ||
- "area/dependencies" | ||
|
||
exclude-labels: | ||
- duplicate | ||
- invalid | ||
- later | ||
- wontfix | ||
- kind/question | ||
- release/skip-changelog | ||
|
||
change-template: "- $TITLE (#$NUMBER)" | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
name-template: "v$RESOLVED_VERSION" | ||
template: | | ||
$CHANGES | ||
autolabeler: | ||
# Tag any PR with "!" in the subject as major update. In other words, breaking change | ||
- label: "kind/breaking-change" | ||
title: "/.*!:.*/" | ||
- label: "area/dependencies" | ||
title: "chore(deps)" | ||
- label: "area/dependencies" | ||
title: "fix(deps)" | ||
- label: "area/dependencies" | ||
title: "build(deps)" | ||
- label: "kind/feature" | ||
title: "feat" | ||
- label: "kind/bug" | ||
title: "fix" | ||
- label: "kind/chore" | ||
title: "chore" | ||
|
||
version-resolver: | ||
major: | ||
labels: | ||
- "kind/major" | ||
- "kind/breaking-change" | ||
minor: | ||
labels: | ||
- "kind/minor" | ||
- "kind/feature" | ||
- "kind/enhancement" | ||
patch: | ||
labels: | ||
- "kind/patch" | ||
- "kind/fix" | ||
- "kind/bug" | ||
- "kind/chore" | ||
- "area/dependencies" | ||
default: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Kubewarden Artifacthub Package config | ||
# | ||
# Use this config to submit the policy to https://artifacthub.io. | ||
# | ||
# This config can be saved to its default location with: | ||
# kwctl scaffold artifacthub > artifacthub-pkg.yml | ||
version: 1.0.1 | ||
name: cel-policy | ||
displayName: CEL Policy | ||
createdAt: 2024-06-14T15:37:43.942187384Z | ||
description: A policy that evaluates CEL expressions | ||
license: Apache-2.0 | ||
homeURL: https://github.com/kubewarden/cel-policy | ||
containersImages: | ||
- name: policy | ||
image: ghcr.io/kubewarden/policies/cel-policy:v1.0.1 | ||
keywords: | ||
- compliance | ||
- CEL | ||
- ValidatingAdmissionPolicy | ||
- Common Expression Language | ||
links: | ||
- name: policy | ||
url: https://github.com/kubewarden/cel-policy/releases/download/v1.0.1/policy.wasm | ||
- name: source | ||
url: https://github.com/kubewarden/cel-policy | ||
install: | | ||
The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl): | ||
```console | ||
kwctl pull ghcr.io/kubewarden/policies/cel-policy:v1.0.1 | ||
``` | ||
Then, generate the policy manifest and tune it to your liking. For example: | ||
```console | ||
kwctl scaffold manifest -t ClusterAdmissionPolicy registry://ghcr.io/kubewarden/policies/cel-policy:v1.0.1 | ||
``` | ||
maintainers: | ||
- name: Kubewarden developers | ||
email: cncf-kubewarden-maintainers@lists.cncf.io | ||
provider: | ||
name: kubewarden | ||
recommendations: | ||
- url: https://artifacthub.io/packages/helm/kubewarden/kubewarden-controller | ||
annotations: | ||
kubewarden/contextAwareResources: | | ||
- apiVersion: v1 | ||
kind: Namespace | ||
kubewarden/mutation: 'false' | ||
kubewarden/resources: Any | ||
kubewarden/rules: | | ||
- apiGroups: | ||
- '' | ||
apiVersions: | ||
- v1 | ||
resources: | ||
- '*' | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
- DELETE |