refactor(gitops): Align add-on and app directory names
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: telegram-autoregexbot
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: telegram-bot
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: k8s
|
||||
repoURL: https://github.com/santarl/telegram-autoregexbot
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: bentopdf
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: bentopdf
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/bentopdf
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: betterslcm
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: betterslcm
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: k8s
|
||||
repoURL: https://github.com/DK10WS/SLCM_APP.git
|
||||
targetRevision: web
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,44 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "4"
|
||||
name: garage-ui
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: garage
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
sources:
|
||||
- chart: garage-ui
|
||||
repoURL: https://helm.noste.dev/
|
||||
targetRevision: 0.12.1
|
||||
helm:
|
||||
values: |
|
||||
config:
|
||||
server:
|
||||
domain: garage.whyredfire.dev
|
||||
protocol: https
|
||||
root_url: https://garage.whyredfire.dev
|
||||
garage:
|
||||
admin_endpoint: http://garage-admin:3903
|
||||
existingSecret:
|
||||
name: garage-ui-secrets
|
||||
auth:
|
||||
admin:
|
||||
enabled: false
|
||||
jwt_private_key_secret:
|
||||
name: garage-ui-secrets
|
||||
cors:
|
||||
enabled: false
|
||||
- path: apps/garage-ui
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,90 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: garage
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: garage
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://git.deuxfleurs.fr/Deuxfleurs/garage.git
|
||||
targetRevision: v2.4.1
|
||||
path: script/helm/garage
|
||||
helm:
|
||||
values: |
|
||||
garage:
|
||||
singleNode: true
|
||||
existingRpcSecret: garage-secrets
|
||||
noClusterRole: true
|
||||
# No discovery is needed for a single node.
|
||||
garageTomlString: |
|
||||
metadata_dir = "/mnt/meta"
|
||||
data_dir = "/mnt/data"
|
||||
db_engine = "sqlite"
|
||||
metadata_fsync = true
|
||||
data_fsync = true
|
||||
replication_factor = 1
|
||||
rpc_bind_addr = "127.0.0.1:3901"
|
||||
rpc_public_addr = "127.0.0.1:3901"
|
||||
rpc_secret = "__RPC_SECRET_REPLACE__"
|
||||
|
||||
[s3_api]
|
||||
s3_region = "garage"
|
||||
api_bind_addr = "0.0.0.0:3900"
|
||||
|
||||
[s3_web]
|
||||
bind_addr = "0.0.0.0:3902"
|
||||
# Required; a bucket's full name also works as the Host
|
||||
root_domain = ".web.garage.internal"
|
||||
index = "index.html"
|
||||
|
||||
[admin]
|
||||
api_bind_addr = "0.0.0.0:3903"
|
||||
metrics_require_token = true
|
||||
image:
|
||||
repository: dxflrs/garage
|
||||
initImage:
|
||||
tag: "1.37.0"
|
||||
persistence:
|
||||
meta:
|
||||
storageClass: local-path
|
||||
size: 1Gi
|
||||
data:
|
||||
storageClass: local-path
|
||||
size: 9Gi
|
||||
podSecurityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: admin
|
||||
timeoutSeconds: 3
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: s3-api
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
- path: apps/garage
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,42 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: jellyfin
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: jellyfin
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
sources:
|
||||
- chart: jellyfin
|
||||
helm:
|
||||
values: |
|
||||
image:
|
||||
tag: "12.0"
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8096
|
||||
ingress:
|
||||
enabled: false
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
size: 2Gi
|
||||
media:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
hostPath: /srv/media
|
||||
repoURL: https://jellyfin.github.io/jellyfin-helm
|
||||
targetRevision: 3.2.0
|
||||
- path: apps/jellyfin
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- bentopdf.yaml
|
||||
- betterslcm.yaml
|
||||
- garage.yaml
|
||||
- garage-ui.yaml
|
||||
- jellyfin.yaml
|
||||
- legislative-summarization.yaml
|
||||
- qbit.yaml
|
||||
- redoost.yaml
|
||||
- rustbin.yaml
|
||||
- scriptscribe.yaml
|
||||
- wireguard.yaml
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: legislative-summarization
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: legislative-summarization
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: k8s
|
||||
repoURL: https://github.com/whyredfire/legislative-summarization
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: qbit
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: qbit
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/qbit
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,63 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: redoost
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: redoost
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://github.com/whyredfire/redoost.git
|
||||
targetRevision: main
|
||||
path: chart
|
||||
helm:
|
||||
values: |
|
||||
appOrigin: https://redoost.whyredfire.dev
|
||||
sitesOrigin: https://whyredfire.dpdns.org
|
||||
httpRoute:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "2"
|
||||
app:
|
||||
parentRefs:
|
||||
- kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
sectionName: websecure
|
||||
sites:
|
||||
parentRefs:
|
||||
- kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
sectionName: websecure-dpdns
|
||||
s3:
|
||||
endpoint: http://garage.garage.svc.cluster.local:3900
|
||||
publicEndpoint: https://s3.whyredfire.dev
|
||||
websiteUpstream: garage.garage.svc.cluster.local:3902
|
||||
bucket: redoost-sites
|
||||
existingSecret: redoost-s3
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
gateway:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: traefik
|
||||
s3:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: garage
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: garage
|
||||
- path: apps/redoost
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: rustbin
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: rustbin
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/rustbin
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: scriptscribe
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: scriptscribe
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: k8s
|
||||
repoURL: https://github.com/whyredfire/scriptscribe
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: splitpro
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: splitpro
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/splitpro
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
name: wireguard
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: wireguard
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/wireguard
|
||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user