Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebView Support eclipsesource/theia-cloud#296 #57

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Conversation

jfaltermeier
Copy link
Contributor

@jfaltermeier jfaltermeier commented Apr 23, 2024

  • add additional information to AppDefinition for other hostnames that have to be exposed
  • path based ingresses did not specify a secretName but relied on a working default certificate.
    This adds a hosts.paths.tlsSecretName boolean property which defaults to false (i.e. default behaviour is the same). When set to true the same secretName as for the subdomain based ingresses will be used then.
  • allows to configure whether cert manager annotations should be added on the ingresses or not via ingress.certManagerAnnotations. This is useful when the certifcates won't be managed by cert-manager at all. Default is still true.
  • adds hosts.additionalWildcardInstances to instances. This is required when the certificates shall be managed via cert-manager, so that all possible paths are already available in the ingress and therefore included in the requests of the cert-manager.
  • changes the self-signed certificates to use a custom certificate authority. This allows to accept all certificates from this authority and eases local testing with subdomains.
  • adapt document regeneration documentation to always use latest image

Also see eclipse-theia/theia-cloud#298 (also contains testing instructions)

eclipse-theia/theia-cloud#296

@jfaltermeier jfaltermeier changed the title Add WebView Support eclipsesource/theia-cloud/#296 Add WebView Support eclipsesource/theia-cloud#296 Apr 23, 2024
@jfaltermeier jfaltermeier force-pushed the jf/webviews branch 2 times, most recently from 53a62d6 to 449169b Compare April 23, 2024 12:44
@jfaltermeier jfaltermeier force-pushed the jf/webviews branch 5 times, most recently from ff658af to b9a011f Compare May 17, 2024 13:12
@jfaltermeier jfaltermeier marked this pull request as ready for review May 17, 2024 13:12
* add additional information to AppDefinition for other hostnames that
have to be exposed
* adapt self-signed certificate generation to use a CA that can be
imported as an authority in a browser
* add additional wildcard rules when installing the instance ingress
* adapt document regeneration documentation to always use latest image
* optionally set tls secret name when using paths
Copy link
Contributor

@sgraband sgraband left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it and it works great 🎉 I have some comments regarding the functionality/naming of one of the fields. Could you take a look at those?

charts/theia.cloud/templates/instances-ingress.yaml Outdated Show resolved Hide resolved
charts/theia.cloud/values.yaml Outdated Show resolved Hide resolved
* rename additionalWildcardInstances to allWildcardInstances
Copy link
Contributor

@sgraband sgraband left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes and clarifications. Looks good to me 👍

@jfaltermeier jfaltermeier merged commit 81d7102 into main Jun 17, 2024
@jfaltermeier jfaltermeier deleted the jf/webviews branch June 17, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants