Merge pull request #238 from 3dwardch3ng/app/jellyfin

App/jellyfin
This commit is contained in:
2024-06-19 15:34:10 +10:00
committed by GitHub
5 changed files with 21 additions and 22 deletions

View File

@@ -12,6 +12,7 @@ resources:
- ./namespaces/prometheus-operator.yaml
- ./namespaces/snippet-box.yaml
- ./namespaces/uptime-kuma.yaml
- ./namespaces.yaml
- ./repositories/repositories.yaml
# - ./cilium/cilium.yaml
- ./ingress-nginx/ingress-nginx-config.yaml

View File

@@ -0,0 +1,16 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: namespaces
namespace: flux-system
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
path: ./kubernetes/infrastructure/namespaces
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: flux-system

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: jellyfin

View File

@@ -1,12 +0,0 @@
#!/usr/bin/bash
set -e
filePath=$1
AGE_PUB_KEY"age1d47q8mlty404pxx378q49hr93aqexca4mkeqtdm00w4gjd09xd0qhxcdcz"
sops --age=$AGE_PUB_KEY --encrypt --encrypted-regex '^(data|stringData)$' --in-place $filePath
echo "File encrypted: $filePath."
git add $filePath
git commit -am "Encrypt file $filePath by Age."

View File

@@ -1,10 +0,0 @@
#!/usr/bin/bash
set -e
filePath=$1
sops --encrypt --in-place $filePath
echo "File encrypted: $filePath."
git add $filePath
git commit -am "Encrypt file $filePath by GPG."