Gpg init fails to import key #370 #371

Merged
justusbunsi merged 2 commits from dajoen74/helm-chart:fixgpgimport into main 2022-10-18 05:47:22 +00:00
Contributor

Description of the change

The init container for gpg key import doesn´t work. There is a not a tty error.

Benefits

This will run gpg in batch mode. Eliminating the tty error.

Possible drawbacks

None that I can think off.

Applicable issues

Checklist

  • Parameters are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Breaking changes are documented in the README.md
### Description of the change The init container for gpg key import doesn´t work. There is a not a tty error. ### Benefits This will run gpg in batch mode. Eliminating the tty error. ### Possible drawbacks None that I can think off. ### Applicable issues - fixes #370 ### Checklist - [X] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) - [X] Breaking changes are documented in the `README.md`
dajoen74 added 1 commit 2022-10-17 19:20:48 +00:00
Gpg init fails to import key #370
All checks were successful
continuous-integration/drone/pr Build is passing
a7935ce097
techknowlogick approved these changes 2022-10-17 19:28:43 +00:00
Member

I was wondering why no unit tests failed for this change, before realizing I missed adding one for the added code snipped.

Do you mind adding one, ensuring that the --batch flag never get removed again?

I was wondering why no unit tests failed for this change, before realizing I missed adding one for the added code snipped. Do you mind adding one, ensuring that the `--batch` flag never get removed again?
justusbunsi added the
kind
bug
label 2022-10-17 19:50:26 +00:00
Author
Contributor

I'll give it a shot. First time writing a unit test for me.

I'll give it a shot. First time writing a unit test for me.
dajoen74 added 1 commit 2022-10-18 05:36:17 +00:00
Added unit test for gpg batch mode
All checks were successful
continuous-integration/drone/pr Build is passing
3eb5820c11
Author
Contributor

This should do it.

This should do it.
justusbunsi approved these changes 2022-10-18 05:45:35 +00:00
justusbunsi left a comment
Member

LGTM

LGTM
justusbunsi merged commit 57a1cd27d9 into main 2022-10-18 05:47:22 +00:00
Sign in to join this conversation.
No description provided.