Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions charts/stelloauth/templates/httproute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{- if .Values.httpRoute.enabled }}
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ include "stelloauth.fullname" . }}
labels:
{{- include "stelloauth.labels" . | nindent 4 }}
spec:
parentRefs:
{{- toYaml .Values.httpRoute.parentRefs | nindent 4 }}
{{- if .Values.httpRoute.hostnames }}
hostnames:
{{- toYaml .Values.httpRoute.hostnames | nindent 4 }}
{{- end }}
rules:
- backendRefs:
- name: {{ include "stelloauth.fullname" . }}
port: {{ .Values.service.port }}
{{- end }}
10 changes: 10 additions & 0 deletions charts/stelloauth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ ingress:
pathType: Prefix
tls: []

# Gateway API HTTPRoute — alternative to Ingress for clusters running nginx-gateway-fabric
# or another Gateway API implementation.
httpRoute:
enabled: false
parentRefs: []
# - name: nginx-gateway
# namespace: nginx-gateway
hostnames: []
# - stelloauth.example.com

resources: {}

rateLimit:
Expand Down