Skip to content

Commit

Permalink
Initial instructions on how to configure TLS in enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
foot committed Mar 11, 2022
1 parent 931b52e commit ce2b773
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 49 deletions.
47 changes: 0 additions & 47 deletions website/docs/enterprise/configuration.mdx

This file was deleted.

35 changes: 35 additions & 0 deletions website/docs/enterprise/tls.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: OIDC Integration
sidebar_position: 5
---

import TierLabel from "../_components/TierLabel";

# TLS <TierLabel tiers="enterprise" />

By default the UI is served over https. A self-signed Certificate and Key are generated by the clusters-service when it starts.

## Disabling TLS in clusters-service

If you are doing SSL termination in another ingress controller you can disable tls in the clusters-service. Update the weave-gitops-enterprise `HelmRelease` values:

```
tls:
enabled: false
```

## Providing your own Certificates and Keys to the clusters-service

Create a kubernetes `tls` secret that contains your TLS certs and update the weave-gitops-enterprise

Update the weave-gitops-enterprise `HelmRelease` tls section and provide the name of the tls secret:

```
tls:
enabled: true
secretName: my-tls-secret
```

### `cert-manager`

Install cert-manager and request a `Certificate` in the `wego-system` namespace. Provide the name of secret associated with the certificate to the weave-gitops-enterprise HelmRelease as described above.
4 changes: 2 additions & 2 deletions website/docs/enterprise/upgrading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ A **Pull Request** will be created against your cluster repository. **Review and
You should now be able to load the WGE UI:

```bash
kubectl port-forward --namespace wego-system deployments.apps/weave-gitops-enterprise-nginx-ingress-controller 8000:80
kubectl port-forward --namespace wego-system svc/clusters-service 8000:8000
```

The WGE UI should now be accessible at [http://localhost:8000](http://localhost:8000).
The WGE UI should now be accessible at [https://localhost:8000](https://localhost:8000).

### 7. Connect the management cluster up to itself

Expand Down

0 comments on commit ce2b773

Please sign in to comment.