From ce3906f012389447bf75009a0d91eba683783522 Mon Sep 17 00:00:00 2001 From: Linus Vogel Date: Sat, 27 Jun 2026 17:08:03 +0200 Subject: [PATCH] gateway --- apps/istio.yaml | 15 +++++++++++++++ apps/network_policies.yaml | 0 helm/argocd/templates/gateway.yaml | 0 helm/istiod/templates/apps-gateway.yaml | 16 ++++++++++++++++ network_policies/default.yaml | 0 5 files changed, 31 insertions(+) create mode 100644 apps/network_policies.yaml create mode 100644 helm/argocd/templates/gateway.yaml create mode 100644 helm/istiod/templates/apps-gateway.yaml create mode 100644 network_policies/default.yaml diff --git a/apps/istio.yaml b/apps/istio.yaml index 8ff5962..fa5cf20 100644 --- a/apps/istio.yaml +++ b/apps/istio.yaml @@ -35,6 +35,21 @@ spec: helm: valueFiles: - values.yaml + destination: + server: https://kubernetes.default.svc + namespace: istio-system +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: network_policies + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.linvogel.ch/linus/gitops.git + targetRevision: HEAD + path: network_policies destination: server: https://kubernetes.default.svc namespace: istio-system \ No newline at end of file diff --git a/apps/network_policies.yaml b/apps/network_policies.yaml new file mode 100644 index 0000000..e69de29 diff --git a/helm/argocd/templates/gateway.yaml b/helm/argocd/templates/gateway.yaml new file mode 100644 index 0000000..e69de29 diff --git a/helm/istiod/templates/apps-gateway.yaml b/helm/istiod/templates/apps-gateway.yaml new file mode 100644 index 0000000..dbb92e5 --- /dev/null +++ b/helm/istiod/templates/apps-gateway.yaml @@ -0,0 +1,16 @@ +apiVersion: networking.istio.io/v1 +kind: Gateway +metadata: + name: apps-gateway + namespace: istio-system +spec: + selector: + app: ingressgateway + servers: + - port: + number: 80 + name: http + protocol: HTTP + hosts: + - "*.apps.linvogel.ch" + - "*.apps.linvogel.internal" diff --git a/network_policies/default.yaml b/network_policies/default.yaml new file mode 100644 index 0000000..e69de29