Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
Value parameters
- data
-
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
- immutable
-
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
- stringData
-
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
- type
-
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
Value parameters
- kind
-
Owner's resource kind
- ownerName
-
Owner's name
- ownerType
-
Owner's resource type metadata
- ownerUid
-
Owner's UID
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
Type parameters
- OwnerT
-
Type of the owner resource
Value parameters
- owner
-
Possible owner of this resource
Attributes
- Returns
-
True if owner owns this resource
- Inherited from:
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
Value parameters
- f
-
Function to modify the object's metadata with
Attributes
- Returns
-
Object with modified metadata
- Inherited from:
- K8sObjectOps
Gets the metadata of the object
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Type parameters
- OwnerT
-
Type of the owner
Value parameters
- owner
-
Owner resource
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps