Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.5' into 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu committed Jan 30, 2024
2 parents 4eefe05 + d2e03ee commit a9e865c
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ metadata:
{{- end }}
spec:
gateways:
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }}
hosts:
- {{ .Values.global.domain }}
http:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ spec:
hosts:
- {{ .Values.global.domain }}
gateways:
- {{ .Release.Name }}-global-gtw
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }}
http:
- name: {{ .Release.Name }}-istio-fido2-configuration
match:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.global.istio.gateways }}
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
Expand Down Expand Up @@ -33,4 +34,4 @@ spec:
tls:
mode: SIMPLE # enable https on this port
credentialName: tls-certificate # fetch cert from k8s secret
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ spec:
hosts:
- {{ .Values.global.domain }}
gateways:
- {{ .Release.Name }}-global-gtw # can omit the namespace if gateway is in same namespace as virtual service.
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }} # can omit the namespace if gateway is in same namespace as virtual service.
http:
- name: "{{ .Release.Name }}-istio-openid-config"
match:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ spec:
hosts:
- {{ .Values.global.domain }}
gateways:
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }}
http:
- name: {{ .Release.Name }}-istio-passport
match:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ spec:
hosts:
- {{ .Values.global.domain }}
gateways:
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }}
http:
- name: "{{ .Release.Name }}-istio-base"
match:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ spec:
hosts:
- {{ .Values.global.domain }}
gateways:
- {{ .Release.Name }}-global-gtw # can omit the namespace if gateway is in same namespace as virtual service.
{{- if .Values.global.istio.gateways }}
{{- with .Values.global.istio.gateways }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- else }}
- {{ .Release.Name }}-global-gtw
{{- end }} # can omit the namespace if gateway is in same namespace as virtual service.
http:
- name: {{ .Release.Name }}-istio-scim-config
match:
Expand Down
4 changes: 4 additions & 0 deletions pygluu/kubernetes/templates/helm/gluu/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ global:
ingress: false
# -- Boolean flag that enables using istio gateway for Gluu. This assumes istio ingress is installed and hence the LB is available.
enabled: false
# -- Custom istio gateways name to be used for Gluu. This is only used when global.istio.enabled is set to true and a gateway has been created in the environment outside this helm chart lifecycle.
#gateways:
# - "gluu-gateway"
gateways: []
# -- The namespace istio is deployed in. The is normally istio-system.
namespace: istio-system
# -- Additional labels that will be added across the gateway in the format of {mylabel: "myapp"}
Expand Down

0 comments on commit a9e865c

Please sign in to comment.