apiVersion: apps/v1 kind: Deployment metadata: name: knoe-grafana-proxy labels: app: knoe-grafana-proxy spec: replicas: 1 selector: matchLabels: app: knoe-grafana-proxy template: metadata: labels: app: knoe-grafana-proxy spec: containers: - name: nginx image: nginx:1.27-alpine ports: - containerPort: 80 name: http volumeMounts: - name: nginx-config mountPath: /etc/nginx/nginx.conf subPath: nginx.conf volumes: - name: nginx-config configMap: name: knoe-grafana-proxy-nginx