mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 15:31:38 +01:00
fix(nubus): Add otterize annotations
This commit is contained in:
@@ -109,7 +109,10 @@ ingress:
|
|||||||
{{ .Values.annotations.nubusIntercomService.ingress | toYaml | nindent 4 }}
|
{{ .Values.annotations.nubusIntercomService.ingress | toYaml | nindent 4 }}
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusIntercomService.pod | toYaml | nindent 2 }}
|
intents.otterize.com/service-name: intercom-service
|
||||||
|
{{- with .Values.annotations.nubusIntercomService.pod }}
|
||||||
|
{{ . | toYaml | nindent 2}}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -42,7 +42,10 @@ configuration:
|
|||||||
value: {{ .Values.objectstores.nubus.secretKey | default .Values.secrets.minio.umsUser | quote }}
|
value: {{ .Values.objectstores.nubus.secretKey | default .Values.secrets.minio.umsUser | quote }}
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusNginxS3Gateway.pod | toYaml | nindent 2 }}
|
intents.otterize.com/service-name: nubus-nginx-s3-gateway
|
||||||
|
{{- with .Values.annotations.nubusNginxS3Gateway.pod }}
|
||||||
|
{{ . | toYaml | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.nginxS3Gateway | toYaml | nindent 2 }}
|
{{ .Values.resources.nginxS3Gateway | toYaml | nindent 2 }}
|
||||||
|
|||||||
@@ -274,7 +274,6 @@ nubusTwofaHelpdesk:
|
|||||||
nubusNotificationsApi:
|
nubusNotificationsApi:
|
||||||
enabled: false
|
enabled: false
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-notifications-api"
|
|
||||||
{{- with .Values.annotations.nubusNotificationsApi.additional }}
|
{{- with .Values.annotations.nubusNotificationsApi.additional }}
|
||||||
{{ . | toYaml | nindent 4 }}
|
{{ . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -312,7 +311,10 @@ nubusNotificationsApi:
|
|||||||
annotations:
|
annotations:
|
||||||
{{ .Values.annotations.nubusNotificationsApi.persistence | toYaml | nindent 6 }}
|
{{ .Values.annotations.nubusNotificationsApi.persistence | toYaml | nindent 6 }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusNotificationsApi.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-notifications-api"
|
||||||
|
{{- with .Values.annotations.nubusNotificationsApi.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
postgresql:
|
postgresql:
|
||||||
connection:
|
connection:
|
||||||
host: {{ .Values.databases.umsNotificationsApi.host | quote }}
|
host: {{ .Values.databases.umsNotificationsApi.host | quote }}
|
||||||
@@ -339,7 +341,6 @@ nubusNotificationsApi:
|
|||||||
|
|
||||||
nubusPortalFrontend:
|
nubusPortalFrontend:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-portal-frontend"
|
|
||||||
{{- with .Values.annotations.nubusPortalFrontend.additional }}
|
{{- with .Values.annotations.nubusPortalFrontend.additional }}
|
||||||
{{ . | toYaml | nindent 4 }}
|
{{ . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -415,7 +416,10 @@ nubusPortalFrontend:
|
|||||||
annotations:
|
annotations:
|
||||||
{{ .Values.annotations.nubusPortalFrontend.persistence | toYaml | nindent 6 }}
|
{{ .Values.annotations.nubusPortalFrontend.persistence | toYaml | nindent 6 }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusPortalFrontend.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-portal-frontend"
|
||||||
|
{{- with .Values.annotations.nubusPortalFrontend.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
portalFrontend:
|
portalFrontend:
|
||||||
branding:
|
branding:
|
||||||
css: {{ .Values.theme.styles.portal.main | toJson }}
|
css: {{ .Values.theme.styles.portal.main | toJson }}
|
||||||
@@ -666,7 +670,6 @@ nubusPortalConsumer:
|
|||||||
|
|
||||||
nubusPortalServer:
|
nubusPortalServer:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-portal-server"
|
|
||||||
{{- with .Values.annotations.nubusPortalServer.additional }}
|
{{- with .Values.annotations.nubusPortalServer.additional }}
|
||||||
{{ . | toYaml | nindent 4 }}
|
{{ . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -711,7 +714,10 @@ nubusPortalServer:
|
|||||||
annotations:
|
annotations:
|
||||||
{{ .Values.annotations.nubusPortalServer.persistence | toYaml | nindent 6 }}
|
{{ .Values.annotations.nubusPortalServer.persistence | toYaml | nindent 6 }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusPortalServer.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-portal-server"
|
||||||
|
{{- with .Values.annotations.nubusPortalServer.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
portalServer:
|
portalServer:
|
||||||
centralNavigation:
|
centralNavigation:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -839,7 +845,10 @@ nubusUdmRestApi:
|
|||||||
annotations:
|
annotations:
|
||||||
{{ .Values.annotations.nubusUdmRestApi.persistence | toYaml | nindent 6 }}
|
{{ .Values.annotations.nubusUdmRestApi.persistence | toYaml | nindent 6 }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusUdmRestApi.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: ums-udm-rest-api
|
||||||
|
{{- with .Values.annotations.nubusUdmRestApi.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end}}
|
||||||
replicaCount: {{ .Values.replicas.umsUdmRestApi }}
|
replicaCount: {{ .Values.replicas.umsUdmRestApi }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsUdmRestApi | toYaml | nindent 4 }}
|
{{ .Values.resources.umsUdmRestApi | toYaml | nindent 4 }}
|
||||||
@@ -898,7 +907,7 @@ nubusLdapServer:
|
|||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
{{ .Values.annotations.nubusLdapServer.additional | toYaml | nindent 4 }}
|
{{ .Values.annotations.nubusLdapServer.additional | toYaml | nindent 4 }}
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-ldap-server"
|
{{ .Values.annotations.nubusLdapServer.additional | toYaml | nindent 4 }}
|
||||||
dhInitcontainer:
|
dhInitcontainer:
|
||||||
image:
|
image:
|
||||||
registry: {{ coalesce .Values.repositories.image.registryOpencodeDe .Values.global.imageRegistry .Values.images.nubusLdapServerDhInitContainer.registry | quote }}
|
registry: {{ coalesce .Values.repositories.image.registryOpencodeDe .Values.global.imageRegistry .Values.images.nubusLdapServerDhInitContainer.registry | quote }}
|
||||||
@@ -921,7 +930,10 @@ nubusLdapServer:
|
|||||||
size: {{ .Values.persistence.storages.nubusLdapServerData.size | quote }}
|
size: {{ .Values.persistence.storages.nubusLdapServerData.size | quote }}
|
||||||
storageClass: {{ coalesce .Values.persistence.storages.nubusLdapServerData.storageClassName .Values.persistence.storageClassNames.RWO | quote }}
|
storageClass: {{ coalesce .Values.persistence.storages.nubusLdapServerData.storageClassName .Values.persistence.storageClassNames.RWO | quote }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusLdapServer.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-ldap-server"
|
||||||
|
{{- with .Values.annotations.nubusLdapServer.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
replicaCountPrimary: {{ .Values.replicas.umsLdapServerPrimary }}
|
replicaCountPrimary: {{ .Values.replicas.umsLdapServerPrimary }}
|
||||||
replicaCountSecondary: {{ .Values.replicas.umsLdapServerSecondary }}
|
replicaCountSecondary: {{ .Values.replicas.umsLdapServerSecondary }}
|
||||||
replicaCountProxy: {{ .Values.replicas.umsLdapServerProxy }}
|
replicaCountProxy: {{ .Values.replicas.umsLdapServerProxy }}
|
||||||
@@ -947,7 +959,6 @@ nubusProvisioning:
|
|||||||
{{ .Values.annotations.nubusProvisioning.additional | toYaml | nindent 4 }}
|
{{ .Values.annotations.nubusProvisioning.additional | toYaml | nindent 4 }}
|
||||||
api:
|
api:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-provisioning-api"
|
|
||||||
{{- with .Values.annotations.nubusProvisioning.apiAdditional }}
|
{{- with .Values.annotations.nubusProvisioning.apiAdditional }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -966,7 +977,10 @@ nubusProvisioning:
|
|||||||
auth:
|
auth:
|
||||||
password: {{ .Values.secrets.nubus.provisioning.api.natsPassword | quote}}
|
password: {{ .Values.secrets.nubus.provisioning.api.natsPassword | quote}}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusProvisioning.apiPod | toYaml | nindent 6 }}
|
intents.otterize.com/service-name: "ums-provisioning-api"
|
||||||
|
{{- with .Values.annotations.nubusProvisioning.apiPod }}
|
||||||
|
{{ . | toYaml | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsProvisioningApi | toYaml | nindent 6 }}
|
{{ .Values.resources.umsProvisioningApi | toYaml | nindent 6 }}
|
||||||
containerSecurityContext:
|
containerSecurityContext:
|
||||||
@@ -985,7 +999,6 @@ nubusProvisioning:
|
|||||||
{{ .Values.seLinuxOptions.umsProvisioning | toYaml | nindent 6 }}
|
{{ .Values.seLinuxOptions.umsProvisioning | toYaml | nindent 6 }}
|
||||||
dispatcher:
|
dispatcher:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-provisioning-dispatcher"
|
|
||||||
{{- with .Values.annotations.nubusProvisioning.dispatcherAdditional }}
|
{{- with .Values.annotations.nubusProvisioning.dispatcherAdditional }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -997,12 +1010,14 @@ nubusProvisioning:
|
|||||||
auth:
|
auth:
|
||||||
password: {{ .Values.secrets.nubus.provisioning.dispatcherNatsPassword | quote}}
|
password: {{ .Values.secrets.nubus.provisioning.dispatcherNatsPassword | quote}}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusProvisioning.dispatcherPod | toYaml | nindent 6 }}
|
intents.otterize.com/service-name: "ums-provisioning-dispatcher"
|
||||||
|
{{- with .Values.annotations.nubusProvisioning.dispatcherPod }}
|
||||||
|
{{ . | toYaml | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsProvisioningDispatcher | toYaml | nindent 6 }}
|
{{ .Values.resources.umsProvisioningDispatcher | toYaml | nindent 6 }}
|
||||||
nats:
|
nats:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-provisioning-nats"
|
|
||||||
{{- with .Values.annotations.nubusProvisioning.natsAdditional }}
|
{{- with .Values.annotations.nubusProvisioning.natsAdditional }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -1060,10 +1075,12 @@ nubusProvisioning:
|
|||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusProvisioning.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-provisioning-nats"
|
||||||
|
{{- with .Values.annotations.nubusProvisioning.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
prefill:
|
prefill:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-provisioning-prefill"
|
|
||||||
{{- with .Values.annotations.nubusProvisioning.prefillAdditional }}
|
{{- with .Values.annotations.nubusProvisioning.prefillAdditional }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -1075,12 +1092,14 @@ nubusProvisioning:
|
|||||||
auth:
|
auth:
|
||||||
password: {{ .Values.secrets.nubus.provisioning.prefillNatsPassword | quote}}
|
password: {{ .Values.secrets.nubus.provisioning.prefillNatsPassword | quote}}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusProvisioning.prefillPod | toYaml | nindent 6 }}
|
intents.otterize.com/service-name: "ums-provisioning-prefill"
|
||||||
|
{{- with .Values.annotations.nubusProvisioning.prefillPod }}
|
||||||
|
{{ . | toYaml | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsProvisioningPrefill | toYaml | nindent 6 }}
|
{{ .Values.resources.umsProvisioningPrefill | toYaml | nindent 6 }}
|
||||||
udmTransformer:
|
udmTransformer:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "ums-provisioning-udm-transformer"
|
|
||||||
{{- with .Values.annotations.nubusProvisioning.udmTransformerAdditional }}
|
{{- with .Values.annotations.nubusProvisioning.udmTransformerAdditional }}
|
||||||
{{ . | toYaml | nindent 6 }}
|
{{ . | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -1092,7 +1111,10 @@ nubusProvisioning:
|
|||||||
auth:
|
auth:
|
||||||
password: {{ .Values.secrets.nubus.provisioning.udmTransformerNatsPassword | quote}}
|
password: {{ .Values.secrets.nubus.provisioning.udmTransformerNatsPassword | quote}}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusProvisioning.udmTransformerPod | toYaml | nindent 6 }}
|
intents.otterize.com/service-name: "ums-provisioning-udm-transformer"
|
||||||
|
{{- with .Values.annotations.nubusProvisioning.udmTransformerPod }}
|
||||||
|
{{ . | toYaml | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsProvisioningUdmTransformer | toYaml | nindent 6 }}
|
{{ .Values.resources.umsProvisioningUdmTransformer | toYaml | nindent 6 }}
|
||||||
replicaCount:
|
replicaCount:
|
||||||
@@ -1163,7 +1185,10 @@ nubusUdmListener:
|
|||||||
size: {{ .Values.persistence.storages.nubusUdmListener.size | quote }}
|
size: {{ .Values.persistence.storages.nubusUdmListener.size | quote }}
|
||||||
# storageClass: -- coalesce .Values.persistence.storages.nubusUdmListener.storageClassName .Values.persistence.storageClassNames.RWO | quote --
|
# storageClass: -- coalesce .Values.persistence.storages.nubusUdmListener.storageClassName .Values.persistence.storageClassNames.RWO | quote --
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusUdmListener.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-provisioning-udm-listener"
|
||||||
|
{{- with .Values.annotations.nubusUdmListener.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
replicaCount: {{ .Values.replicas.umsUdmListener }}
|
replicaCount: {{ .Values.replicas.umsUdmListener }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsUdmListener | toYaml | nindent 4 }}
|
{{ .Values.resources.umsUdmListener | toYaml | nindent 4 }}
|
||||||
@@ -1219,9 +1244,9 @@ nubusSelfServiceConsumer:
|
|||||||
# Nubus services
|
# Nubus services
|
||||||
nubusStackDataUms:
|
nubusStackDataUms:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
|
intents.otterize.com/service-name: "ums-stack-data-ums"
|
||||||
argocd.argoproj.io/hook: "Sync"
|
argocd.argoproj.io/hook: "Sync"
|
||||||
argocd.argoproj.io/hook-delete-policy: "BeforeHookCreation"
|
argocd.argoproj.io/hook-delete-policy: "BeforeHookCreation"
|
||||||
intents.otterize.com/service-name: "ums-stack-data-ums"
|
|
||||||
{{- with .Values.annotations.nubusStackDataUms.additional }}
|
{{- with .Values.annotations.nubusStackDataUms.additional }}
|
||||||
{{ . | toYaml | nindent 4 }}
|
{{ . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -1270,7 +1295,10 @@ nubusStackDataUms:
|
|||||||
connection:
|
connection:
|
||||||
host: {{ .Values.databases.umsSelfservice.host | quote }}
|
host: {{ .Values.databases.umsSelfservice.host | quote }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusStackDataUms.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: "ums-stack-data-ums"
|
||||||
|
{{- with .Values.annotations.nubusStackDataUms.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ .Values.resources.umsStackDataUms | toYaml | nindent 4 }}
|
{{ .Values.resources.umsStackDataUms | toYaml | nindent 4 }}
|
||||||
stackDataContext:
|
stackDataContext:
|
||||||
@@ -1458,7 +1486,10 @@ nubusUmcServer:
|
|||||||
auth:
|
auth:
|
||||||
password: ""
|
password: ""
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusUmcServer.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: ums-umc-server
|
||||||
|
{{- with .Values.annotations.nubusUmcServer.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
# Ref.: https://docs.software-univention.de/nubus-kubernetes-operation/1.x/en/reference.html#envvar-nubusUmcServer.podManagementPolicy
|
# Ref.: https://docs.software-univention.de/nubus-kubernetes-operation/1.x/en/reference.html#envvar-nubusUmcServer.podManagementPolicy
|
||||||
podManagementPolicy: "{{ if gt .Values.replicas.umsUmcServer 4 }}Parallel{{ else }}OrderedReady{{ end }}"
|
podManagementPolicy: "{{ if gt .Values.replicas.umsUmcServer 4 }}Parallel{{ else }}OrderedReady{{ end }}"
|
||||||
postgresql:
|
postgresql:
|
||||||
@@ -1554,7 +1585,10 @@ nubusUmcGateway:
|
|||||||
initResources:
|
initResources:
|
||||||
{{ .Values.resources.umsUmcGateway | toYaml | nindent 4 }}
|
{{ .Values.resources.umsUmcGateway | toYaml | nindent 4 }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{ .Values.annotations.nubusUmcGateway.pod | toYaml | nindent 4 }}
|
intents.otterize.com/service-name: ums-umc-gateway
|
||||||
|
{{- with .Values.annotations.nubusUmcGateway.pod }}
|
||||||
|
{{ . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
replicaCount: {{ .Values.replicas.umsUmcGateway }}
|
replicaCount: {{ .Values.replicas.umsUmcGateway }}
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
annotations:
|
annotations:
|
||||||
|
|||||||
Reference in New Issue
Block a user