- Route requests with git/JGit User-Agent directly to gitserver backend - Parse gingress.io/git-backend annotation (format: namespace/name:port) - Convert static gingress YAML to Helm templates under deploy/templates/gingress/ - Add gingress config block to values.yaml (namespace, replicas, ports, resources)
20 lines
461 B
YAML
20 lines
461 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: gingress
|
|
namespace: {{ .Values.gingress.namespace | default "gingress-system" }}
|
|
labels:
|
|
app: gingress
|
|
spec:
|
|
type: LoadBalancer
|
|
selector:
|
|
app: gingress
|
|
ports:
|
|
- name: http
|
|
port: {{ .Values.gingress.httpPort | default 80 }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
- name: https
|
|
port: {{ .Values.gingress.httpsPort | default 443 }}
|
|
targetPort: https
|
|
protocol: TCP |