Files
helm-myapp-cloud/templates/configmap.yaml
T
domrichardson 80b03fed2d feat: updated images
Co-authored-by: Copilot <copilot@github.com>
2026-05-07 10:04:45 +01:00

35 lines
727 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-configmap
data:
myvalue: "Hello World"
drink: {{ .Values.favouriteDrink }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-nginx-container2
data:
default.conf: |
server {
listen {{ .Values.container2.port }};
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-nginx-container3
data:
default.conf: |
server {
listen {{ .Values.container3.port }};
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
}