Skip to content

chore(chart-deps): update gitea to version 12.7.0 - #3503

Draft
svcAPLBot wants to merge 2 commits into
mainfrom
ci-update-gitea-to-12.7.0
Draft

chore(chart-deps): update gitea to version 12.7.0#3503
svcAPLBot wants to merge 2 commits into
mainfrom
ci-update-gitea-to-12.7.0

Conversation

@svcAPLBot

Copy link
Copy Markdown
Contributor

This PR updates the dependency gitea to version 12.7.0.

Copilot AI lite review requested due to automatic review settings August 7, 2026 08:48
@svcAPLBot svcAPLBot added the chart-deps Auto generated helm chart dependencies label Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the vendored Gitea Helm chart to 12.7.0 (Gitea 1.27.0) and carries forward upstream changes, including new Gateway API exposure options and related documentation/templates.

Changes:

  • Upgrade Gitea chart dependency to 12.7.0 and appVersion to 1.27.0.
  • Add Gateway API support (HTTPRoute/TCPRoute/BackendTLSPolicy + NGINX ClientSettingsPolicy) with values + docs.
  • Refactor service naming to helpers and update ingress/route/test templates accordingly.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
charts/gitea/Chart.yaml Bumps chart/app versions and updates Artifact Hub changelog entries.
charts/dependencies.yaml Updates the pinned gitea chart dependency to 12.7.0.
apps.yaml Updates displayed Gitea appVersion to 1.27.0.
charts/gitea/values.yaml Adds gatewayAPI configuration block and normalizes some YAML formatting.
charts/gitea/templates/_helpers.tpl Extends public hostname/protocol derivation to account for Gateway API HTTPRoute.
charts/gitea/templates/tests/test-http-connection.yaml Updates helm test to target the HTTP service name helper.
charts/gitea/templates/gitea/_services.tpl Introduces helpers for HTTP/SSH Service names.
charts/gitea/templates/gitea/httpService.yaml Switches to the HTTP Service name helper and reorders metadata keys.
charts/gitea/templates/gitea/sshService.yaml Switches to the SSH Service name helper and reorders metadata keys.
charts/gitea/templates/gitea/ingress.yaml Updates ingress backend service name to use the helper.
charts/gitea/templates/gitea/route.yaml Updates OpenShift Route backend service name to use the helper.
charts/gitea/templates/gitea/_httpRoutes.tpl Adds helpers for HTTPRoute enablement/labels/annotations.
charts/gitea/templates/gitea/httpRoute.yaml Adds HTTPRoute template for Gateway API exposure.
charts/gitea/templates/gitea/_tcpRoutes.tpl Adds helpers for TCPRoute enablement/labels/annotations.
charts/gitea/templates/gitea/tcpRoute.yaml Adds TCPRoute template for (typically) SSH exposure.
charts/gitea/templates/gitea/_backendTLSPolicies.tpl Adds helpers for BackendTLSPolicy enablement/labels/annotations.
charts/gitea/templates/gitea/backendTLSPolicy.yaml Adds BackendTLSPolicy template for encrypted backend validation.
charts/gitea/templates/gitea/_clientSettingsPolicies.tpl Adds helpers for NGINX ClientSettingsPolicy enablement/labels/annotations.
charts/gitea/templates/gitea/clientSettingsPolicy.yaml Adds ClientSettingsPolicy template to raise request body limits (NGINX Gateway Fabric).
charts/gitea/docs/gateway-api.md Adds a detailed Gateway API usage guide and topology notes.
charts/gitea/README.md Updates docs navigation and adds a short Gateway API section + parameter table entries.
charts/gitea/.github/copilot-instructions.md Adds chart-local contributor guidance for Copilot usage.

Comment on lines +1 to +16
{{- if eq (include "gitea.tcpRoute.enabled" .) "true" -}}
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TCPRoute
metadata:
{{- with (include "gitea.tcpRoute.annotations" .) }}
annotations:
{{- . | nindent 4 }}
{{- end }}
{{- with (include "gitea.tcpRoute.labels" .) }}
labels:
{{- . | nindent 4 }}
{{- end }}
name: {{ include "gitea.fullname" . }}
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
Comment on lines +1 to +19
{{- if eq (include "gitea.backendTLSPolicy.enabled" .) "true" -}}
{{- if not (keys .Values.gatewayAPI.core.backendTLSPolicy.validation) }}
{{- fail "gatewayAPI.core.backendTLSPolicy.validation is required" }}
{{- end }}
---
apiVersion: gateway.networking.k8s.io/v1
kind: BackendTLSPolicy
metadata:
{{- with (include "gitea.backendTLSPolicy.annotations" .) }}
annotations:
{{- . | nindent 4 }}
{{- end }}
{{- with (include "gitea.backendTLSPolicy.labels" .) }}
labels:
{{- . | nindent 4 }}
{{- end }}
name: {{ include "gitea.fullname" . }}
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
Comment on lines +1 to +19
{{- if eq (include "gitea.clientSettingsPolicies.enabled" .) "true" -}}
{{- if not (keys .Values.gatewayAPI.nginx.clientSettingsPolicies.body) }}
{{- fail "gatewayAPI.nginx.clientSettingsPolicies.body is required" }}
{{- end }}
---
apiVersion: gateway.nginx.org/v1alpha1
kind: ClientSettingsPolicy
metadata:
{{- with (include "gitea.clientSettingsPolicies.annotations" .) }}
annotations:
{{- . | nindent 4 }}
{{- end }}
{{- with (include "gitea.clientSettingsPolicies.labels" .) }}
labels:
{{- . | nindent 4 }}
{{- end }}
name: {{ include "gitea.fullname" . }}
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
Comment thread charts/gitea/README.md

#### Gateway API

The chart can also expose Gitea through Gateway API resources (`HTTPRoute`, `TCPRoute`, `BackendTLSPolicy`, and optionally `Gateway`).
Comment on lines +1 to +16
{{- if eq (include "gitea.httpRoute.enabled" .) "true" -}}
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
{{- with (include "gitea.httpRoute.annotations" .) }}
annotations:
{{- . | nindent 4 }}
{{- end }}
{{- with (include "gitea.httpRoute.labels" .) }}
labels:
{{- . | nindent 4 }}
{{- end }}
name: {{ include "gitea.fullname" . }}
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
Copilot AI review requested due to automatic review settings August 7, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated no new comments.

Suppressed comments (1)

charts/gitea/README.md:318

  • README claims the chart can render an optional Gateway, but docs/gateway-api.md explicitly states the chart does not render a Gateway resource. This is contradictory and may mislead users configuring Gateway API exposure.
The chart can also expose Gitea through Gateway API resources (`HTTPRoute`, `TCPRoute`, `BackendTLSPolicy`, and optionally `Gateway`).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart-deps Auto generated helm chart dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants