From 825a4831aae636cc90cecc3d1a6b9de6488e197e Mon Sep 17 00:00:00 2001 From: pieter Date: Fri, 12 Dec 2025 23:00:44 +0000 Subject: [PATCH] =?UTF-8?q?templates/adstxt-configmap.yaml=20=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/adstxt-configmap.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/adstxt-configmap.yaml diff --git a/templates/adstxt-configmap.yaml b/templates/adstxt-configmap.yaml new file mode 100644 index 0000000..ff806f4 --- /dev/null +++ b/templates/adstxt-configmap.yaml @@ -0,0 +1,11 @@ +{{- if .Values.wordpress.adsTxt.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "wordpress-nginx.fullname" . }}-adstxt + labels: + {{- include "wordpress-nginx.labels" . | nindent 4 }} +data: + ads.txt: | +{{ .Values.wordpress.adsTxt.content | indent 4 }} +{{- end }} \ No newline at end of file