Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c07d967a4 | ||
|
|
7d001e81c2 | ||
|
|
0f3c329066 | ||
|
|
607c6855ea |
@@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: cert-manager
|
name: cert-manager
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: cnpg
|
name: cnpg
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "0"
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: sealed-secrets
|
name: sealed-secrets
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "0"
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
|
|||||||
@@ -3,39 +3,44 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: traefik
|
name: traefik
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
sources:
|
||||||
repoURL: https://traefik.github.io/charts
|
- repoURL: https://traefik.github.io/charts
|
||||||
chart: traefik
|
chart: traefik
|
||||||
targetRevision: v39.0.2
|
targetRevision: v39.0.2
|
||||||
helm:
|
helm:
|
||||||
values: |
|
values: |
|
||||||
providers:
|
providers:
|
||||||
kubernetesGateway:
|
kubernetesGateway:
|
||||||
enabled: true
|
enabled: true
|
||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
enabled: false
|
enabled: false
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
externalIPs:
|
externalIPs:
|
||||||
- 192.168.2.5
|
- 192.168.2.5
|
||||||
gateway:
|
gateway:
|
||||||
listeners:
|
listeners:
|
||||||
web:
|
web:
|
||||||
namespacePolicy:
|
namespacePolicy:
|
||||||
from: All
|
from: All
|
||||||
websecure:
|
websecure:
|
||||||
port: 8443
|
port: 8443
|
||||||
protocol: HTTPS
|
protocol: HTTPS
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
hostname: "*.whyredfire.dev"
|
hostname: "*.whyredfire.dev"
|
||||||
namespacePolicy:
|
namespacePolicy:
|
||||||
from: All
|
from: All
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: wildcard-whyredfire-dev
|
name: wildcard-whyredfire-dev
|
||||||
group: ""
|
group: ""
|
||||||
|
- repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||||
|
targetRevision: main
|
||||||
|
path: extras/add-ons/traefik
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
|
|||||||
@@ -15,3 +15,4 @@ resources:
|
|||||||
- services/app-scriptscribe.yaml
|
- services/app-scriptscribe.yaml
|
||||||
- services/app-seaweedfs.yaml
|
- services/app-seaweedfs.yaml
|
||||||
- services/app-qbit.yaml
|
- services/app-qbit.yaml
|
||||||
|
- services/app-stirling-pdf.yaml
|
||||||
|
|||||||
@@ -3,12 +3,14 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: argocd-repos
|
name: argocd-repos
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: add-ons/argocd-repos
|
path: extras/add-ons/argocd-repos
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: telegram-autoregexbot
|
name: telegram-autoregexbot
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: betterslcm
|
name: betterslcm
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: legislative-summarization
|
name: legislative-summarization
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: qbit
|
name: qbit
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: scriptscribe
|
name: scriptscribe
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1
|
|||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: seaweedfs
|
name: seaweedfs
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: stirling-pdf
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://docs.stirlingpdf.com/Stirling-PDF-chart
|
||||||
|
chart: stirling-pdf-chart
|
||||||
|
targetRevision: "3.1.0"
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
fullnameOverride: stirling-pdf
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
size: 512Mi
|
||||||
|
deployment:
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: storage-volume
|
||||||
|
mountPath: /configs
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
initialDelaySeconds: 90
|
||||||
|
readiness:
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
- repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||||
|
targetRevision: main
|
||||||
|
path: extras/services/stirling-pdf
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: stirling-pdf
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: argocd-cm
|
||||||
|
data:
|
||||||
|
resource.customizations.health.argoproj.io_Application: |
|
||||||
|
hs = {}
|
||||||
|
hs.status = "Progressing"
|
||||||
|
hs.message = ""
|
||||||
|
if obj.status ~= nil then
|
||||||
|
if obj.status.health ~= nil then
|
||||||
|
hs.status = obj.status.health.status
|
||||||
|
if obj.status.health.message ~= nil then
|
||||||
|
hs.message = obj.status.health.message
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return hs
|
||||||
@@ -9,3 +9,7 @@ patches:
|
|||||||
kind: Service
|
kind: Service
|
||||||
name: argocd-server
|
name: argocd-server
|
||||||
path: argocd-server-nodeport-patch.yaml
|
path: argocd-server-nodeport-patch.yaml
|
||||||
|
- target:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: argocd-cm
|
||||||
|
path: argocd-cm-application-health-patch.yaml
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ apiVersion: cert-manager.io/v1
|
|||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: letsencrypt-prod
|
name: letsencrypt-prod
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
acme:
|
acme:
|
||||||
server: https://acme-v02.api.letsencrypt.org/directory
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: HTTPRoute
|
|||||||
metadata:
|
metadata:
|
||||||
name: jellyfin-local
|
name: jellyfin-local
|
||||||
namespace: jellyfin
|
namespace: jellyfin
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: traefik-gateway
|
- name: traefik-gateway
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: HTTPRoute
|
|||||||
metadata:
|
metadata:
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
namespace: jellyfin
|
namespace: jellyfin
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: traefik-gateway
|
- name: traefik-gateway
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: HTTPRoute
|
|||||||
metadata:
|
metadata:
|
||||||
name: seaweedfs-filer
|
name: seaweedfs-filer
|
||||||
namespace: seaweedfs
|
namespace: seaweedfs
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- group: gateway.networking.k8s.io
|
- group: gateway.networking.k8s.io
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: HTTPRoute
|
|||||||
metadata:
|
metadata:
|
||||||
name: seaweedfs-master
|
name: seaweedfs-master
|
||||||
namespace: seaweedfs
|
namespace: seaweedfs
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- group: gateway.networking.k8s.io
|
- group: gateway.networking.k8s.io
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: stirling-pdf
|
||||||
|
namespace: stirling-pdf
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- name: traefik-gateway
|
||||||
|
namespace: traefik
|
||||||
|
kind: Gateway
|
||||||
|
sectionName: websecure
|
||||||
|
hostnames:
|
||||||
|
- pdf.whyredfire.dev
|
||||||
|
rules:
|
||||||
|
- matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /
|
||||||
|
backendRefs:
|
||||||
|
- name: stirling-pdf
|
||||||
|
port: 8080
|
||||||
|
|
||||||
Reference in New Issue
Block a user