templates/deployment.yaml を更新

This commit is contained in:
2025-12-12 05:33:26 +00:00
parent 0c36d825ba
commit 46c10c5c0f

View File

@@ -162,9 +162,7 @@ spec:
{{- if .Values.wordpress.adsTxt.enabled }}
echo "Deploying ads.txt..."
cat > /var/www/html/ads.txt << 'EOFADSTXT'
{{ .Values.wordpress.adsTxt.content }}
EOFADSTXT
cat > /var/www/html/ads.txt << {{ .Values.wordpress.adsTxt.content }}
echo "ads.txt deployed"
{{- end }}