Skip to content

Commit

Permalink
feature: added pathType setting for ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter B. Dick committed Feb 7, 2025
1 parent 3f94d31 commit 65ff39e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/chronograf/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
paths:
- path: {{ .Values.ingress.path }}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
pathType: Prefix
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
Expand Down
1 change: 1 addition & 0 deletions charts/chronograf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ ingress:
# secretName: my-tls-cert
# kubernetes.io/tls-acme: "true"
path: /
pathType: Prefix

## OAuth Settings for OAuth Providers
## More information -> https://github.com/influxdata/chronograf/blob/master/docs/auth.md
Expand Down
2 changes: 1 addition & 1 deletion charts/influxdb/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
paths:
- path: {{ .Values.ingress.path }}
pathType: Prefix
pathType: {{ .Values.ingress.pathType }}
backend:
service:
name: {{ include "influxdb.fullname" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/influxdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ ingress:
annotations: {}
# nginx.ingress.kubernetes.io/rewrite-target: $1
path: /
pathType: Prefix


## Add custom volume and volumeMounts
Expand Down
2 changes: 1 addition & 1 deletion charts/influxdb2/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
paths:
- path: {{ .Values.ingress.path }}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
pathType: Prefix
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
Expand Down
1 change: 1 addition & 0 deletions charts/influxdb2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ ingress:
# kubernetes.io/ingress.class: "nginx"
# kubernetes.io/tls-acme: "true"
path: /
pathType: Prefix

## Pod disruption budget configuration
##
Expand Down

0 comments on commit 65ff39e

Please sign in to comment.