Add Outline
This commit is contained in:
24
infra/argocd/applications/outline-application.yaml
Normal file
24
infra/argocd/applications/outline-application.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: outline
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
path: applications/outline
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: outline
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- PrunePropagationPolicy=foreground
|
||||
@@ -48,6 +48,7 @@ resources:
|
||||
- affine/affine-certificate.yaml
|
||||
- pelican/pelican-certificate.yaml
|
||||
- pelican/pelican-wings-certificate.yaml
|
||||
- outline/outline-certificate.yaml
|
||||
|
||||
patches:
|
||||
# Internal gateway patches
|
||||
@@ -273,6 +274,12 @@ patches:
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
path: pelican/pelican-wings-gateway-patch.yaml
|
||||
- target:
|
||||
group: gateway.networking.k8s.io
|
||||
version: v1
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
path: outline/outline-gateway-patch.yaml
|
||||
|
||||
# Public gateway patches
|
||||
- target:
|
||||
@@ -347,6 +354,12 @@ patches:
|
||||
kind: Gateway
|
||||
name: gateway-public
|
||||
path: gotify/gotify-gateway-public-patch.yaml
|
||||
- target:
|
||||
group: gateway.networking.k8s.io
|
||||
version: v1
|
||||
kind: Gateway
|
||||
name: gateway-public
|
||||
path: outline/outline-gateway-public-patch.yaml
|
||||
# Uncomment to expose Grafana publicly — ensure Grafana auth is properly configured first
|
||||
# - target:
|
||||
# group: gateway.networking.k8s.io
|
||||
|
||||
14
infra/envoy-gateway/outline/outline-certificate.yaml
Normal file
14
infra/envoy-gateway/outline/outline-certificate.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: outline-tls
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
secretName: outline-tls
|
||||
privateKey:
|
||||
rotationPolicy: Always
|
||||
issuerRef:
|
||||
name: azure-dns
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- outline.jsme.be
|
||||
19
infra/envoy-gateway/outline/outline-gateway-patch.yaml
Normal file
19
infra/envoy-gateway/outline/outline-gateway-patch.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
- op: add
|
||||
path: /spec/listeners/-
|
||||
value:
|
||||
name: outline
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "outline.jsme.be"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: outline
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: outline-tls
|
||||
namespace: envoy-gateway
|
||||
@@ -0,0 +1,19 @@
|
||||
- op: add
|
||||
path: /spec/listeners/-
|
||||
value:
|
||||
name: outline
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "outline.jsme.be"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: outline
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: outline-tls
|
||||
namespace: envoy-gateway
|
||||
Reference in New Issue
Block a user