Migrated longhorn out
This commit is contained in:
parent
dfc22eefe2
commit
2ac990ff3f
2 changed files with 0 additions and 68 deletions
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
CHART_VERSION=1.4.2
|
||||
|
||||
helm repo add longhorn https://charts.longhorn.io
|
||||
helm repo update
|
||||
helm upgrade --install \
|
||||
longhorn \
|
||||
longhorn/longhorn \
|
||||
-n longhorn-system \
|
||||
--version ${CHART_VERSION} \
|
||||
--create-namespace \
|
||||
--cleanup-on-fail
|
|
@ -1,56 +0,0 @@
|
|||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: longhorn-cert
|
||||
namespace: istio-system
|
||||
spec:
|
||||
secretName: longhorn-cert
|
||||
commonName: longhorn.teapot.masked.name
|
||||
dnsNames:
|
||||
- longhorn.teapot.masked.name
|
||||
issuerRef:
|
||||
name: vault-issuer
|
||||
kind: ClusterIssuer
|
||||
group: cert-manager.io
|
||||
...
|
||||
---
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: longhorn-gateway
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
selector:
|
||||
istio: ingressgateway-internal
|
||||
servers:
|
||||
- port:
|
||||
number: 443
|
||||
name: https
|
||||
protocol: HTTPS
|
||||
tls:
|
||||
mode: SIMPLE
|
||||
credentialName: longhorn-cert
|
||||
hosts:
|
||||
- longhorn.teapot.masked.name
|
||||
...
|
||||
---
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: longhorn-gateway
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
hosts:
|
||||
- longhorn.teapot.masked.name
|
||||
gateways:
|
||||
- longhorn-gateway
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
route:
|
||||
- destination:
|
||||
port:
|
||||
number: 80
|
||||
host: longhorn-frontend
|
Loading…
Reference in a new issue