move manifests around, add longhorn to argo

This commit is contained in:
Amarpreet Minhas 2023-07-08 16:01:15 -04:00
parent 49e84ca1c1
commit e2831ded85
6 changed files with 13 additions and 47 deletions

View file

@ -10,6 +10,11 @@ helmApps:
repoURL: https://charts.external-secrets.io repoURL: https://charts.external-secrets.io
chart: external-secrets chart: external-secrets
revision: 0.9.1 revision: 0.9.1
- app: longhorn
namespace: longhorn-system
repoURL: https://charts.longhorn.io
chart: longhorn
revision: 1.4.2
- app: prometheus - app: prometheus
namespace: prometheus namespace: prometheus
repoURL: https://prometheus-community.github.io/helm-charts repoURL: https://prometheus-community.github.io/helm-charts

View file

@ -0,0 +1,8 @@
---
istio:
name: longhorn
namespace: longhorn-system
commonName: longhorn.teapot.masked.name
ingressSelector: ingressgateway-internal
issuer: vault-issuer
port: 80

View file

@ -54,14 +54,3 @@ spec:
port: port:
number: 80 number: 80
host: longhorn-frontend host: longhorn-frontend
# tls:
# - match:
# - port: 443
# sniHosts:
# - longhorn.teapot.masked.name
# route:
# - destination:
# host: longhorn-frontend
# port:
# number: 80
...

View file

@ -1,36 +0,0 @@
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
name: longhorn-gateway
namespace: longhorn-system
spec:
gatewayClassName: istio
listeners:
- name: http
hostname: "longhorn.teapot.masked.name"
port: 80
protocol: HTTP
allowedRoutes:
namespaces:
from: Same
...
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: longhorn-frontend
namespace: longhorn-system
spec:
parentRefs:
- name: longhorn-gateway
hostnames: ["longhorn.teapot.masked.name"]
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: longhorn-frontend
port: 80
...