github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/variables/nginx-configmap.yaml (about) 1 apiVersion: v1 2 kind: ConfigMap 3 metadata: 4 name: nginx-configmap 5 namespace: nginx 6 labels: 7 app: nginx 8 data: 9 01_http.conf: | 10 add_header X-Kubernetes-Pod $hostname; 11 index.html: | 12 <!DOCTYPE html> 13 <html> 14 <head> 15 <title>Welcome to ###JACKAL_VAR_SITE_NAME###!</title> 16 <style> 17 ###JACKAL_VAR_STYLE### 18 </style> 19 </head> 20 <body> 21 <!-- Test two separate variables on the same line --> 22 <h1>Welcome to the ###JACKAL_VAR_SITE_NAME###!</h1><h2>Brought to you by ###JACKAL_VAR_ORGANIZATION###.</h2> 23 <p>Below is a Terraform File templated by Jackal</p> 24 <pre> 25 ###JACKAL_VAR_MODIFIED_TERRAFORM### 26 </pre> 27 <pre>File SHASUM: ###JACKAL_VAR_MODIFIED_TERRAFORM_SHASUM###</pre> 28 ###JACKAL_VAR_OPTIONAL_FOOTER### 29 </body> 30 </html>