Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UserDataSecret is the name of the userData secret that WMCO creates UserDataSecret = "windows-user-data" // PrivateKeySecret is the name of the private key secret provided by the user PrivateKeySecret = "cloud-private-key" // PrivateKeySecretKey is the key within the private key secret which holds the private key PrivateKeySecretKey = "private-key.pem" // TLSSecret is the name of the TLS secret that servica-ca-operator creates TLSSecret = "windows-machine-config-operator-tls" )
Variables ¶
This section is empty.
Functions ¶
func GenerateServiceAccountTokenSecret ¶
GenerateServiceAccountTokenSecret returns a pointer to a secret with the given name and namespace with ServiceAccountToken type and the given serviceAccountName as the annotation
func GenerateUserData ¶
func GenerateUserData(platformType oconfig.PlatformType, publicKey ssh.PublicKey) (*core.Secret, error)
GenerateUserData generates the desired value of userdata secret.
func GetPrivateKey ¶
GetPrivateKey fetches the specified secret and extracts the private key data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.