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

feat: Add Custom Hostname config #396

Merged
merged 3 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions helm/flowforge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ Enables FlowForge Telemetry

- `forge.privateCA.configMapName` name of ConfigMap to store the CA Cert bundle (default `ff-ca-certs`)
- `forge.privateCA.certs` base64 encoded CA certificate PEM bundle of trusted certificates. This needs to be generated without line breaks e.g. `base64 -w 0 certs.pem` (default not set)

### Instance Custom Hostnames

- `forge.customHostname.enabled` activates the custom hostname feature (default `false`)
- `forge.customHostname.certManagerIssuer` name of CertManager ClusterIssuer to use to request HTTPS certificates for custom hostnames (default is not set)
- `forge.customHostname.ingressClass` name of the IngressClass to use for exposing the custom hostname (default is not set)

### Rate Limiting

Expand Down
10 changes: 10 additions & 0 deletions helm/flowforge/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ data:
{{- if .Values.forge.logPassthrough }}
logPassthrough: {{ .Values.forge.logPassthrough }}
{{- end }}
{{- if .Values.forge.customHostname }}
customHostname:
enabled: {{ .Values.forge.customHostname.enabled }}
{{- if .Values.forge.customHostname.certManagerIssuer }}
certManagerIssuer: {{ .Values.forge.customHostname.certManagerIssuer }}
{{- end }}
{{- if .Values.forge.customHostname.ingressClass }}
ingressClass: {{ .Values.forge.customHostname.ingressClass }}
{{- end }}
{{- end }}
{{- if .Values.forge.email }}
email:
enabled: true
Expand Down
11 changes: 11 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,17 @@
},
"logPassthrough": {
"type": "boolean"
},
"customeHostname": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"certManagerIssuer": {
"type": "string"
}
}
}
},
"required": [
Expand Down
2 changes: 2 additions & 0 deletions helm/flowforge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ forge:
failureThreshold: 3

logPassthrough: false
customHostname:
enabled: false

postgresql:
image:
Expand Down
Loading