Skip to content

Commit 74fe3a8

Browse files
Heiko KieselJ12934
authored andcommitted
Adjust ArtifactHub doc to helm doc template
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 87a77bb commit 74fe3a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scanners/ncrack/.helm-docs.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ kubectl create secret generic --from-file users.txt --from-file passwords.txt nc
153153
<b> IMPORTANT: Use an extra empty line at the end of your files, otherwise the last letter of the last line will be omitted (due to a bug in k8) </b>
154154

155155
Now we created a secret named "ncrack-lists".
156-
Before we can use the files, we have to install the Ncrack ScanType from the source code:
156+
Before we can use the files, we have to install the Ncrack ScanType:
157157

158158
```bash
159159
cat <<EOF | helm upgrade --install ncrack secureCodeBox/ncrack --values -

scanners/ncrack/docs/README.ArtifactHub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ Now you only need to set the value *encryptPasswords.existingSecret* to the
159159
secrets name when installing the scanner
160160

161161
```bash
162-
helm install ncrack secureCodeBox/ncrack --set="encryptPasswords.existingSecret=<ncrack-secret-name>"
162+
helm upgrade --install ncrack secureCodeBox/ncrack --set="encryptPasswords.existingSecret=<ncrack-secret-name>"
163163
```
164164

165165
To decrypt a password from a finding use:
166166

167167
```bash
168-
base64 encryptedPassword -d | openssl rsautl -decrypt -inkey key.pem -out decryptedPassword.txt
168+
base64 encryptedPassword -d | openssl pkeyutl -decrypt -inkey key.pem -out decryptedPassword.txt
169169
```
170170

171171
#### Setup with custom files:
@@ -181,7 +181,7 @@ Now we created a secret named "ncrack-lists".
181181
Before we can use the files, we have to install the Ncrack ScanType:
182182

183183
```bash
184-
cat <<EOF | helm install ncrack ./scanners/ncrack --values -
184+
cat <<EOF | helm upgrade --install ncrack secureCodeBox/ncrack --values -
185185
scanner:
186186
extraVolumes:
187187
- name: ncrack-lists

0 commit comments

Comments
 (0)