Upgrade notes
Perform the following steps when upgrading your installation to the latest release:
- Terraform
-
To support SMTP email sending from the new notification-service, add the following secret variables to the
variables.tffile, then runsecret-infra.These values may be the same as the ones used by Keycloak for SMTP configuration. SMTP_DISPLAYNAME = "The name displayed in the email from address. Eg. CloudBees Dev Environment" SMTP_SSL = "true" SMTP_STARTTLS = "true" SMTP_AUTH = "true" SMTP_FROM = "email address to use for the from attribute. Eg. no-reply@cloudbees.com" SMTP_REPLYTO = "email address to use for the replyto attribute. Eg. no-reply@cloudbees.com" SMTP_ENVELOPEFROM = "email address to use for the envelope from attribute. Eg. no-reply@cloudbees.com" SMTP_USER = "SMTP USERNAME" SMTP_PASSWORD = "SMTP PASSWORD" SMTP_PORT = "587" SMTP_HOST = "SMTP HOSTNAME Eg. smtp.sendgrid.net" - Helm
-
-
To enable the notification service, add the following to
values-<env>.yaml:############################################################################################################ # notification-service ############################################################################################################ notificationService: enabled: true name: "notification-service" imageTag: "imbrium/notification-service:cbc-release-1.44.0" imagePullPolicy: Always replicas: 1 rdsCertVolume: true strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 0 autoscaling: enabled: false minReplicas: 2 maxReplicas: 4 targetCPUUtilizationPercentage: 60 targetMemoryUtilizationPercentage: 70 resources: limits: memory: 128Mi requests: cpu: 30m memory: 128Mi emptyDir: sizeLimit: 10Gi service: type: NodePort name: http-service port: 5001 sidecar: enabled: true hosts: - "kube-system/kube-dns.kube-system.svc.cluster.local" - "./*.amazonaws.com" - "./aws.amazon.com" - "./*.{{ $.Release.Namespace }}.svc.cluster.local" - "./mariadb.internal.${ENV}.cbc.beescloud.com" - "./smtp.sendgrid.net" dbMigration: name: "notification-service-migrate" imageTag: "imbrium/notification-service-migrate:cbc-release-1.44.0" database: ch_notification_service -
Add the value of the
SMTP_HOSTsecret, for example- "./smtp.example.net", tonotificationService.sidecar.hostsinvalues-<env>.yaml.-
If it doesn’t already exist, also add it to
global.project.whitelistedDomains.
-
-
Add the following domains to
whitelistedDomainsinvalues-<env>.yaml:-
qualysguard.qg1.apps.qualys.co.uk -
qualysapi.qg1.apps.qualys.co.uk -
graph.microsoft.us -
login.microsoftonline.us
-
-
For
ui-auth-serviceinvalues-<env>.yaml:-
Set
uiAuthServicc.resources.limits.memoryto:resources: limits: memory: 2560Mi -
Add the following domains to
uiAuthService.sidecar.hosts:- "./graph.microsoft.us" - "./login.microsoftonline.us" -
Add the following to
uiAuthService.envVars:- name: NODE_OPTIONS value: "--max-old-space-size=2300" -
Add the following domains to
uiReviewService.sidecar.hosts:- "./graph.microsoft.us" - "./login.microsoftonline.us"
-
-