Stage Pixelfed and Loops chart adoption
This commit is contained in:
1 parent
e069ecf8c3
commit
3a9ae13de1
9 files changed
+151
No files matched your search
@@ -0,0 +1,8 @@
|
||||
apiVersion: ceph.rook.io/v1
|
||||
kind: CephObjectStoreUser
|
||||
metadata:
|
||||
name: loops
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
store: my-store
|
||||
displayName: Loops media
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ceph-object-user.yaml
|
||||
@@ -0,0 +1,36 @@
|
||||
domain: loops.brunner.ninja
|
||||
runtimeSecret: loops-runtime
|
||||
mysql:
|
||||
authSecret: mysql-auth
|
||||
storageClass: rook-ceph-block-ec
|
||||
storageSize: 30Gi
|
||||
valkey:
|
||||
authSecret: valkey-auth
|
||||
storageClass: rook-ceph-block-ec
|
||||
storageSize: 5Gi
|
||||
persistence:
|
||||
storageClass: rook-cephfs-ec
|
||||
storageSize: 10Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
name: loops-brunner-ninja
|
||||
entryPoint: websecure
|
||||
transcoder:
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: arschrock
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
config:
|
||||
APP_URL: "https://loops.brunner.ninja"
|
||||
AWS_DEFAULT_REGION: "keller"
|
||||
AWS_ENDPOINT: "http://rook-ceph-rgw-my-store.rook-ceph.svc.cluster.local"
|
||||
AWS_URL: "https://s3.brunner.ninja/loops"
|
||||
LOOPS_ADMIN_MAILS_TO: "daniel@brunner.ninja"
|
||||
LOOPS_EMAILS_DMCA: "daniel@brunner.ninja"
|
||||
LOOPS_EMAILS_SUPPORT: "daniel@brunner.ninja"
|
||||
LOOPS_LOCAL_DOMAINS: "social.brunner.ninja,pixels.brunner.ninja"
|
||||
MAIL_FROM_ADDRESS: "loops@brunner.ninja"
|
||||
MAIL_HOST: "smtp-relay.gmail.com"
|
||||
SESSION_DOMAIN: "loops.brunner.ninja"
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: ceph.rook.io/v1
|
||||
kind: CephObjectStoreUser
|
||||
metadata:
|
||||
name: pixelfed
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
store: my-store
|
||||
displayName: Pixelfed media
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ceph-object-user.yaml
|
||||
@@ -0,0 +1,31 @@
|
||||
domain: pixels.brunner.ninja
|
||||
runtimeSecret: pixelfed-runtime
|
||||
mysql:
|
||||
authSecret: mysql-auth
|
||||
storageClass: rook-ceph-block-ec
|
||||
storageSize: 20Gi
|
||||
valkey:
|
||||
authSecret: valkey-auth
|
||||
storageClass: rook-ceph-block-ec
|
||||
storageSize: 5Gi
|
||||
persistence:
|
||||
storageClass: rook-cephfs-ec
|
||||
storageSize: 5Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
name: pixels-brunner-ninja
|
||||
entryPoint: websecure
|
||||
config:
|
||||
ADMIN_DOMAIN: "pixels.brunner.ninja"
|
||||
APP_DOMAIN: "pixels.brunner.ninja"
|
||||
APP_URL: "https://pixels.brunner.ninja"
|
||||
AWS_DEFAULT_REGION: "keller"
|
||||
AWS_ENDPOINT: "http://rook-ceph-rgw-my-store.rook-ceph.svc.cluster.local"
|
||||
AWS_URL: "https://s3.brunner.ninja/pixelfed"
|
||||
MAIL_FROM_ADDRESS: "pixelfed@brunner.ninja"
|
||||
MAIL_HOST: "smtp-relay.gmail.com"
|
||||
PF_OIDC_AUTHORIZE_URL: "https://auth.brunner.ninja/application/o/authorize/"
|
||||
PF_OIDC_LOGOUT_URL: "https://auth.brunner.ninja/application/o/pixels/end-session/"
|
||||
PF_OIDC_PROFILE_URL: "https://auth.brunner.ninja/application/o/userinfo/"
|
||||
PF_OIDC_TOKEN_URL: "https://auth.brunner.ninja/application/o/token/"
|
||||
SESSION_DOMAIN: "pixels.brunner.ninja"
|
||||
@@ -100,6 +100,8 @@ resources:
|
||||
- nextcloud.yaml
|
||||
- fediverse-project.yaml
|
||||
- mastodon-postgresql.yaml
|
||||
- pixelfed.yaml
|
||||
- loops.yaml
|
||||
- nextcloud-whiteboard.yaml
|
||||
- nextcloud-talk-hpb.yaml
|
||||
- nextcloud-clamav.yaml
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: loops
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: fediverse
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: loops
|
||||
targetRevision: 0.0.0-f614b34f
|
||||
helm:
|
||||
releaseName: loops
|
||||
valueFiles:
|
||||
- $values/apps/loops/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/loops/resources
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: loops
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -0,0 +1,29 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: pixelfed
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: fediverse
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: pixelfed
|
||||
targetRevision: 0.15.1
|
||||
helm:
|
||||
releaseName: pixelfed
|
||||
valueFiles:
|
||||
- $values/apps/pixelfed/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/pixelfed/resources
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: pixelfed
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
Reference in new issue
Block a user