Skip to content

Commit

Permalink
expose collaboration product config (#799)
Browse files Browse the repository at this point in the history
* expose collaboration product config
  • Loading branch information
wkloucek authored Nov 8, 2024
1 parent fc744d7 commit b4dd2c6
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 3 deletions.
12 changes: 12 additions & 0 deletions charts/ocis/docs/values-desc-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ a| [subs=-attributes]
a| [subs=-attributes]
`"Collabora"`
| Name of the office suite. Will be displayed to the users.
| features.appsIntegration.wopiIntegration.officeSuites[0].product
a| [subs=-attributes]
+string+
a| [subs=-attributes]
`"Collabora"`
| Product type of the office suite. Will be used to determine certain product specifics. Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
| features.appsIntegration.wopiIntegration.officeSuites[0].secureViewEnabled
a| [subs=-attributes]
+bool+
Expand Down Expand Up @@ -300,6 +306,12 @@ a| [subs=-attributes]
a| [subs=-attributes]
`"OnlyOffice"`
| Name of the office suite. Will be displayed to the users.
| features.appsIntegration.wopiIntegration.officeSuites[1].product
a| [subs=-attributes]
+string+
a| [subs=-attributes]
`"OnlyOffice"`
| Product type of the office suite. Will be used to determine certain product specifics. Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
| features.appsIntegration.wopiIntegration.officeSuites[1].secureViewEnabled
a| [subs=-attributes]
+bool+
Expand Down
6 changes: 6 additions & 0 deletions charts/ocis/docs/values.adoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ features:
officeSuites:
- # -- Name of the office suite. Will be displayed to the users.
name: Collabora
# -- Product type of the office suite. Will be used to determine certain product specifics.
# Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
product: Collabora
# -- Enables the office suite.
enabled: false
# -- URI of the office suite.
Expand Down Expand Up @@ -323,6 +326,9 @@ features:

- # -- Name of the office suite. Will be displayed to the users.
name: OnlyOffice
# -- Product type of the office suite. Will be used to determine certain product specifics.
# Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
product: OnlyOffice
# -- Enables the office suite.
enabled: false
# -- URI of the office suite.
Expand Down
2 changes: 2 additions & 0 deletions charts/ocis/templates/collaboration/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:

- name: COLLABORATION_APP_NAME
value: {{ $officeSuite.name | quote }}
- name: COLLABORATION_APP_PRODUCT
value: {{ default $officeSuite.name $officeSuite.product | quote }}

- name: COLLABORATION_APP_LOCKNAME
value: com.github.owncloud.collaboration-{{ $officeSuite.name }}
Expand Down
6 changes: 6 additions & 0 deletions charts/ocis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ features:
officeSuites:
- # -- Name of the office suite. Will be displayed to the users.
name: Collabora
# -- Product type of the office suite. Will be used to determine certain product specifics.
# Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
product: Collabora
# -- Enables the office suite.
enabled: false
# -- URI of the office suite.
Expand Down Expand Up @@ -322,6 +325,9 @@ features:

- # -- Name of the office suite. Will be displayed to the users.
name: OnlyOffice
# -- Product type of the office suite. Will be used to determine certain product specifics.
# Supports "Collabora", "OnlyOffice", "Microsoft365" or "MicrosoftOfficeOnline".
product: OnlyOffice
# -- Enables the office suite.
enabled: false
# -- URI of the office suite.
Expand Down
2 changes: 1 addition & 1 deletion deployments/ocis-office/addons/onlyoffice/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
"ipfilter": {
"rules": [
{
"address": "collaboration-onlyoffice.ocis.svc.cluster.local",
"address": "collaboration-demoonlyoffice.ocis.svc.cluster.local",
"allowed": true
},
{
Expand Down
6 changes: 4 additions & 2 deletions deployments/ocis-office/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ releases:
enabled: true
wopiIntegration:
officeSuites:
- name: Collabora
- name: DemoCollabora
product: Collabora
enabled: true
uri: "https://collabora.kube.owncloud.test"
insecure: true
Expand All @@ -158,7 +159,8 @@ releases:
- secretName: ocis-dev-tls
hosts:
- wopi-collabora.kube.owncloud.test
- name: OnlyOffice
- name: DemoOnlyOffice
product: OnlyOffice
enabled: true
uri: "https://onlyoffice.kube.owncloud.test"
insecure: true
Expand Down

0 comments on commit b4dd2c6

Please sign in to comment.