Skip to content

Commit ac3c112

Browse files
feat: bump version
1 parent 2fc547f commit ac3c112

File tree

4 files changed

+19
-23
lines changed

4 files changed

+19
-23
lines changed

Diff for: .goreleaser.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ archives:
1212
windows: Windows
1313
386: i386
1414
amd64: x86_64
15+
arm64: arm64
1516
format_overrides:
1617
- goos: windows
1718
format: zip

Diff for: README.md

+9-19
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,30 @@
1-
# helm schema gen plugin [ CURRENTLY NOT MAINTAINED ]
1+
# helm schema gen plugin
22

3-
![](https://github.com/karuppiah7890/helm-schema-gen/workflows/goreleaser/badge.svg)
3+
![](https://github.com/KnechtionsCoding/helm-schema-gen/workflows/goreleaser/badge.svg)
44

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

77
[Helm](https://helm.sh) plugin to generate [JSON Schema for values yaml](https://helm.sh/docs/topics/charts/#schema-files)
88

9-
## Note about maintenance
10-
11-
I currently don't have the bandwidth to reply to issues, write code and review PRs. For now I recommend forking the repo and making changes and using the fork 😅
12-
139
## Code stuff
1410

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

17-
- [go-jsonschema-generator](https://github.com/karuppiah7890/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)
13+
- [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)
1814
- [go-yaml](https://github.com/go-yaml/yaml/) - for YAML parsing
1915
- [cobra](https://github.com/spf13/cobra) - for CLI stuff
2016
- [The Go stdlib](https://golang.org/pkg/) - for everything else
2117

22-
2318
## Install
2419

2520
The plugin works with both Helm v2 and v3 versions as it's agnostic to the Helm
2621
binary version
2722

2823
```
29-
$ helm plugin install https://github.com/karuppiah7890/helm-schema-gen.git
30-
karuppiah7890/helm-schema-gen info checking GitHub for tag '0.0.4'
31-
karuppiah7890/helm-schema-gen info found version: 0.0.4 for 0.0.4/Darwin/x86_64
32-
karuppiah7890/helm-schema-gen info installed ./bin/helm-schema-gen
24+
$ helm plugin install https://github.com/KnechtionsCoding/helm-schema-gen.git
25+
KnechtionsCoding/helm-schema-gen info checking GitHub for tag '0.0.4'
26+
KnechtionsCoding/helm-schema-gen info found version: 0.0.4 for 0.0.4/Darwin/x86_64
27+
KnechtionsCoding/helm-schema-gen info installed ./bin/helm-schema-gen
3328
Installed plugin: schema-gen
3429
```
3530

@@ -217,14 +212,9 @@ $ helm schema-gen values.yaml
217212
You can save it to a file like this
218213

219214
```
220-
$ helm schema-gen values.yaml > values.schema.json
215+
helm schema-gen values.yaml > values.schema.json
221216
```
222217

223218
## Issues? Feature Requests? Proposals? Feedback?
224219

225-
Note: I currently don't have the bandwidth to reply to issues, write code and review PRs. For now I recommend forking the repo and making changes and using the fork 😅
226-
227-
Put them all in [GitHub issues](https://github.com/karuppiah7890/helm-schema-gen/issues) 😁
228-
I value every feedback. I really want to make sure that my tools help people and does not
229-
annoy people. I want my tools to enable people and not hinder them. I'll do my best to help you
230-
if you face any hindrance because of using my tools! :)
220+
Put them all in [GitHub issues](https://github.com/KnechtionsCoding/helm-schema-gen/issues)

Diff for: plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "schema-gen"
2-
version: "0.0.4"
2+
version: "0.0.5"
33
usage: "generate json schema for values yaml"
44
description: "generate json schema for values yaml"
55
command: "$HELM_PLUGIN_DIR/bin/helm-schema-gen"

Diff for: scripts/install.sh

+8-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ set -e
66
usage() {
77
this=$1
88
cat <<EOF
9-
$this: download go binaries for karuppiah7890/helm-schema-gen
9+
$this: download go binaries for KnechtionsCoding/helm-schema-gen
1010
1111
Usage: $this [-b] bindir [-d] [tag]
1212
-b sets bindir or installation directory, Defaults to ./bin
1313
-d turns on debug logging
1414
[tag] is a tag from
15-
https://github.com/karuppiah7890/helm-schema-gen/releases
15+
https://github.com/KnechtionsCoding/helm-schema-gen/releases
1616
If tag is missing, then the latest will be used.
1717
1818
Generated by godownloader
@@ -64,10 +64,13 @@ get_binaries() {
6464
case "$PLATFORM" in
6565
darwin/386) BINARIES="helm-schema-gen" ;;
6666
darwin/amd64) BINARIES="helm-schema-gen" ;;
67+
darwin/arm64) BINARIES="helm-schema-gen" ;;
6768
linux/386) BINARIES="helm-schema-gen" ;;
6869
linux/amd64) BINARIES="helm-schema-gen" ;;
70+
linux/ard64) BINARIES="helm-schema-gen" ;;
6971
windows/386) BINARIES="helm-schema-gen" ;;
7072
windows/amd64) BINARIES="helm-schema-gen" ;;
73+
windows/arm64) BINARIES="helm-schema-gen" ;;
7174
*)
7275
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
7376
exit 1
@@ -101,6 +104,7 @@ adjust_os() {
101104
case ${OS} in
102105
386) OS=i386 ;;
103106
amd64) OS=x86_64 ;;
107+
arm64) OS=arm ;;
104108
darwin) OS=Darwin ;;
105109
linux) OS=Linux ;;
106110
windows) OS=Windows ;;
@@ -112,6 +116,7 @@ adjust_arch() {
112116
case ${ARCH} in
113117
386) ARCH=i386 ;;
114118
amd64) ARCH=x86_64 ;;
119+
arm64) ARCH=arm64 ;;
115120
darwin) ARCH=Darwin ;;
116121
linux) ARCH=Linux ;;
117122
windows) ARCH=Windows ;;
@@ -350,7 +355,7 @@ End of functions from https://github.com/client9/shlib
350355
EOF
351356

352357
PROJECT_NAME="helm-schema-gen"
353-
OWNER=karuppiah7890
358+
OWNER=KnechtionsCoding
354359
REPO="helm-schema-gen"
355360
BINARY=helm-schema-gen
356361
FORMAT=tar.gz

0 commit comments

Comments
 (0)