diff --git a/charts/actions-runner-controller/templates/githubwebhook.ingress.yaml b/charts/actions-runner-controller/templates/githubwebhook.ingress.yaml index 68b47bb7..0ca81bad 100644 --- a/charts/actions-runner-controller/templates/githubwebhook.ingress.yaml +++ b/charts/actions-runner-controller/templates/githubwebhook.ingress.yaml @@ -37,6 +37,9 @@ spec: - host: {{ .host | quote }} http: paths: + {{- if .extraPaths }} + {{- toYaml .extraPaths | nindent 10 }} + {{- end }} {{- range .paths }} - path: {{ .path }} {{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }} diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 633e619e..4efe97e9 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -224,6 +224,20 @@ githubWebhookServer: paths: [] # - path: /* # pathType: ImplementationSpecific + # Extra paths that are not automatically connected to the server. This is useful when working with annotation based services. + extraPaths: [] + # - path: /* + # backend: + # serviceName: ssl-redirect + # servicePort: use-annotation + ## for Kubernetes >=1.19 (when "networking.k8s.io/v1" is used) + # - path: /* + # pathType: Prefix + # backend: + # service: + # name: ssl-redirect + # port: + # name: use-annotation tls: [] # - secretName: chart-example-tls # hosts: