templates/adstxt-configmap.yaml を追加
This commit is contained in:
11
templates/adstxt-configmap.yaml
Normal file
11
templates/adstxt-configmap.yaml
Normal file
@@ -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 }}
|
||||||
Reference in New Issue
Block a user