Kubernetes ConfigMap Manifest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=External=
=External=
* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#secret-v1-core
* https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/config-map-v1/
 
=Internal=
=Internal=
* [[Kubernetes_Cluster_Configuration_Concepts#ConfigMap_Manifest|Configuration Concept]]
* [[Kubernetes_Cluster_Configuration_Concepts#ConfigMap_Manifest|Configuration Concept]]

Revision as of 17:42, 2 March 2022

External

Internal

Example

apiVersion: v1
kind: Secret
metadata:
  name: blue
  labels:
    color: blue
  annotations:
    ...
type: Opaque
data:
  shape: c3F1YXJl
  size: bGFyZ2U=
stringData:
  color: red

Elements

type

data

stringData