Skip to content

Commit bbd5f9f

Browse files
authored
Merge pull request #9 from fluxcd/flux-schema
Add `flux-schema` plugin
2 parents d83580d + fdfe1be commit bbd5f9f

3 files changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: update-schema
2+
on:
3+
schedule:
4+
- cron: '0 */6 * * *'
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'Specific version to add (without v prefix). Defaults to latest release.'
9+
required: false
10+
type: string
11+
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
16+
jobs:
17+
update:
18+
uses: ./.github/workflows/update-plugin.yaml
19+
with:
20+
plugin: schema
21+
repo: fluxcd/flux-schema
22+
bin: flux-schema
23+
version: ${{ inputs.version }}
24+
secrets:
25+
token: ${{ secrets.GITHUB_TOKEN }}

catalog.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ plugins:
66
homepage: https://fluxoperator.dev/
77
source: https://github.com/controlplaneio-fluxcd/flux-operator
88
license: AGPL-3.0
9+
- name: schema
10+
description: Kubernetes schema extraction and manifests validation
11+
homepage: https://fluxcd.io
12+
source: https://github.com/fluxcd/flux-schema
13+
license: Apache-2.0

plugins/schema.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
apiVersion: cli.fluxcd.io/v1beta1
2+
kind: Plugin
3+
name: schema
4+
description: Kubernetes schema extraction and manifests validation
5+
homepage: https://fluxcd.io
6+
source: https://github.com/fluxcd/flux-schema
7+
bin: flux-schema
8+
versions:
9+
- version: 0.0.1
10+
platforms:
11+
- os: darwin
12+
arch: amd64
13+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_darwin_amd64.tar.gz
14+
checksum: sha256:857bfa0cded24bbd32c98fe156ea7c54159f6792028687f23fe653397b8ac716
15+
- os: darwin
16+
arch: arm64
17+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_darwin_arm64.tar.gz
18+
checksum: sha256:06e0a38db4fa6bc9f705a577c7e58dc020bfe2618e45488599e5ef7bb62e3a8a
19+
- os: linux
20+
arch: amd64
21+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_linux_amd64.tar.gz
22+
checksum: sha256:7a2786ec5d4335c68972bd6b68580db108f4cc29a160367fc5088a1b55ece2fa
23+
- os: linux
24+
arch: arm64
25+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_linux_arm64.tar.gz
26+
checksum: sha256:73677ea9af8a0e4a9d6e82c7fe17872479a29a2fe4b1a1d67277a14db67165ec
27+
- os: windows
28+
arch: amd64
29+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_windows_amd64.zip
30+
checksum: sha256:2177210c65a5a79b4fb1627a7fd9ebf0b054fefcc064bb640928029296cf3769
31+
- os: windows
32+
arch: arm64
33+
url: https://github.com/fluxcd/flux-schema/releases/download/v0.0.1/flux-schema_0.0.1_windows_arm64.zip
34+
checksum: sha256:68680757fb5c48e14cfee84b6e7b5a9ed2f1d2ca6ec851ec2edf1e14b569c461

0 commit comments

Comments
 (0)