Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zbigniewzabost-hivemq committed Jun 15, 2023
1 parent f593b3f commit 2fd7638
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# helm schema gen plugin

![](https://github.com/KnechtionsCoding/helm-schema-gen/workflows/goreleaser/badge.svg)
![](https://github.com/zbigniewzabost-hivemq/helm-schema-gen/workflows/goreleaser/badge.svg)

So that you don't have to write values.schema.json by hand from scratch for your Helm 3 charts

Expand All @@ -10,7 +10,7 @@ So that you don't have to write values.schema.json by hand from scratch for your

Nothing fancy about the code, all the heavy lifting is done by:

- [go-jsonschema-generator](https://github.com/KnechtionsCoding/go-jsonschema-generator) - for generating JSON schema. It's a fork of [this](https://github.com/mcuadros/go-jsonschema-generator). Thanks to [@mcuadros](https://github.com/mcuadros)
- [go-jsonschema-generator](https://github.com/zbigniewzabost-hivemq/go-jsonschema-generator) - for generating JSON schema. It's a fork of [this](https://github.com/mcuadros/go-jsonschema-generator). Thanks to [@mcuadros](https://github.com/mcuadros)
- [go-yaml](https://github.com/go-yaml/yaml/) - for YAML parsing
- [cobra](https://github.com/spf13/cobra) - for CLI stuff
- [The Go stdlib](https://golang.org/pkg/) - for everything else
Expand All @@ -21,10 +21,10 @@ The plugin works with both Helm v2 and v3 versions as it's agnostic to the Helm
binary version

```
$ helm plugin install https://github.com/KnechtionsCoding/helm-schema-gen.git
KnechtionsCoding/helm-schema-gen info checking GitHub for tag '0.0.4'
KnechtionsCoding/helm-schema-gen info found version: 0.0.4 for 0.0.4/Darwin/x86_64
KnechtionsCoding/helm-schema-gen info installed ./bin/helm-schema-gen
$ helm plugin install https://github.com/zbigniewzabost-hivemq/helm-schema-gen.git
zbigniewzabost-hivemq/helm-schema-gen info checking GitHub for tag '0.0.4'
zbigniewzabost-hivemq/helm-schema-gen info found version: 0.0.4 for 0.0.4/Darwin/x86_64
zbigniewzabost-hivemq/helm-schema-gen info installed ./bin/helm-schema-gen
Installed plugin: schema-gen
```

Expand Down Expand Up @@ -217,4 +217,4 @@ helm schema-gen values.yaml > values.schema.json

## Issues? Feature Requests? Proposals? Feedback?

Put them all in [GitHub issues](https://github.com/KnechtionsCoding/helm-schema-gen/issues)
Put them all in [GitHub issues](https://github.com/zbigniewzabost-hivemq/helm-schema-gen/issues)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/knechtionscoding/helm-schema-gen
module github.com/zbigniewzabost-hivemq/helm-schema-gen

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/knechtionscoding/helm-schema-gen/cmd"
import "github.com/zbigniewzabost-hivemq/helm-schema-gen/cmd"

func main() {
cmd.Execute()
Expand Down
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ set -e
usage() {
this=$1
cat <<EOF
$this: download go binaries for KnechtionsCoding/helm-schema-gen
$this: download go binaries for zbigniewzabost-hivemq/helm-schema-gen
Usage: $this [-b] bindir [-d] [tag]
-b sets bindir or installation directory, Defaults to ./bin
-d turns on debug logging
[tag] is a tag from
https://github.com/KnechtionsCoding/helm-schema-gen/releases
https://github.com/zbigniewzabost-hivemq/helm-schema-gen/releases
If tag is missing, then the latest will be used.
Generated by godownloader
Expand Down Expand Up @@ -355,7 +355,7 @@ End of functions from https://github.com/client9/shlib
EOF

PROJECT_NAME="helm-schema-gen"
OWNER=KnechtionsCoding
OWNER=zbigniewzabost-hivemq
REPO="helm-schema-gen"
BINARY=helm-schema-gen
FORMAT=tar.gz
Expand Down

0 comments on commit 2fd7638

Please sign in to comment.