openscanhub: add public key for aws
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
28f56e2602
commit
80f63933b5
2 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,9 @@ spec:
|
|||
- mountPath: /var/lib/resallocserver/.ssh/id_rsa
|
||||
name: aws-openscanhub-key
|
||||
subPath: id_rsa
|
||||
- mountPath: /var/lib/resallocserver/.ssh/id_rsa.pub
|
||||
name: aws-openscanhub-key
|
||||
subPath: id_rsa.pub
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
|
|
|
@ -5,3 +5,4 @@ metadata:
|
|||
name: aws-openscanhub-key
|
||||
data:
|
||||
id_rsa: {{ lookup('file', private+'/files/openscanhub/openscanhub.key') | b64encode }}
|
||||
id_rsa.pub: {{ lookup('file', private+'/files/openscanhub/openscanhub.key.pub') | b64encode }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue