Skip to content

Commit ff8275f

Browse files
authored
📝(self-hosted) update collaboration vars (#1075)
Remove the `auth-url` annotation and add the `COLLABORATION_BACKEND_BASE_URL` variable, introduced in 3.0.0. Mount the development CA to the yProvider container to allow TLS connections with the backend. Fix the mount path for development CA in the backend container. Signed-off-by: eduxstad <[email protected]>
1 parent c3f81c2 commit ff8275f

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

docs/examples/impress.values.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ backend:
8585
# Extra volume to manage our local custom CA and avoid to set ssl_verify: false
8686
extraVolumeMounts:
8787
- name: certs
88-
mountPath: /usr/local/lib/python3.12/site-packages/certifi/cacert.pem
88+
mountPath: /usr/local/lib/python3.13/site-packages/certifi/cacert.pem
8989
subPath: cacert.pem
9090

9191
# Extra volume to manage our local custom CA and avoid to set ssl_verify: false
@@ -121,6 +121,22 @@ yProvider:
121121
COLLABORATION_SERVER_ORIGIN: https://impress.127.0.0.1.nip.io
122122
COLLABORATION_SERVER_SECRET: my-secret
123123
Y_PROVIDER_API_KEY: my-secret
124+
COLLABORATION_BACKEND_BASE_URL: https://impress.127.0.0.1.nip.io
125+
NODE_EXTRA_CA_CERTS: /usr/local/share/ca-certificates/cacert.pem
126+
127+
# Mount the certificate so yProvider can establish tls with the backend
128+
extraVolumeMounts:
129+
- name: certs
130+
mountPath: /usr/local/share/ca-certificates/cacert.pem
131+
subPath: cacert.pem
132+
133+
extraVolumes:
134+
- name: certs
135+
configMap:
136+
name: certifi
137+
items:
138+
- key: cacert.pem
139+
path: cacert.pem
124140

125141
posthog:
126142
ingress:
@@ -135,9 +151,6 @@ ingress:
135151
ingressCollaborationWS:
136152
enabled: true
137153
host: impress.127.0.0.1.nip.io
138-
139-
annotations:
140-
nginx.ingress.kubernetes.io/auth-url: https://impress.127.0.0.1.nip.io/api/v1.0/documents/collaboration-auth/
141154

142155
ingressCollaborationApi:
143156
enabled: true

0 commit comments

Comments
 (0)