Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --helm3 to the minio app #7

Closed
Waterdrips opened this issue Feb 12, 2020 · 7 comments · Fixed by #48
Closed

add --helm3 to the minio app #7

Waterdrips opened this issue Feb 12, 2020 · 7 comments · Fixed by #48
Labels
good first issue Good for newcomers help wanted Extra attention is needed skill/beginner

Comments

@Waterdrips
Copy link
Contributor

Waterdrips commented Feb 12, 2020

Expected Behaviour

we should be able to use helm3 for minio and make it default

Current Behaviour

helm2

Possible Solution

add helm3 using the same pattern as other apps

@Waterdrips
Copy link
Contributor Author

/assign: me

@alexellis alexellis transferred this issue from alexellis/k3sup Feb 26, 2020
@Waterdrips Waterdrips removed their assignment Feb 26, 2020
@Waterdrips
Copy link
Contributor Author

Derek add label: help wanted, skill/beginner, good first issue

@derek derek bot added good first issue Good for newcomers help wanted Extra attention is needed skill/beginner labels Feb 26, 2020
@kadern0
Copy link
Contributor

kadern0 commented Mar 8, 2020

While working on this, I've found an issue in the code. If the user doesn't supply access and secret keys, they get generated with:
password.Generate()

Then we pass such keys within the overrides parameter to helm3Upgrade and in there, we parse them and use them as Args in execute.ExecTask.

The problem is that the key contains a "," the task execution will fail because it will be unable to parse the arguments.

Example (I've added code to print all the arguments passed to the task):

./arkade install minio
Using kubeconfig: /home/kaderno/.kube/config
Using helm3
Client: x86_64, Linux
2020/03/08 18:06:54 User dir established as: /home/kaderno/.arkade/
"stable" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "openfaas" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈ 
Access Key not provided, one will be generated for you
Secret Key not provided, one will be generated for you
VALUES values.yaml
upgrade
--install
minio
stable/minio
--namespace
default
--values
/tmp/charts/minio/values.yaml
--set
accessKey=6v5l4b854Zh483OmNya7
--set
secretKey=gwZ7BEspAO761P@qRjIX7&W[9UW8TJ53J,gH8V\r
--set
persistence.enabled=false
Command: /home/kaderno/.arkade/bin/helm3/helm [upgrade --install minio stable/minio --namespace default --values /tmp/charts/minio/values.yaml --set accessKey=6v5l4b854Zh483OmNya7 --set secretKey=gwZ7BEspAO761P@qRjIX7&W[9UW8TJ53J,gH8V\r --set persistence.enabled=false]
Error: failed parsing --set data: key "gH8Vr" has no value
Error: exit code 1, stderr: Error: failed parsing --set data: key "gH8Vr" has no value

@Waterdrips
Copy link
Contributor Author

Can the keys be quoted? Will that fix the problem?

@kadern0
Copy link
Contributor

kadern0 commented Mar 14, 2020

@Waterdrips got it fixed! Sometimes reading the documentation helps :)

@alexellis
Copy link
Owner

Are the values being sent via Command or Args?

@kadern0
Copy link
Contributor

kadern0 commented Mar 14, 2020

Same as before, just limited the allowed symbols within the generated secret key

@Waterdrips Waterdrips changed the title add --helm3 to the mongo/db and minio apps add --helm3 to the minio app Mar 18, 2020
VariableExp0rt pushed a commit to VariableExp0rt/arkade that referenced this issue Jan 4, 2024
# This is the 1st commit message:

Update README.md

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#2:

address comments and remove dependency on go-git

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#3:

Fix for regex for downloading Node.js

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#4:

Bump golang.org/x/crypto from 0.14.0 to 0.15.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.15.0.
- [Commits](golang/crypto@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#5:

Bump golang.org/x/mod from 0.13.0 to 0.14.0

Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.13.0 to 0.14.0.
- [Commits](golang/mod@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#6:

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#7:

feat: add kwok to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#8:

feat: add kwokctl to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#9:

Update system go installation for new format

The endpoint on go.dev now returns additional text after the
version, \ntime.

This change trims off the second half of the output.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
VariableExp0rt pushed a commit to VariableExp0rt/arkade that referenced this issue Jan 4, 2024
# This is the 1st commit message:

Update README.md

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#2:

address comments and remove dependency on go-git

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#3:

Fix for regex for downloading Node.js

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#4:

Bump golang.org/x/crypto from 0.14.0 to 0.15.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.15.0.
- [Commits](golang/crypto@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#5:

Bump golang.org/x/mod from 0.13.0 to 0.14.0

Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.13.0 to 0.14.0.
- [Commits](golang/mod@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#6:

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#7:

feat: add kwok to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#8:

feat: add kwokctl to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#9:

Update system go installation for new format

The endpoint on go.dev now returns additional text after the
version, \ntime.

This change trims off the second half of the output.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#10:

Bump golang.org/x/crypto from 0.15.0 to 0.16.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0.
- [Commits](golang/crypto@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#11:

Bump github.com/google/go-containerregistry from 0.16.1 to 0.17.0

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](google/go-containerregistry@v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#12:

Add rgee/snowmachine for the festive period

Signed-off-by: Richard Gee <richard@technologee.co.uk>

# This is the commit message alexellis#13:

Bump actions/setup-go from 4 to 5

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#14:

Update README.md

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
# This is the commit message alexellis#15:

Export LoadFrom

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
VariableExp0rt pushed a commit to VariableExp0rt/arkade that referenced this issue Jan 4, 2024
# This is the 1st commit message:

Update README.md

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#2:

address comments and remove dependency on go-git

Signed-off-by: liam.baker <liam.baker@sage.com>

# This is the commit message alexellis#3:

Fix for regex for downloading Node.js

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#4:

Bump golang.org/x/crypto from 0.14.0 to 0.15.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.15.0.
- [Commits](golang/crypto@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#5:

Bump golang.org/x/mod from 0.13.0 to 0.14.0

Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.13.0 to 0.14.0.
- [Commits](golang/mod@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#6:

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#7:

feat: add kwok to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#8:

feat: add kwokctl to arkade get tools

Signed-off-by: Czékus Máté <mate@picloud.hu>

# This is the commit message alexellis#9:

Update system go installation for new format

The endpoint on go.dev now returns additional text after the
version, \ntime.

This change trims off the second half of the output.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#10:

Bump golang.org/x/crypto from 0.15.0 to 0.16.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0.
- [Commits](golang/crypto@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#11:

Bump github.com/google/go-containerregistry from 0.16.1 to 0.17.0

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](google/go-containerregistry@v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#12:

Add rgee/snowmachine for the festive period

Signed-off-by: Richard Gee <richard@technologee.co.uk>

# This is the commit message alexellis#13:

Bump actions/setup-go from 4 to 5

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#14:

Update README.md

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
# This is the commit message alexellis#15:

Export LoadFrom

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#16:

Bump go.mod and vendor

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#17:

Fix issue with version flag for Helm charts

The version was being specified in an invalid way in args
for the helm command via a string with a space. This has been
changed to use a slice.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#18:

Bump golang.org/x/crypto from 0.16.0 to 0.17.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](golang/crypto@v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
# This is the commit message alexellis#19:

Move to Go 1.21 for builds and minimum version

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#20:

Limit builds for same SHA

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>

# This is the commit message alexellis#21:

Use Go 1.21 for e2e checker

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed skill/beginner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants