Commit 619ce41f authored by Emil Munksø's avatar Emil Munksø
Browse files

chore: added docs and made protocol on deployment port definition optional

parent 4edc3731
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,6 +44,11 @@
| service.commonName            | If present, this will define the ssl certificate common name to be used by CertManager. `service.url` and `service.additionalHosts` will be added as Subject Alternative Names (SANs) | `nil` |
| service.externalPort          |             | `5000`                             |
| service.internalPort          |             | `5000`                             |
| additionalServicePorts        | List of additional service port definitions | `[]` |
| additionalServicePorts.port   | Integer external port number | `nil` |
| additionalServicePorts.targetPort | Integer container port number | `nil` |
| additionalServicePorts.protocol | Protocol of the service port definition | `nil` |
| additionalServicePorts.name | Name of the service port definition | `nil` |
| ingress.enabled               | If true, enables ingress | `true`                |
| ingress.path                  | Default path for the ingress | `/` |
| ingress.tls.enabled           | If true, enables SSL | `true`                    |
+2 −0
Original line number Diff line number Diff line
@@ -93,8 +93,10 @@ spec:
{{- range .Values.additionalServicePorts }}
        - name: {{ .name }}
          containerPort: {{ .targetPort }}
          {{- if .protocol }}
          protocol: {{ .protocol }} 
          {{- end }}
{{- end}}
{{- end }}
        livenessProbe:
{{- if eq .Values.livenessProbe.probeType "httpGet" }}