Kubernetes Secret Manifest: Difference between revisions
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#secret-v1-core | |||
=Internal= | =Internal= | ||
* [[Kubernetes_Cluster_Configuration_Concepts#Secret_Manifest|Kubernetes Cluster Configuration Concepts]] | * [[Kubernetes_Cluster_Configuration_Concepts#Secret_Manifest|Kubernetes Cluster Configuration Concepts]] | ||
* [[Kubernetes_Secrets_Operations#From_a_Manifest|Kubernetes Secrets Operations]] | |||
=Example= | =Example= | ||
<font size=-1> | |||
[[Kubernetes_Manifests#apiVersion|apiVersion]]: v1 | [[Kubernetes_Manifests#apiVersion|apiVersion]]: v1 | ||
[[Kubernetes_Manifests#kind|kind]]: | [[Kubernetes_Manifests#kind|kind]]: Secret | ||
[[Kubernetes_Manifest_Metadata#Overview|metadata]]: | [[Kubernetes_Manifest_Metadata#Overview|metadata]]: | ||
[[Kubernetes_Manifest_Metadata#name|name]]: | [[Kubernetes_Manifest_Metadata#name|name]]: blue | ||
[[Kubernetes_Manifest_Metadata#labels|labels]]: | [[Kubernetes_Manifest_Metadata#labels|labels]]: | ||
color: blue | color: blue | ||
[[Kubernetes_Manifest_Metadata#annotations|annotations]]: | [[Kubernetes_Manifest_Metadata#annotations|annotations]]: | ||
... | ... | ||
[[ | [[#type|type]]: Opaque | ||
[[#data|data]]: | |||
shape: c3F1YXJl | |||
size: bGFyZ2U= | |||
[[#stringData|stringData]]: | |||
color: red | |||
[[#immutable|immutable]]: true | |||
</font> | |||
=Elements= | |||
==type== | |||
==data== | |||
==stringData== | |||
==<tt>immutable</tt>== | |||
See: {{Internal|Kubernetes_Cluster_Configuration_Concepts#Immutable_Secrets|Immutable Secrets}} | |||
Latest revision as of 20:58, 28 February 2024
External
Internal
Example
apiVersion: v1 kind: Secret metadata: name: blue labels: color: blue annotations: ... type: Opaque data: shape: c3F1YXJl size: bGFyZ2U= stringData: color: red immutable: true
Elements
type
data
stringData
immutable
See: