ClusterVolumeSpecAccessModeSecretsInner

@Serializable
data class ClusterVolumeSpecAccessModeSecretsInner(val key: String? = null, val secret: String? = null)

One cluster volume secret entry. Defines a key-value pair that is passed to the plugin.

Parameters

key

Key is the name of the key of the key-value pair passed to the plugin.

secret

Secret is the swarm Secret object from which to read data. This can be a Secret name or ID. The Secret data is retrieved by swarm and used as the value of the key-value pair passed to the plugin.

Constructors

Link copied to clipboard
constructor(key: String? = null, secret: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "Key")
val key: String?
Link copied to clipboard
@SerialName(value = "Secret")
val secret: String?