Skip to content

Commit

Permalink
feat: add playground command (#101) (#129)
Browse files Browse the repository at this point in the history
* feat: add playground command



* codegen



* rm wasm



* mkdocs nav



* workflows



---------

Signed-off-by: Charles-Edouard Brétéché <[email protected]>
Co-authored-by: Jim Bugwadia <[email protected]>
  • Loading branch information
eddycharly and JimBugwadia authored Oct 19, 2023
1 parent 08cdc4d commit 4ee2aa7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions website/docs/catalog/policies/aws/policy-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ tags:
---
# Policy 1

## Description

Policy 1

## Install

### In cluster
Expand All @@ -19,13 +23,10 @@ kubectl apply -f https://raw.githubusercontent.com/kyverno/kyverno-json/main/cat
curl -O https://raw.githubusercontent.com/kyverno/kyverno-json/main/catalog/aws/policy-1.yaml
```

## Description

Policy 1

## Manifest

[Original policy](https://github.com/kyverno/kyverno-json/catalog/aws/policy-1.yaml)
[Original policy](https://github.com/kyverno/kyverno-json/blob/main/catalog/aws/policy-1.yaml)
[Raw](https://raw.githubusercontent.com/kyverno/kyverno-json/main/catalog/aws/policy-1.yaml)

```yaml
apiVersion: json.kyverno.io/v1alpha1
Expand Down
11 changes: 6 additions & 5 deletions website/docs/catalog/policies/ecs/policy-1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# policy-1

## Description

None

## Install

### In cluster
Expand All @@ -15,13 +19,10 @@ kubectl apply -f https://raw.githubusercontent.com/kyverno/kyverno-json/main/cat
curl -O https://raw.githubusercontent.com/kyverno/kyverno-json/main/catalog/ecs/policy-1.yaml
```

## Description

None

## Manifest

[Original policy](https://github.com/kyverno/kyverno-json/catalog/ecs/policy-1.yaml)
[Original policy](https://github.com/kyverno/kyverno-json/blob/main/catalog/ecs/policy-1.yaml)
[Raw](https://raw.githubusercontent.com/kyverno/kyverno-json/main/catalog/ecs/policy-1.yaml)

```yaml
apiVersion: json.kyverno.io/v1alpha1
Expand Down
11 changes: 6 additions & 5 deletions website/policy.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ tags:
{{- end }}
# {{ .Title }}

## Description

{{ .Description }}

## Install

### In cluster
Expand All @@ -22,13 +26,10 @@ kubectl apply -f https://raw.githubusercontent.com/kyverno/kyverno-json/main/{{
curl -O https://raw.githubusercontent.com/kyverno/kyverno-json/main/{{ .Path }}
```

## Description

{{ .Description }}

## Manifest

[Original policy](https://github.com/kyverno/kyverno-json/{{ .Path }})
[Original policy](https://github.com/kyverno/kyverno-json/blob/main/{{ .Path }})
[Raw](https://raw.githubusercontent.com/kyverno/kyverno-json/main/{{ .Path }})

```yaml
{{ .Manifest }}
Expand Down

0 comments on commit 4ee2aa7

Please sign in to comment.