feat: add config checksum annotations to deployment templates and update site URL in values files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
5b8429d883
commit
580f3f8d71
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "authentication"
|
app.kubernetes.io/name: "authentication"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "authentication-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "authentication"
|
- name: "authentication"
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "central-storage"
|
app.kubernetes.io/name: "central-storage"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "central-storage-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "central-storage"
|
- name: "central-storage"
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "chat"
|
app.kubernetes.io/name: "chat"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "chat-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "chat"
|
- name: "chat"
|
||||||
|
|||||||
@ -70,7 +70,7 @@ chat:
|
|||||||
mongodbPort: 27017
|
mongodbPort: 27017
|
||||||
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
||||||
emailFrom: freeleaps@freeleaps.com
|
emailFrom: freeleaps@freeleaps.com
|
||||||
siteUrlRoot: https://freeleaps.mathmast.com
|
siteUrlRoot: https://freeleaps.com
|
||||||
jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
|
jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
|
||||||
jwtAlgorithm: HS256
|
jwtAlgorithm: HS256
|
||||||
stripeApiKey: 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
|
stripeApiKey: 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
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "content"
|
app.kubernetes.io/name: "content"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "content-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "content"
|
- name: "content"
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "devsvc"
|
app.kubernetes.io/name: "devsvc"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "devsvc-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "devsvc"
|
- name: "devsvc"
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "freeleaps"
|
app.kubernetes.io/name: "freeleaps"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "freeleaps-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "freeleaps"
|
- name: "freeleaps"
|
||||||
|
|||||||
@ -70,7 +70,7 @@ freeleaps:
|
|||||||
mongodbPort: 27017
|
mongodbPort: 27017
|
||||||
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
||||||
emailFrom: freeleaps@freeleaps.com
|
emailFrom: freeleaps@freeleaps.com
|
||||||
siteUrlRoot: https://freeleaps.mathmast.com
|
siteUrlRoot: https://freeleaps.com
|
||||||
jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
|
jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
|
||||||
jwtAlgorithm: HS256
|
jwtAlgorithm: HS256
|
||||||
stripeApiKey: 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
|
stripeApiKey: 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
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "frontend"
|
app.kubernetes.io/name: "frontend"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "frontend-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "frontend"
|
- name: "frontend"
|
||||||
|
|||||||
@ -29,7 +29,7 @@ frontend:
|
|||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
ingresses:
|
ingresses:
|
||||||
- name: frontend-ingress
|
- name: frontend-ingress
|
||||||
host: freeleaps.mathmast.com
|
host: freeleaps.com
|
||||||
class: nginx
|
class: nginx
|
||||||
rules:
|
rules:
|
||||||
- path: /
|
- path: /
|
||||||
@ -44,7 +44,7 @@ frontend:
|
|||||||
issuerRef:
|
issuerRef:
|
||||||
name: mathmast-dot-com
|
name: mathmast-dot-com
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
name: freeleaps.mathmast.com-cert
|
name: freeleaps.com-cert
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: '3600'
|
nginx.ingress.kubernetes.io/proxy-read-timeout: '3600'
|
||||||
nginx.ingress.kubernetes.io/proxy-send-timeout: '3600'
|
nginx.ingress.kubernetes.io/proxy-send-timeout: '3600'
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "notification"
|
app.kubernetes.io/name: "notification"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "notification-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "notification"
|
- name: "notification"
|
||||||
|
|||||||
@ -23,6 +23,8 @@ spec:
|
|||||||
app.kubernetes.io/name: "payment"
|
app.kubernetes.io/name: "payment"
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "payment-config.yaml") . | sha256sum }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "payment"
|
- name: "payment"
|
||||||
|
|||||||
@ -70,6 +70,6 @@ payment:
|
|||||||
mongodbPort: 27017
|
mongodbPort: 27017
|
||||||
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
||||||
stripeApiKey: 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
|
stripeApiKey: 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
|
||||||
siteUrlRoot: https://freeleaps.mathmast.com
|
siteUrlRoot: https://freeleaps.com
|
||||||
metricsEnabled: "true"
|
metricsEnabled: "true"
|
||||||
probesEnabled: "true"
|
probesEnabled: "true"
|
||||||
Loading…
Reference in New Issue
Block a user