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
2 changes: 1 addition & 1 deletion charts/servicemesh-operator-ambient/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: servicemesh-operator-ambient
description: Helm chart for deploying Red Hat OpenShift Service Mesh 3 Operator
type: application
version: 1.0.2
version: 1.0.3
appVersion: "3.0"
dependencies:
- name: helper-status-checker
Expand Down
39 changes: 39 additions & 0 deletions charts/servicemesh-operator-ambient/templates/gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{{- if and .Values.ambient.enabled .Values.gateway.enabled }}
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: {{ .Values.gateway.name }}
namespace: {{ .Values.ambient.istio.namespace }}
annotations:
networking.istio.io/service-type: {{ .Values.gateway.serviceType }}
argocd.argoproj.io/sync-wave: "3"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
gatewayClassName: istio
listeners:
{{- range .Values.gateway.listeners }}
- name: {{ .name }}
port: {{ .port }}
protocol: {{ .protocol }}
allowedRoutes:
namespaces:
from: All
{{- end }}
{{- if .Values.gateway.route.enabled }}
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ .Values.gateway.name }}
namespace: {{ .Values.ambient.istio.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
port:
targetPort: http-80
to:
kind: Service
name: {{ .Values.gateway.name }}
wildcardPolicy: None
{{- end }}
{{- end }}
Loading