Skip to content

Commit

Permalink
Merge pull request #529 from Lucifergene/insecure-route
Browse files Browse the repository at this point in the history
Support for enabling insecure connections into Gitea
  • Loading branch information
ckavili committed May 29, 2024
2 parents 502afed + d26c08e commit 33c8074
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gitea/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3
version: 0.1.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/gitea/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
{{- if .Values.tlsRoute }}
tls:
termination: edge
insecureEdgeTerminationPolicy: {{ .Values.insecureEdgeTerminationPolicy }}
{{- end }}
to:
kind: Service
Expand Down
2 changes: 2 additions & 0 deletions charts/gitea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

# Use edge termination for the gitea route
tlsRoute: true
# Default setting for insecure connections. Override if needed
insecureEdgeTerminationPolicy: None


## YOU MUST SPECIFY THE DB PASSWORD!!!
Expand Down

0 comments on commit 33c8074

Please sign in to comment.