mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 17:04:22 -05:00
174c3ab48a
* terraform: add missing policies for AWS ALB
35 lines
633 B
YAML
35 lines
633 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: whoami-internal
|
|
namespace: lb-test
|
|
spec:
|
|
selector:
|
|
app: whoami
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
type: NodePort
|
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
namespace: lb-test
|
|
name: whoami
|
|
annotations:
|
|
alb.ingress.kubernetes.io/scheme: internet-facing
|
|
alb.ingress.kubernetes.io/target-type: instance
|
|
spec:
|
|
ingressClassName: alb
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: whoami-internal
|
|
port:
|
|
number: 80 |