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