Update documentation and example values

This commit is contained in:
Gitea Actions
2025-12-22 21:38:53 +00:00
parent c17dd6c7b6
commit d7345e28e2
3 changed files with 91 additions and 5 deletions

View File

@@ -82,12 +82,64 @@ helm install flow entit/flow \
|-----------|-------------|---------|
| `global.namespace` | Namespace to install all Flow components (uses --namespace if not set) | `""` |
| `global.imageRegistry` | Container registry for all images | `cr.kn.entit.eu` |
| `global.imagePullSecrets` | Image pull secrets | `[]` |
| `global.imagePullSecrets` | Image pull secrets (list of existing secret names) | `[]` |
| `global.imageCredentials.enabled` | Enable creation of image pull secret from credentials | `false` |
| `global.imageCredentials.username` | Registry username | `""` |
| `global.imageCredentials.password` | Registry password | `""` |
| `global.azureAd.enabled` | Enable Azure AD authentication | `true` |
| `global.azureAd.tenantId` | Azure AD tenant ID | `""` |
| `global.azureAd.clientId` | Azure AD application client ID | `""` |
| `global.database.provider` | Database provider (Postgres/SqlServer) | `Postgres` |
### Harbor Registry Authentication
The Flow images are hosted on Harbor at `cr.kn.entit.eu`. Harbor requires authentication to pull images even from public repositories.
#### Option 1: Auto-create Secret with Credentials (Recommended)
Pass Harbor credentials during installation to automatically create the registry secret:
```bash
helm install flow entit/flow \
--namespace flow \
--create-namespace \
--set global.imageCredentials.enabled=true \
--set global.imageCredentials.username=$HARBOR_USER \
--set global.imageCredentials.password=$HARBOR_PASSWORD
```
Or in your values file:
```yaml
global:
imageRegistry: "cr.kn.entit.eu"
imageCredentials:
enabled: true
username: "" # Set via --set flag
password: "" # Set via --set flag
```
#### Option 2: Use Existing Secret
If you prefer to manage the secret separately:
```bash
# Create the secret first
kubectl create secret docker-registry flow-registry-credentials \
--docker-server=cr.kn.entit.eu \
--docker-username=$HARBOR_USER \
--docker-password=$HARBOR_PASSWORD \
-n flow
```
Then reference it in values:
```yaml
global:
imageCredentials:
existingSecret: "flow-registry-credentials"
```
### Namespace Configuration
All Flow components are installed into a single namespace for easy management and cleanup: