Adjust service selector again with use-as-service on .Release.Name

This commit is contained in:
Nico Schottelius 2021-06-20 15:00:59 +02:00
parent 267b4cfda3
commit f799825430

View file

@ -6,13 +6,13 @@ metadata:
spec:
selector:
matchLabels:
app: etherpad
app: {{ .Release.Name }}-etherpad
replicas: 1
template:
metadata:
labels:
app: {{ .Release.Name }}
use-as-service: "yes"
app: {{ .Release.Name }}-etherpad
use-as-service: {{ .Release.Name }}
spec:
initContainers:
- name: wait-for-cert
@ -61,8 +61,7 @@ spec:
targetPort: 9001
name: https
selector:
app: {{ .Release.Name }}
use-as-service: "yes"
use-as-service: {{ .Release.Name }}
---
apiVersion: v1
kind: ConfigMap
@ -103,8 +102,8 @@ spec:
template:
metadata:
labels:
app: {{ .Release.Name }}
use-as-service: "yes"
app: certbot-letsencrypt-getcert
use-as-service: {{ .Release.Name }}
spec:
restartPolicy: Never
containers: