Skip to content

Commit

Permalink
Override default Ingress tls secretName
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharathmk99 authored and adamjensenbot committed Sep 14, 2023
1 parent 228689b commit 6f02ee5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployments/liqo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| auth.ingress.enable | bool | `false` | Enable/disable the creation of the Ingress resource. |
| auth.ingress.host | string | `""` | Set the hostname for your ingress. |
| auth.ingress.port | int | `443` | Set port for your ingress. |
| auth.ingress.tlsSecretName | string | `""` | Override default (ChartName-auth) tls secretName. |
| auth.initContainer.imageName | string | `"ghcr.io/liqotech/cert-creator"` | Image repository for the init container of the auth pod. |
| auth.pod.annotations | object | `{}` | Annotations for the auth pod. |
| auth.pod.extraArgs | list | `[]` | Extra arguments for the auth pod. |
Expand Down
4 changes: 4 additions & 0 deletions deployments/liqo/templates/liqo-auth-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ spec:
{{- if .Values.auth.ingress.host }}
- hosts:
- {{ .Values.auth.ingress.host }}
{{- if .Values.auth.ingress.tlsSecretName }}
secretName: {{ .Values.auth.ingress.tlsSecretName }}
{{- else }}
secretName: {{ include "liqo.prefixedName" $authConfig }}
{{- end}}
{{- else }}
- hosts: []
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions deployments/liqo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ auth:
class: ""
# -- Set port for your ingress.
port: 443
# -- Override default (ChartName-auth) tls secretName.
tlsSecretName: ""
config:
# -- Set to false to disable the authentication of discovered clusters.
# Note: use it only for testing installations.
Expand Down

0 comments on commit 6f02ee5

Please sign in to comment.