mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Replace deployment labels and selectors
This commit is contained in:
parent
62646df4f8
commit
fe6f052ded
@ -18,15 +18,15 @@ spec:
|
|||||||
maxUnavailable: "100%"
|
maxUnavailable: "100%"
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-backend
|
ocelot.social/selector: deployment-backend
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: deployment-backend
|
name: deployment-backend
|
||||||
annotations:
|
annotations:
|
||||||
backup.velero.io/backup-volumes: uploads
|
backup.velero.io/backup-volumes: uploads
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: {{ .Values.commit }}
|
ocelot.social/commit: {{ .Values.commit }}
|
||||||
human-connection.org/selector: deployment-backend
|
ocelot.social/selector: deployment-backend
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: backend
|
- name: backend
|
||||||
|
|||||||
@ -15,11 +15,11 @@ spec:
|
|||||||
progressDeadlineSeconds: 60
|
progressDeadlineSeconds: 60
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-mailserver
|
ocelot.social/selector: deployment-mailserver
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-mailserver
|
ocelot.social/selector: deployment-mailserver
|
||||||
name: mailserver
|
name: mailserver
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -11,12 +11,12 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-maintenance
|
ocelot.social/selector: deployment-maintenance
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: {{ .Values.commit }}
|
ocelot.social/commit: {{ .Values.commit }}
|
||||||
human-connection.org/selector: deployment-maintenance
|
ocelot.social/selector: deployment-maintenance
|
||||||
name: maintenance
|
name: maintenance
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -16,15 +16,15 @@ spec:
|
|||||||
maxUnavailable: "100%"
|
maxUnavailable: "100%"
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-neo4j
|
ocelot.social/selector: deployment-neo4j
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: neo4j
|
name: neo4j
|
||||||
annotations:
|
annotations:
|
||||||
backup.velero.io/backup-volumes: neo4j-data
|
backup.velero.io/backup-volumes: neo4j-data
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: {{ .Values.commit }}
|
ocelot.social/commit: {{ .Values.commit }}
|
||||||
human-connection.org/selector: deployment-neo4j
|
ocelot.social/selector: deployment-neo4j
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: neo4j
|
- name: neo4j
|
||||||
|
|||||||
@ -14,13 +14,13 @@ spec:
|
|||||||
progressDeadlineSeconds: 60
|
progressDeadlineSeconds: 60
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-webapp
|
ocelot.social/selector: deployment-webapp
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp
|
name: webapp
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: {{ .Values.commit }}
|
ocelot.social/commit: {{ .Values.commit }}
|
||||||
human-connection.org/selector: deployment-webapp
|
ocelot.social/selector: deployment-webapp
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: webapp
|
- name: webapp
|
||||||
|
|||||||
@ -14,4 +14,4 @@ spec:
|
|||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000
|
targetPort: 4000
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-backend
|
ocelot.social/selector: deployment-backend
|
||||||
|
|||||||
@ -18,5 +18,5 @@ spec:
|
|||||||
port: 25
|
port: 25
|
||||||
targetPort: 25
|
targetPort: 25
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-mailserver
|
ocelot.social/selector: deployment-mailserver
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
@ -14,4 +14,4 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-maintenance
|
ocelot.social/selector: deployment-maintenance
|
||||||
|
|||||||
@ -17,4 +17,4 @@ spec:
|
|||||||
port: 7474
|
port: 7474
|
||||||
targetPort: 7474
|
targetPort: 7474
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-neo4j
|
ocelot.social/selector: deployment-neo4j
|
||||||
|
|||||||
@ -15,4 +15,4 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-webapp
|
ocelot.social/selector: deployment-webapp
|
||||||
|
|||||||
@ -3,8 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: COMMIT
|
ocelot.social/commit: COMMIT
|
||||||
human-connection.org/selector: deployment-human-connection-backend
|
ocelot.social/selector: deployment-human-connection-backend
|
||||||
name: backend
|
name: backend
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
spec:
|
spec:
|
||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
revisionHistoryLimit: 2147483647
|
revisionHistoryLimit: 2147483647
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-human-connection-backend
|
ocelot.social/selector: deployment-human-connection-backend
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 0
|
maxSurge: 0
|
||||||
@ -26,8 +26,8 @@ spec:
|
|||||||
backup.velero.io/backup-volumes: uploads
|
backup.velero.io/backup-volumes: uploads
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: COMMIT
|
ocelot.social/commit: COMMIT
|
||||||
human-connection.org/selector: deployment-human-connection-backend
|
ocelot.social/selector: deployment-human-connection-backend
|
||||||
name: backend
|
name: backend
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -3,7 +3,7 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-neo4j
|
ocelot.social/selector: deployment-human-connection-neo4j
|
||||||
name: neo4j
|
name: neo4j
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
spec:
|
spec:
|
||||||
@ -12,7 +12,7 @@ spec:
|
|||||||
revisionHistoryLimit: 2147483647
|
revisionHistoryLimit: 2147483647
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-human-connection-neo4j
|
ocelot.social/selector: deployment-human-connection-neo4j
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 0
|
maxSurge: 0
|
||||||
@ -24,7 +24,7 @@ spec:
|
|||||||
backup.velero.io/backup-volumes: neo4j-data
|
backup.velero.io/backup-volumes: neo4j-data
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-neo4j
|
ocelot.social/selector: deployment-human-connection-neo4j
|
||||||
name: neo4j
|
name: neo4j
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -3,8 +3,8 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: COMMIT
|
ocelot.social/commit: COMMIT
|
||||||
human-connection.org/selector: deployment-human-connection-web
|
ocelot.social/selector: deployment-human-connection-web
|
||||||
name: web
|
name: web
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
spec:
|
spec:
|
||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
revisionHistoryLimit: 2147483647
|
revisionHistoryLimit: 2147483647
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-human-connection-web
|
ocelot.social/selector: deployment-human-connection-web
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 1
|
maxSurge: 1
|
||||||
@ -24,8 +24,8 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: COMMIT
|
ocelot.social/commit: COMMIT
|
||||||
human-connection.org/selector: deployment-human-connection-web
|
ocelot.social/selector: deployment-human-connection-web
|
||||||
name: web
|
name: web
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -3,7 +3,7 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-mailserver
|
ocelot.social/selector: deployment-human-connection-mailserver
|
||||||
name: mailserver
|
name: mailserver
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
spec:
|
spec:
|
||||||
@ -13,7 +13,7 @@ spec:
|
|||||||
revisionHistoryLimit: 2147483647
|
revisionHistoryLimit: 2147483647
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-human-connection-mailserver
|
ocelot.social/selector: deployment-human-connection-mailserver
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 1
|
maxSurge: 1
|
||||||
@ -23,7 +23,7 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-mailserver
|
ocelot.social/selector: deployment-human-connection-mailserver
|
||||||
name: mailserver
|
name: mailserver
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -4,7 +4,7 @@ metadata:
|
|||||||
name: mailserver
|
name: mailserver
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-mailserver
|
ocelot.social/selector: deployment-human-connection-mailserver
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
@ -14,4 +14,4 @@ spec:
|
|||||||
port: 25
|
port: 25
|
||||||
targetPort: 25
|
targetPort: 25
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-human-connection-mailserver
|
ocelot.social/selector: deployment-human-connection-mailserver
|
||||||
|
|||||||
@ -6,12 +6,12 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
human-connection.org/selector: deployment-human-connection-maintenance
|
ocelot.social/selector: deployment-human-connection-maintenance
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: COMMIT
|
ocelot.social/commit: COMMIT
|
||||||
human-connection.org/selector: deployment-human-connection-maintenance
|
ocelot.social/selector: deployment-human-connection-maintenance
|
||||||
name: maintenance
|
name: maintenance
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -4,11 +4,11 @@ metadata:
|
|||||||
name: maintenance
|
name: maintenance
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-maintenance
|
ocelot.social/selector: deployment-human-connection-maintenance
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-human-connection-maintenance
|
ocelot.social/selector: deployment-human-connection-maintenance
|
||||||
|
|||||||
@ -4,11 +4,11 @@ metadata:
|
|||||||
name: backend
|
name: backend
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-backend
|
ocelot.social/selector: deployment-human-connection-backend
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000
|
targetPort: 4000
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-human-connection-backend
|
ocelot.social/selector: deployment-human-connection-backend
|
||||||
|
|||||||
@ -4,7 +4,7 @@ metadata:
|
|||||||
name: neo4j
|
name: neo4j
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-neo4j
|
ocelot.social/selector: deployment-human-connection-neo4j
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: bolt
|
- name: bolt
|
||||||
@ -14,4 +14,4 @@ spec:
|
|||||||
port: 7474
|
port: 7474
|
||||||
targetPort: 7474
|
targetPort: 7474
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-human-connection-neo4j
|
ocelot.social/selector: deployment-human-connection-neo4j
|
||||||
|
|||||||
@ -4,11 +4,11 @@ metadata:
|
|||||||
name: web
|
name: web
|
||||||
namespace: ocelot-social
|
namespace: ocelot-social
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/selector: deployment-human-connection-web
|
ocelot.social/selector: deployment-human-connection-web
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 3000
|
port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
selector:
|
selector:
|
||||||
human-connection.org/selector: deployment-human-connection-web
|
ocelot.social/selector: deployment-human-connection-web
|
||||||
|
|||||||
@ -2,4 +2,4 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
human-connection.org/commit: <COMMIT>
|
ocelot.social/commit: <COMMIT>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user