Split manifests into infra/ and applications/
This commit is contained in:
16
applications/proxmox/proxmox-backendtlspolicy.yaml
Normal file
16
applications/proxmox/proxmox-backendtlspolicy.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1alpha3
|
||||
kind: BackendTLSPolicy
|
||||
metadata:
|
||||
name: proxmox-backend-tls
|
||||
namespace: proxmox
|
||||
spec:
|
||||
targetRefs:
|
||||
- group: ""
|
||||
kind: Service
|
||||
name: proxmox
|
||||
validation:
|
||||
caCertificateRefs:
|
||||
- kind: ConfigMap
|
||||
group: ""
|
||||
name: proxmox-ca-cert
|
||||
hostname: pve.jsme.be
|
||||
18
applications/proxmox/proxmox-endpointslice.yaml
Normal file
18
applications/proxmox/proxmox-endpointslice.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: proxmox
|
||||
namespace: proxmox
|
||||
labels:
|
||||
kubernetes.io/service-name: proxmox
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- port: 8006
|
||||
protocol: TCP
|
||||
endpoints:
|
||||
- addresses:
|
||||
- "10.8.12.10"
|
||||
conditions:
|
||||
ready: true
|
||||
serving: true
|
||||
terminating: false
|
||||
46
applications/proxmox/proxmox-httproute.yaml
Normal file
46
applications/proxmox/proxmox-httproute.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: proxmox-route
|
||||
namespace: proxmox
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: proxmox
|
||||
hostnames:
|
||||
- "proxmox.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "proxmox.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
- type: ResponseHeaderModifier
|
||||
responseHeaderModifier:
|
||||
set:
|
||||
- name: Strict-Transport-Security
|
||||
value: "max-age=31536000; includeSubDomains"
|
||||
- name: X-Content-Type-Options
|
||||
value: nosniff
|
||||
- name: X-Frame-Options
|
||||
value: SAMEORIGIN
|
||||
- name: Referrer-Policy
|
||||
value: strict-origin-when-cross-origin
|
||||
- name: Permissions-Policy
|
||||
value: "camera=(), microphone=(), geolocation=(), payment=()"
|
||||
backendRefs:
|
||||
- name: proxmox
|
||||
port: 8006
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
11
applications/proxmox/proxmox-service.yaml
Normal file
11
applications/proxmox/proxmox-service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: proxmox
|
||||
namespace: proxmox
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8006
|
||||
targetPort: 8006
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user