You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Kubernetes operator that automatically discovers services annotated with OpenAPI/Swagger documentation and aggregates their documentation in a single UI.
11
11
12
+
13
+
## Table of Contents
14
+
15
+
-[Features](#features)
16
+
-[Getting Started (Helm)](#getting-started-helm)
17
+
-[How to Annotate Your Services](#how-to-annotate-your-services)
You can deploy the operator as a Deployment in your cluster. Make sure to set the required environment variables if you want to customize annotation keys and a service account with permissions to watch `services` events.
57
-
58
-
### 5. Annotate your services
59
-
60
-
Add the following annotation to your Kubernetes services:
47
+
Add the following annotations to your Kubernetes services:
61
48
62
49
```yaml
63
50
metadata:
@@ -72,11 +59,18 @@ metadata:
72
59
# (Optional) Extra headers
73
60
```
74
61
75
-
### 6. Access the Swagger UI
62
+
63
+
### Accessing the UI
76
64
77
65
Expose the operator service (default port: 80) and access `/` to see the aggregated documentation.
78
66
79
-
## Environment Variables
67
+
---
68
+
69
+
## Configuration & Customization
70
+
71
+
### Environment Variables
72
+
73
+
You can customize the operator's behavior via environment variables:
To enable authentication via OpenID Connect (OIDC), set the following environment variables. These allow your application to interact with an OIDC-compliant identity provider for secure authentication and authorization.
87
+
### OIDC Authentication (SSO)
95
88
96
-
### Required Environment Variables
89
+
By default, SSO is configured through the Helm chart. The following values can be set in your `values.yaml`:
0 commit comments