Skip to content
Open
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
1 change: 1 addition & 0 deletions charts/terrateam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ See the [Terrateam docs](https://docs.terrateam.io/self-hosted/overview) for dep
| ingress.labels | object | `{}`<br> Helm chart automatically adds `app: {{ .Values.terrateam.name }}` | `ingress.labels` merges with `global.labels`<br><br> Overrides `global.labels` if conflicting |
| ingress.name | string | `"ingress"` | |
| ingress.tlsSecretName | string | `"terrateam-tls"` | The name of the Kubernetes Secret containing the private TLS certificate protecting the Ingress |
| ingress.useTls | bool | `false` | Optionally enable the use of a TLS certificate for your ingress with the secret configured by the value of `ingress.tlsSecretName` |
| namespaceOverride | string | `nil` | Optionally override the destination namespace |
| rbac.enabled | bool | `true` | Optionally enable RBAC, attaching a ServiceAccount with a Role & RoleBinding to the deployments |
| rbac.roles | list | `[{"name":"secrets","rules":[{"apiGroups":[""],"resources":["secrets"],"verbs":["get"]}]}]` | Namespaced Roles |
Expand Down
2 changes: 1 addition & 1 deletion charts/terrateam/templates/terrateam-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
name: {{ template "application.name" $ }}-{{ .Values.terrateam.service.name | default .Values.terrateam.name }}
port:
name: http
{{- if and .Values.ingress.useTls }}
{{- if .Values.ingress.useTls }}
tls:
- hosts:
- {{ .Values.terrateam.config.fqdn | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/terrateam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ ingress:
# -- The IngressClass to use when creating the Ingress
className: "nginx"

# -- Enable TLS for the ingress using the secret specified in tlsSecretName
useTls: false
# -- The name of the Kubernetes Secret containing the private TLS certificate protecting the Ingress
tlsSecretName: &ingress_secret_name "terrateam-tls"

Expand Down