Replace deployment labels and selectors

This commit is contained in:
Wolfgang Huß 2020-12-08 09:50:19 +01:00
parent 62646df4f8
commit fe6f052ded
21 changed files with 49 additions and 49 deletions

View File

@ -18,15 +18,15 @@ spec:
maxUnavailable: "100%"
selector:
matchLabels:
human-connection.org/selector: deployment-backend
ocelot.social/selector: deployment-backend
template:
metadata:
name: deployment-backend
annotations:
backup.velero.io/backup-volumes: uploads
labels:
human-connection.org/commit: {{ .Values.commit }}
human-connection.org/selector: deployment-backend
ocelot.social/commit: {{ .Values.commit }}
ocelot.social/selector: deployment-backend
spec:
containers:
- name: backend

View File

@ -15,11 +15,11 @@ spec:
progressDeadlineSeconds: 60
selector:
matchLabels:
human-connection.org/selector: deployment-mailserver
ocelot.social/selector: deployment-mailserver
template:
metadata:
labels:
human-connection.org/selector: deployment-mailserver
ocelot.social/selector: deployment-mailserver
name: mailserver
spec:
containers:

View File

@ -11,12 +11,12 @@ metadata:
spec:
selector:
matchLabels:
human-connection.org/selector: deployment-maintenance
ocelot.social/selector: deployment-maintenance
template:
metadata:
labels:
human-connection.org/commit: {{ .Values.commit }}
human-connection.org/selector: deployment-maintenance
ocelot.social/commit: {{ .Values.commit }}
ocelot.social/selector: deployment-maintenance
name: maintenance
spec:
containers:

View File

@ -16,15 +16,15 @@ spec:
maxUnavailable: "100%"
selector:
matchLabels:
human-connection.org/selector: deployment-neo4j
ocelot.social/selector: deployment-neo4j
template:
metadata:
name: neo4j
annotations:
backup.velero.io/backup-volumes: neo4j-data
labels:
human-connection.org/commit: {{ .Values.commit }}
human-connection.org/selector: deployment-neo4j
ocelot.social/commit: {{ .Values.commit }}
ocelot.social/selector: deployment-neo4j
spec:
containers:
- name: neo4j

View File

@ -14,13 +14,13 @@ spec:
progressDeadlineSeconds: 60
selector:
matchLabels:
human-connection.org/selector: deployment-webapp
ocelot.social/selector: deployment-webapp
template:
metadata:
name: webapp
labels:
human-connection.org/commit: {{ .Values.commit }}
human-connection.org/selector: deployment-webapp
ocelot.social/commit: {{ .Values.commit }}
ocelot.social/selector: deployment-webapp
spec:
containers:
- name: webapp

View File

@ -14,4 +14,4 @@ spec:
port: 4000
targetPort: 4000
selector:
human-connection.org/selector: deployment-backend
ocelot.social/selector: deployment-backend

View File

@ -18,5 +18,5 @@ spec:
port: 25
targetPort: 25
selector:
human-connection.org/selector: deployment-mailserver
ocelot.social/selector: deployment-mailserver
{{- end}}

View File

@ -14,4 +14,4 @@ spec:
port: 80
targetPort: 80
selector:
human-connection.org/selector: deployment-maintenance
ocelot.social/selector: deployment-maintenance

View File

@ -17,4 +17,4 @@ spec:
port: 7474
targetPort: 7474
selector:
human-connection.org/selector: deployment-neo4j
ocelot.social/selector: deployment-neo4j

View File

@ -15,4 +15,4 @@ spec:
protocol: TCP
targetPort: 3000
selector:
human-connection.org/selector: deployment-webapp
ocelot.social/selector: deployment-webapp

View File

@ -3,8 +3,8 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-backend
ocelot.social/commit: COMMIT
ocelot.social/selector: deployment-human-connection-backend
name: backend
namespace: ocelot-social
spec:
@ -14,7 +14,7 @@ spec:
revisionHistoryLimit: 2147483647
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-backend
ocelot.social/selector: deployment-human-connection-backend
strategy:
rollingUpdate:
maxSurge: 0
@ -26,8 +26,8 @@ spec:
backup.velero.io/backup-volumes: uploads
creationTimestamp: null
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-backend
ocelot.social/commit: COMMIT
ocelot.social/selector: deployment-human-connection-backend
name: backend
spec:
containers:

View File

@ -3,7 +3,7 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
human-connection.org/selector: deployment-human-connection-neo4j
ocelot.social/selector: deployment-human-connection-neo4j
name: neo4j
namespace: ocelot-social
spec:
@ -12,7 +12,7 @@ spec:
revisionHistoryLimit: 2147483647
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-neo4j
ocelot.social/selector: deployment-human-connection-neo4j
strategy:
rollingUpdate:
maxSurge: 0
@ -24,7 +24,7 @@ spec:
backup.velero.io/backup-volumes: neo4j-data
creationTimestamp: null
labels:
human-connection.org/selector: deployment-human-connection-neo4j
ocelot.social/selector: deployment-human-connection-neo4j
name: neo4j
spec:
containers:

View File

@ -3,8 +3,8 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-web
ocelot.social/commit: COMMIT
ocelot.social/selector: deployment-human-connection-web
name: web
namespace: ocelot-social
spec:
@ -14,7 +14,7 @@ spec:
revisionHistoryLimit: 2147483647
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-web
ocelot.social/selector: deployment-human-connection-web
strategy:
rollingUpdate:
maxSurge: 1
@ -24,8 +24,8 @@ spec:
metadata:
creationTimestamp: null
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-web
ocelot.social/commit: COMMIT
ocelot.social/selector: deployment-human-connection-web
name: web
spec:
containers:

View File

@ -3,7 +3,7 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
human-connection.org/selector: deployment-human-connection-mailserver
ocelot.social/selector: deployment-human-connection-mailserver
name: mailserver
namespace: ocelot-social
spec:
@ -13,7 +13,7 @@ spec:
revisionHistoryLimit: 2147483647
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-mailserver
ocelot.social/selector: deployment-human-connection-mailserver
strategy:
rollingUpdate:
maxSurge: 1
@ -23,7 +23,7 @@ spec:
metadata:
creationTimestamp: null
labels:
human-connection.org/selector: deployment-human-connection-mailserver
ocelot.social/selector: deployment-human-connection-mailserver
name: mailserver
spec:
containers:

View File

@ -4,7 +4,7 @@ metadata:
name: mailserver
namespace: ocelot-social
labels:
human-connection.org/selector: deployment-human-connection-mailserver
ocelot.social/selector: deployment-human-connection-mailserver
spec:
ports:
- name: web
@ -14,4 +14,4 @@ spec:
port: 25
targetPort: 25
selector:
human-connection.org/selector: deployment-human-connection-mailserver
ocelot.social/selector: deployment-human-connection-mailserver

View File

@ -6,12 +6,12 @@ metadata:
spec:
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-maintenance
ocelot.social/selector: deployment-human-connection-maintenance
template:
metadata:
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-maintenance
ocelot.social/commit: COMMIT
ocelot.social/selector: deployment-human-connection-maintenance
name: maintenance
spec:
containers:

View File

@ -4,11 +4,11 @@ metadata:
name: maintenance
namespace: ocelot-social
labels:
human-connection.org/selector: deployment-human-connection-maintenance
ocelot.social/selector: deployment-human-connection-maintenance
spec:
ports:
- name: web
port: 80
targetPort: 80
selector:
human-connection.org/selector: deployment-human-connection-maintenance
ocelot.social/selector: deployment-human-connection-maintenance

View File

@ -4,11 +4,11 @@ metadata:
name: backend
namespace: ocelot-social
labels:
human-connection.org/selector: deployment-human-connection-backend
ocelot.social/selector: deployment-human-connection-backend
spec:
ports:
- name: web
port: 4000
targetPort: 4000
selector:
human-connection.org/selector: deployment-human-connection-backend
ocelot.social/selector: deployment-human-connection-backend

View File

@ -4,7 +4,7 @@ metadata:
name: neo4j
namespace: ocelot-social
labels:
human-connection.org/selector: deployment-human-connection-neo4j
ocelot.social/selector: deployment-human-connection-neo4j
spec:
ports:
- name: bolt
@ -14,4 +14,4 @@ spec:
port: 7474
targetPort: 7474
selector:
human-connection.org/selector: deployment-human-connection-neo4j
ocelot.social/selector: deployment-human-connection-neo4j

View File

@ -4,11 +4,11 @@ metadata:
name: web
namespace: ocelot-social
labels:
human-connection.org/selector: deployment-human-connection-web
ocelot.social/selector: deployment-human-connection-web
spec:
ports:
- name: web
port: 3000
targetPort: 3000
selector:
human-connection.org/selector: deployment-human-connection-web
ocelot.social/selector: deployment-human-connection-web

View File

@ -2,4 +2,4 @@ spec:
template:
metadata:
labels:
human-connection.org/commit: <COMMIT>
ocelot.social/commit: <COMMIT>