PublicKey resource¶
This section describes the PublicKey resource used in
MOSK to provide SSH access to every machine of a cluster.
The PublicKey CR contains the following fields:
apiVersionAPI version of the object that is
kaas.mirantis.com/v1alpha1.
kindObject type that is
PublicKey.
metadataThe
metadataobject field of thePublicKeyresource contains the following fields:nameName of the public key.
namespaceProject where the public key is created.
specThe
specobject field of thePublicKeyresource contains thepublicKeyfield that is an SSH public key value.
The PublicKey resource example:
apiVersion: kaas.mirantis.com/v1alpha1
kind: PublicKey
metadata:
name: demokey
namespace: test
spec:
publicKey: |
ssh-rsa AAAAB3NzaC1yc2EAAAA…