+ ADD kubernetes deployment
All checks were successful
/ build-and-deploy (push) Successful in 1m26s
All checks were successful
/ build-and-deploy (push) Successful in 1m26s
This commit is contained in:
11
k8s/manifests/app/templates/5-configmap-env.yaml
Normal file
11
k8s/manifests/app/templates/5-configmap-env.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
data:
|
||||
WP_HOME: "https://{{ .Values.host }}"
|
||||
WP_SITEURL: "https://{{ .Values.host }}/wp"
|
||||
{{- range $key, $val := .Values.env }}
|
||||
{{ $key }}: {{ $val | quote }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user