Skip to content

Instantly share code, notes, and snippets.

@nmittler
Last active August 12, 2020 22:56
Show Gist options
  • Save nmittler/b8eecb65d16b81dd9d804ebb43dbd50c to your computer and use it in GitHub Desktop.
Save nmittler/b8eecb65d16b81dd9d804ebb43dbd50c to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Namespace
metadata:
name: xnetwork
---
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
# Use an empty profile so that we only install the gateway.
profile: empty
components:
ingressGateways:
- namespace: xnetwork
name: xnetwork-gateway
enabled: true
k8s:
resources:
requests:
cpu: 200m
service:
ports:
- port: 443
targetPort: 8443
name: tls
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: xnetwork-gateway
namespace: xnetwork
spec:
selector:
istio: xnetwork
servers:
- port:
number: 443
name: tls
protocol: TLS
tls:
mode: AUTO_PASSTHROUGH
hosts:
- "*.local"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment