diff --git a/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml b/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml index 60b325d8..f2686d94 100644 --- a/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml +++ b/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml @@ -186,7 +186,7 @@ extraConfiguration: |- disk_free_limit.absolute = 50MB replicaCount: 1 updateStrategy: - type: RollingUpdate + type: Recreate podSecurityContext: enabled: true fsGroupChangePolicy: Always diff --git a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml index 7e24451a..961ea194 100644 --- a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml +++ b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml @@ -53,53 +53,53 @@ spec: resources: {{- toYaml .Values.notification.resources | nindent 12 }} {{- end }} - {{- if .Values.notification.probes }} - {{- if and (.Values.notification.probes.liveness) (eq .Values.notification.probes.liveness.type "httpGet") }} - livenessProbe: - httpGet: - path: {{ .Values.notification.probes.liveness.config.path }} - port: {{ .Values.notification.probes.liveness.config.port }} - {{- if .Values.notification.probes.liveness.config.initialDelaySeconds }} - initialDelaySeconds: {{ .Values.notification.probes.liveness.config.initialDelaySeconds }} - {{- end }} - {{- if .Values.notification.probes.liveness.config.periodSeconds }} - periodSeconds: {{ .Values.notification.probes.liveness.config.periodSeconds }} - {{- end }} - {{- if .Values.notification.probes.liveness.config.timeoutSeconds }} - timeoutSeconds: {{ .Values.notification.probes.liveness.config.timeoutSeconds }} - {{- end }} - {{- if .Values.notification.probes.liveness.config.successThreshold }} - successThreshold: {{ .Values.notification.probes.liveness.config.successThreshold }} - {{- end }} - {{- if .Values.notification.probes.liveness.config.failureThreshold }} - failureThreshold: {{ .Values.notification.probes.liveness.config.failureThreshold }} - {{- end }} - {{- if .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }} - {{- end }} - {{- end }} - {{- if and (.Values.notification.probes.readiness) (eq .Values.notification.probes.readiness.type "httpGet") }} - readinessProbe: - httpGet: - path: {{ .Values.notification.probes.readiness.config.path }} - port: {{ .Values.notification.probes.readiness.config.port }} - {{- if .Values.notification.probes.readiness.config.initialDelaySeconds }} - initialDelaySeconds: {{ .Values.notification.probes.readiness.config.initialDelaySeconds }} - {{- end }} - {{- if .Values.notification.probes.readiness.config.periodSeconds }} - periodSeconds: {{ .Values.notification.probes.readiness.config.periodSeconds }} - {{- end }} - {{- if .Values.notification.probes.readiness.config.timeoutSeconds }} - timeoutSeconds: {{ .Values.notification.probes.readiness.config.timeoutSeconds }} - {{- end }} - {{- if .Values.notification.probes.readiness.config.successThreshold }} - successThreshold: {{ .Values.notification.probes.readiness.config.successThreshold }} - {{- end }} - {{- if .Values.notification.probes.readiness.config.failureThreshold }} - failureThreshold: {{ .Values.notification.probes.readiness.config.failureThreshold }} - {{- end }} - {{- end }} - {{- end}} + # {{- if .Values.notification.probes }} + # {{- if and (.Values.notification.probes.liveness) (eq .Values.notification.probes.liveness.type "httpGet") }} + # livenessProbe: + # httpGet: + # path: {{ .Values.notification.probes.liveness.config.path }} + # port: {{ .Values.notification.probes.liveness.config.port }} + # {{- if .Values.notification.probes.liveness.config.initialDelaySeconds }} + # initialDelaySeconds: {{ .Values.notification.probes.liveness.config.initialDelaySeconds }} + # {{- end }} + # {{- if .Values.notification.probes.liveness.config.periodSeconds }} + # periodSeconds: {{ .Values.notification.probes.liveness.config.periodSeconds }} + # {{- end }} + # {{- if .Values.notification.probes.liveness.config.timeoutSeconds }} + # timeoutSeconds: {{ .Values.notification.probes.liveness.config.timeoutSeconds }} + # {{- end }} + # {{- if .Values.notification.probes.liveness.config.successThreshold }} + # successThreshold: {{ .Values.notification.probes.liveness.config.successThreshold }} + # {{- end }} + # {{- if .Values.notification.probes.liveness.config.failureThreshold }} + # failureThreshold: {{ .Values.notification.probes.liveness.config.failureThreshold }} + # {{- end }} + # {{- if .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }} + # terminationGracePeriodSeconds: {{ .Values.notification.probes.liveness.config.terminationGracePeriodSeconds }} + # {{- end }} + # {{- end }} + # {{- if and (.Values.notification.probes.readiness) (eq .Values.notification.probes.readiness.type "httpGet") }} + # readinessProbe: + # httpGet: + # path: {{ .Values.notification.probes.readiness.config.path }} + # port: {{ .Values.notification.probes.readiness.config.port }} + # {{- if .Values.notification.probes.readiness.config.initialDelaySeconds }} + # initialDelaySeconds: {{ .Values.notification.probes.readiness.config.initialDelaySeconds }} + # {{- end }} + # {{- if .Values.notification.probes.readiness.config.periodSeconds }} + # periodSeconds: {{ .Values.notification.probes.readiness.config.periodSeconds }} + # {{- end }} + # {{- if .Values.notification.probes.readiness.config.timeoutSeconds }} + # timeoutSeconds: {{ .Values.notification.probes.readiness.config.timeoutSeconds }} + # {{- end }} + # {{- if .Values.notification.probes.readiness.config.successThreshold }} + # successThreshold: {{ .Values.notification.probes.readiness.config.successThreshold }} + # {{- end }} + # {{- if .Values.notification.probes.readiness.config.failureThreshold }} + # failureThreshold: {{ .Values.notification.probes.readiness.config.failureThreshold }} + # {{- end }} + # {{- end }} + # {{- end}} env: {{- range $key, $value := .Values.notification.configs }} {{- if not (or (eq $key "mongodbUri") (eq $key "rabbitmqPassword") (eq $key "secretKey") (eq $key "sendgridApiKey") (eq $key "twilioAccountSid") (eq $key "twilioAuthToken")) }}