mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Replace deployment labels and selectors
This commit is contained in:
parent
62646df4f8
commit
fe6f052ded
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -14,4 +14,4 @@ spec:
|
||||
port: 4000
|
||||
targetPort: 4000
|
||||
selector:
|
||||
human-connection.org/selector: deployment-backend
|
||||
ocelot.social/selector: deployment-backend
|
||||
|
||||
@ -18,5 +18,5 @@ spec:
|
||||
port: 25
|
||||
targetPort: 25
|
||||
selector:
|
||||
human-connection.org/selector: deployment-mailserver
|
||||
ocelot.social/selector: deployment-mailserver
|
||||
{{- end}}
|
||||
|
||||
@ -14,4 +14,4 @@ spec:
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
human-connection.org/selector: deployment-maintenance
|
||||
ocelot.social/selector: deployment-maintenance
|
||||
|
||||
@ -17,4 +17,4 @@ spec:
|
||||
port: 7474
|
||||
targetPort: 7474
|
||||
selector:
|
||||
human-connection.org/selector: deployment-neo4j
|
||||
ocelot.social/selector: deployment-neo4j
|
||||
|
||||
@ -15,4 +15,4 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: 3000
|
||||
selector:
|
||||
human-connection.org/selector: deployment-webapp
|
||||
ocelot.social/selector: deployment-webapp
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -2,4 +2,4 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
human-connection.org/commit: <COMMIT>
|
||||
ocelot.social/commit: <COMMIT>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user