openscanhub: add public key for aws

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-03-13 14:02:32 +01:00
parent 28f56e2602
commit 80f63933b5
2 changed files with 4 additions and 0 deletions

View file

@ -65,6 +65,9 @@ spec:
- mountPath: /var/lib/resallocserver/.ssh/id_rsa - mountPath: /var/lib/resallocserver/.ssh/id_rsa
name: aws-openscanhub-key name: aws-openscanhub-key
subPath: id_rsa subPath: id_rsa
- mountPath: /var/lib/resallocserver/.ssh/id_rsa.pub
name: aws-openscanhub-key
subPath: id_rsa.pub
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler

View file

@ -5,3 +5,4 @@ metadata:
name: aws-openscanhub-key name: aws-openscanhub-key
data: data:
id_rsa: {{ lookup('file', private+'/files/openscanhub/openscanhub.key') | b64encode }} id_rsa: {{ lookup('file', private+'/files/openscanhub/openscanhub.key') | b64encode }}
id_rsa.pub: {{ lookup('file', private+'/files/openscanhub/openscanhub.key.pub') | b64encode }}