mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-07-04 23:34:12 +02:00
Let service.ssh.externalIPs and service.ssh.externalTrafficPolicy be configurable (#15)
remove Cluster from readme externalTrafficPolicy and externalIPs example in values document service.ssh.externalTrafficPolicy and service.ssh.externalIPs bump chart version externalIPs and externalTrafficPolicy let service.ssh.externalIPs and service.ssh.externalTrafficPolicy be configurable Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/15 Reviewed-by: luhahn <luhahn@noreply.gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
df6cb3b5de
commit
5261fa8599
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: gitea
|
name: gitea
|
||||||
description: Gitea Helm chart for Kubernetes
|
description: Gitea Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 1.4.1
|
version: 1.4.2
|
||||||
appVersion: 1.12.3
|
appVersion: 1.12.3
|
||||||
icon: https://docs.gitea.io/images/gitea.png
|
icon: https://docs.gitea.io/images/gitea.png
|
||||||
|
|
||||||
|
@ -201,6 +201,8 @@ Like the admin user the ldap settings can be updated but also disabled or delete
|
|||||||
|service.http.port| Port for web traffic | 3000 |
|
|service.http.port| Port for web traffic | 3000 |
|
||||||
|service.ssh.type| Kubernetes service type for ssh traffic | ClusterIP |
|
|service.ssh.type| Kubernetes service type for ssh traffic | ClusterIP |
|
||||||
|service.ssh.port| Port for ssh traffic | 22 |
|
|service.ssh.port| Port for ssh traffic | 22 |
|
||||||
|
|service.ssh.externalTrafficPolicy| If `service.ssh.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation | |
|
||||||
|
|service.ssh.externalIPs| SSH service external IP addresses |[]|
|
||||||
|service.ssh.annotations| Additional ssh annotations for the ssh service ||
|
|service.ssh.annotations| Additional ssh annotations for the ssh service ||
|
||||||
|
|
||||||
### Gitea Configuration
|
### Gitea Configuration
|
||||||
|
@ -14,12 +14,19 @@ spec:
|
|||||||
{{- if ne .Values.service.ssh.type "LoadBalancer" }}
|
{{- if ne .Values.service.ssh.type "LoadBalancer" }}
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.service.ssh.externalIPs }}
|
||||||
|
externalIPs:
|
||||||
|
{{ toYaml .Values.service.ssh.externalIPs | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.service.ssh.externalTrafficPolicy }}
|
||||||
|
externalTrafficPolicy: {{ .Values.service.ssh.externalTrafficPolicy }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
port: {{ .Values.service.ssh.port }}
|
port: {{ .Values.service.ssh.port }}
|
||||||
targetPort: {{ .Values.gitea.config.server.SSH_LISTEN_PORT }}
|
targetPort: {{ .Values.gitea.config.server.SSH_LISTEN_PORT }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if .Values.service.ssh.nodePort }}
|
{{- if .Values.service.ssh.nodePort }}
|
||||||
nodePort: {{ .Values.service.ssh.nodePort }}
|
nodePort: {{ .Values.service.ssh.nodePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -20,6 +20,8 @@ service:
|
|||||||
port: 22
|
port: 22
|
||||||
#loadBalancerIP:
|
#loadBalancerIP:
|
||||||
#nodePort:
|
#nodePort:
|
||||||
|
#externalTrafficPolicy:
|
||||||
|
#externalIPs:
|
||||||
annotations:
|
annotations:
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
Loading…
Reference in New Issue
Block a user