openscanhub: fix mountpath for private key
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
28d3c54056
commit
94acd9516b
2 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ spec:
|
|||
subPath: credentials
|
||||
- mountPath: /var/lib/resallocserver/.ssh/id_rsa
|
||||
name: aws-openscanhub-key
|
||||
subPath: id_rsa
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
|
|
|
@ -4,4 +4,4 @@ kind: Secret
|
|||
metadata:
|
||||
name: aws-openscanhub-key
|
||||
data:
|
||||
aws-openscanhub-key: {{ lookup('file', private+'/files/openscanhub/openscanhub.key') | b64encode }}
|
||||
id_rsa: {{ lookup('file', private+'/files/openscanhub/openscanhub.key') | b64encode }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue