Difference between revisions of "Template:Kubernetes manifest official example"

From wikieduonline
Jump to navigation Jump to search
(Created page with " resource "kubernetes_manifest" "test-configmap" { manifest = { "apiVersion" = "v1" "kind" = "ConfigMap" "metadata" = { "name" = "test-config"...")
Tags: Mobile web edit, Mobile edit
 
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
     "apiVersion" = "v1"
 
     "apiVersion" = "v1"
 
     "kind"      = "ConfigMap"
 
     "kind"      = "ConfigMap"
     "metadata" = {
+
     "[[Kubernetes metadata|metadata]]" = {
 
       "name"      = "test-config"
 
       "name"      = "test-config"
 
       "namespace" = "default"
 
       "namespace" = "default"

Latest revision as of 11:31, 31 March 2023

resource "kubernetes_manifest" "test-configmap" {
 manifest = {
   "apiVersion" = "v1"
   "kind"       = "ConfigMap"
   "metadata" = {
     "name"      = "test-config"
     "namespace" = "default"
   }
   "data" = {
     "foo" = "bar"
   }
 }
}

Advertising: