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
Line 3: Line 3:
 
     "apiVersion" = "v1"
 
     "apiVersion" = "v1"
 
     "kind"      = "ConfigMap"
 
     "kind"      = "ConfigMap"
     "metadata" = {
+
     "[[metadata]]" = {
 
       "name"      = "test-config"
 
       "name"      = "test-config"
 
       "namespace" = "default"
 
       "namespace" = "default"

Revision as of 11:29, 31 March 2023

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

Advertising: