mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
feat(helmfile): [#205, #227] Allow separate annotations for external Dovecot, Postfix and Jitsi JVB service; review migrations.md for required upgrade steps
This commit is contained in:
@@ -10,6 +10,9 @@ SPDX-License-Identifier: Apache-2.0
|
|||||||
* [Deprecation warnings](#deprecation-warnings)
|
* [Deprecation warnings](#deprecation-warnings)
|
||||||
* [Overview and mandatory upgrade path](#overview-and-mandatory-upgrade-path)
|
* [Overview and mandatory upgrade path](#overview-and-mandatory-upgrade-path)
|
||||||
* [Manual checks/actions](#manual-checksactions)
|
* [Manual checks/actions](#manual-checksactions)
|
||||||
|
* [Versions ≥ v1.11.0](#versions--v1110)
|
||||||
|
* [Pre-upgrade to versions ≥ v1.11.0](#pre-upgrade-to-versions--v1110)
|
||||||
|
* [Helmfile new option: Annotations for external services (Dovecot, Jitsi JVB, Postfix)](#helmfile-new-option-annotations-for-external-services-dovecot-jitsi-jvb-postfix)
|
||||||
* [Versions ≥ v1.10.0](#versions--v1100)
|
* [Versions ≥ v1.10.0](#versions--v1100)
|
||||||
* [Pre-upgrade to versions ≥ v1.10.0](#pre-upgrade-to-versions--v1100)
|
* [Pre-upgrade to versions ≥ v1.10.0](#pre-upgrade-to-versions--v1100)
|
||||||
* [Helmfile new secret: `secrets.nubus.ldapSearch.postfix`](#helmfile-new-secret-secretsnubusldapsearchpostfix)
|
* [Helmfile new secret: `secrets.nubus.ldapSearch.postfix`](#helmfile-new-secret-secretsnubusldapsearchpostfix)
|
||||||
@@ -181,6 +184,35 @@ If you would like more details about the automated migrations, please read secti
|
|||||||
> listed no extra manual steps are required when upgrading to that version, e.g. in the case of an update from
|
> listed no extra manual steps are required when upgrading to that version, e.g. in the case of an update from
|
||||||
> version 1.7.0 to version 1.7.1.
|
> version 1.7.0 to version 1.7.1.
|
||||||
|
|
||||||
|
## Versions ≥ v1.11.0
|
||||||
|
|
||||||
|
### Pre-upgrade to versions ≥ v1.11.0
|
||||||
|
|
||||||
|
#### Helmfile new option: Annotations for external services (Dovecot, Jitsi JVB, Postfix)
|
||||||
|
|
||||||
|
**Target group:** Existing deployments using `service` annotations.
|
||||||
|
|
||||||
|
The three non-HTTP external services support now explicit annotations.
|
||||||
|
See [`annotations.yaml.gomtpl`](../helmfile/environments/default/annotations.yaml.gotmpl) for reference.
|
||||||
|
|
||||||
|
**Jitsi JVB**
|
||||||
|
|
||||||
|
The already existing annotation key `annotations.jitsiJVB.service` has been renamed to
|
||||||
|
`annotations.jitsiJVB.serviceExternal` be in line with the newly added ones for Postfix and Dovecot.
|
||||||
|
If you make use of the JVB service annotation please rename the attribute to the new `serviceExternal` standard.
|
||||||
|
|
||||||
|
**Dovecot**
|
||||||
|
|
||||||
|
Setting service annotation by `annotations.openxchangeDovecot.service` applied the annotations to the internal
|
||||||
|
and external service. This key now only sets annotations for the internal service. If you want to set
|
||||||
|
annotations for the external service use the newly introduced key `annotations.openxchangeDovecot.serviceExternal`.
|
||||||
|
|
||||||
|
**Postfix**
|
||||||
|
|
||||||
|
Setting service annotation by `annotations.openxchangePostfix.service` applied the annotations to the internal
|
||||||
|
and external service. This key now only sets annotations for the internal service. If you want to set
|
||||||
|
annotations for the external service use the newly introduced key `annotations.openxchangePostfix.serviceExternal`.
|
||||||
|
|
||||||
## Versions ≥ v1.10.0
|
## Versions ≥ v1.10.0
|
||||||
|
|
||||||
### Pre-upgrade to versions ≥ v1.10.0
|
### Pre-upgrade to versions ≥ v1.10.0
|
||||||
|
|||||||
@@ -248,9 +248,9 @@ jitsi:
|
|||||||
{{ .Values.resources.jvb | toYaml | nindent 6 }}
|
{{ .Values.resources.jvb | toYaml | nindent 6 }}
|
||||||
service:
|
service:
|
||||||
type: {{ coalesce .Values.service.type.jitsiVideoBridge .Values.cluster.service.type | quote }}
|
type: {{ coalesce .Values.service.type.jitsiVideoBridge .Values.cluster.service.type | quote }}
|
||||||
{{- if .Values.annotations.jitsiJvb.service }}
|
{{- if .Values.annotations.jitsiJvb.serviceExternal }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ .Values.annotations.jitsiJvb.service | toYaml | nindent 8 }}
|
{{ .Values.annotations.jitsiJvb.serviceExternal | toYaml | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ service:
|
|||||||
{{ .Values.annotations.openxchangeDovecot.service | toYaml | nindent 4 }}
|
{{ .Values.annotations.openxchangeDovecot.service | toYaml | nindent 4 }}
|
||||||
external:
|
external:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
{{ .Values.annotations.openxchangeDovecot.serviceExternal | toYaml | nindent 6 }}
|
||||||
type: {{ coalesce .Values.service.type.dovecot .Values.cluster.service.type | quote }}
|
type: {{ coalesce .Values.service.type.dovecot .Values.cluster.service.type | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@@ -129,6 +129,8 @@ service:
|
|||||||
{{ .Values.annotations.openxchangePostfix.service | toYaml | nindent 4 }}
|
{{ .Values.annotations.openxchangePostfix.service | toYaml | nindent 4 }}
|
||||||
external:
|
external:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
{{ .Values.annotations.openxchangePostfix.serviceExternal | toYaml | nindent 6 }}
|
||||||
type: {{ coalesce .Values.service.type.postfix .Values.cluster.service.type | quote }}
|
type: {{ coalesce .Values.service.type.postfix .Values.cluster.service.type | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "zendis/opendesk-enterprise/components/product-development/charts/opendesk-dovecot-pro"
|
repository: "zendis/opendesk-enterprise/components/product-development/charts/opendesk-dovecot-pro"
|
||||||
name: "dovecot"
|
name: "dovecot"
|
||||||
version: "3.2.1"
|
version: "3.3.0"
|
||||||
verify: true
|
verify: true
|
||||||
oxAppSuite:
|
oxAppSuite:
|
||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ annotations:
|
|||||||
serviceAccount: ~
|
serviceAccount: ~
|
||||||
jitsiJvb:
|
jitsiJvb:
|
||||||
pod: ~
|
pod: ~
|
||||||
service: ~
|
serviceExternal: ~
|
||||||
metricsPrometheus: ~
|
metricsPrometheus: ~
|
||||||
metricsGrafana: ~
|
metricsGrafana: ~
|
||||||
jitsiProsody:
|
jitsiProsody:
|
||||||
@@ -360,6 +360,7 @@ annotations:
|
|||||||
pod: ~
|
pod: ~
|
||||||
service: ~
|
service: ~
|
||||||
serviceAccount: ~
|
serviceAccount: ~
|
||||||
|
serviceExternal: ~
|
||||||
openxchangeEnterpriseContactPicker:
|
openxchangeEnterpriseContactPicker:
|
||||||
appsuiteCoreMw:
|
appsuiteCoreMw:
|
||||||
appsuiteCoreMwPod: ~
|
appsuiteCoreMwPod: ~
|
||||||
@@ -369,6 +370,7 @@ annotations:
|
|||||||
openxchangePostfix:
|
openxchangePostfix:
|
||||||
pod: ~
|
pod: ~
|
||||||
service: ~
|
service: ~
|
||||||
|
serviceExternal: ~
|
||||||
openxchangePublicSectorUi:
|
openxchangePublicSectorUi:
|
||||||
pod: ~
|
pod: ~
|
||||||
servicesExternalClamavDistributed:
|
servicesExternalClamavDistributed:
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-dovecot"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-dovecot"
|
||||||
name: "dovecot"
|
name: "dovecot"
|
||||||
version: "3.2.1"
|
version: "3.3.0"
|
||||||
verify: true
|
verify: true
|
||||||
element:
|
element:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
@@ -437,7 +437,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-postfix"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-postfix"
|
||||||
name: "postfix"
|
name: "postfix"
|
||||||
version: "5.0.2"
|
version: "5.1.0"
|
||||||
verify: true
|
verify: true
|
||||||
postgresql:
|
postgresql:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
|
|||||||
Reference in New Issue
Block a user